Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Only run debug tests if the build debug was built
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Jun 16, 2009
1 parent 193283b commit 40ee852
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions configure
Expand Up @@ -96,11 +96,13 @@ FAIL=python -c 'print("\033[1;31mFAIL\033[m")'
PASS=python -c 'print("\033[1;32mPASS\033[m")'
test: all
@for i in test/test*.js; do \\
echo "default \$\$i: "; \\
@for i in test/test*.js; do \\
echo "default \$\$i: "; \\
build/default/node \$\$i && \$(PASS) || \$(FAIL); \\
echo "debug \$\$i: "; \\
build/debug/node \$\$i && \$(PASS) || \$(FAIL); \\
if [ -e build/debug/node ]; then \\
echo "debug \$\$i: "; \\
build/debug/node \$\$i && \$(PASS) || \$(FAIL); \\
fi; \\
done
clean:
Expand Down

0 comments on commit 40ee852

Please sign in to comment.