Browse Source

Only run debug tests if the build debug was built

v0.7.4-release
Ryan 16 years ago
parent
commit
40ee852425
  1. 10
      configure

10
configure

@ -96,11 +96,13 @@ FAIL=python -c 'print("\033[1;31mFAIL\033[m")'
PASS=python -c 'print("\033[1;32mPASS\033[m")' PASS=python -c 'print("\033[1;32mPASS\033[m")'
test: all test: all
@for i in test/test*.js; do \\ @for i in test/test*.js; do \\
echo "default \$\$i: "; \\ echo "default \$\$i: "; \\
build/default/node \$\$i && \$(PASS) || \$(FAIL); \\ build/default/node \$\$i && \$(PASS) || \$(FAIL); \\
echo "debug \$\$i: "; \\ if [ -e build/debug/node ]; then \\
build/debug/node \$\$i && \$(PASS) || \$(FAIL); \\ echo "debug \$\$i: "; \\
build/debug/node \$\$i && \$(PASS) || \$(FAIL); \\
fi; \\
done done
clean: clean:

Loading…
Cancel
Save