summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRyan <ry@tinyclouds.org>2009-06-16 19:32:31 +0200
committerRyan <ry@tinyclouds.org>2009-06-16 19:32:31 +0200
commit40ee85242532b81dce7b64ed7e2357ca3a98cbc5 (patch)
treeedfea3a178638853180f8d18e7bcf876b68a8709 /configure
parent193283bc381ff7b798e7bf5dff7d0a11e55e0b40 (diff)
downloadnode-new-40ee85242532b81dce7b64ed7e2357ca3a98cbc5.tar.gz
Only run debug tests if the build debug was built
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 6 insertions, 4 deletions
diff --git a/configure b/configure
index e07d7f7740..11d4ce01e7 100755
--- a/configure
+++ b/configure
@@ -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: