File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11.PHONY : test
22test :
33 @if command -v jag > /dev/null 2>&1 ; then \
4- find tests -type f \( -name ' *_test.toit' -o -name ' *.test.toit' \) -exec sh -c ' echo Running {} && jag run --device host {}' \; ; \
4+ find tests -type d -name ' .packages ' -prune -o -type f \( -name ' *_test.toit' -o -name ' *.test.toit' \) -exec sh -c ' echo Running {} && jag run --device host {}' \; ; \
55 elif command -v toit.run > /dev/null 2>&1 ; then \
6- find tests -type f \( -name ' *_test.toit' -o -name ' *.test.toit' \) -exec sh -c ' echo Running {} && toit.run {}' \; ; \
6+ find tests -type d -name ' .packages ' -prune -o -type f \( -name ' *_test.toit' -o -name ' *.test.toit' \) -exec sh -c ' echo Running {} && toit.run {}' \; ; \
77 else \
88 echo " Error: Neither 'jag' nor 'toit.run' found in PATH" ; \
99 exit 1; \
You can’t perform that action at this time.
0 commit comments