Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a special gulp xfatest command, to limit the ref-tests to only XFA-documents (issue 13744) #13846

Merged
merged 1 commit into from
Aug 3, 2021

Conversation

Snuffleupagus
Copy link
Collaborator

The new command is a variation of the standard gulp test command and will run all unit/font/integration-tests just as normal, while only running ref-tests for XFA-documents to speed up development.
Given that we currently have (some) unit-tests for XFA-documents, and that we may also (in the future) want to add integration-tests, it thus makes sense to run all test-suites in my opinion.

Please note: Once this patch has landed, I'll submit a follow-up patch to https://github.com/mozilla/botio-files-pdfjs such that we can also run the new command on the bots.

@Snuffleupagus Snuffleupagus linked an issue Aug 2, 2021 that may be closed by this pull request
@Snuffleupagus Snuffleupagus changed the title Add a special gulp test-xfa command, to limit the ref-tests to only XFA-documents (issue 13744) Add a special gulp xfatest command, to limit the ref-tests to only XFA-documents (issue 13744) Aug 3, 2021
Snuffleupagus added a commit to Snuffleupagus/botio-files-pdfjs that referenced this pull request Aug 3, 2021
Snuffleupagus added a commit to Snuffleupagus/botio-files-pdfjs that referenced this pull request Aug 3, 2021
gulpfile.js Show resolved Hide resolved
test/test.js Outdated Show resolved Hide resolved
…XFA-documents (issue 13744)

The new command is a *variation* of the standard `gulp test` command and will run all unit/font/integration-tests just as normal, while *only* running ref-tests for XFA-documents to speed up development.
Given that we currently have (some) unit-tests for XFA-documents, and that we may also (in the future) want to add integration-tests, it thus makes sense to run all test-suites in my opinion.

*Please note:* Once this patch has landed, I'll submit a follow-up patch to https://github.com/mozilla/botio-files-pdfjs such that we can also run the new command on the bots.
@timvandermeij timvandermeij merged commit b317e93 into mozilla:master Aug 3, 2021
@timvandermeij
Copy link
Contributor

Nice work!

@Snuffleupagus Snuffleupagus deleted the test-xfa branch August 3, 2021 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make it possible to run xfa reftests exclusively
2 participants