pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/MagicStack/MagicPython/commit/9d40c7165cdd4d72129dafa29dced3e17c5b83bf

/> Add an `update-test` make target. · MagicStack/MagicPython@9d40c71 · GitHub
Skip to content

Commit 9d40c71

Browse files
committed
Add an update-test make target.
The `update-test` make target will automatically update the output of any test that failed. This kind of bulk update is intended to be used when the changes to scopes affect a large number of files. Of course, the actual updated tests should still be reviewed for correctness.
1 parent 076e2bb commit 9d40c71

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ ci-test: release
1515
] ; \
1616
then echo "Error: package.version != git.tag" && exit 1 ; fi
1717

18+
update-test:
19+
# Run tests and overwrite the output
20+
./node_modules/.bin/syntaxdev test --tests test/**/*.py --syntax grammars/src/MagicPython.syntax.yaml --overwrite-tests
21+
./node_modules/.bin/syntaxdev test --tests test/**/*.re --syntax grammars/src/MagicRegExp.syntax.yaml --overwrite-tests
22+
1823
test: ci-test
1924
atom -t test/atom-spec
2025

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy