Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan <ry@tinyclouds.org>2009-06-16 21:32:31 +0400
committerRyan <ry@tinyclouds.org>2009-06-16 21:32:31 +0400
commit40ee85242532b81dce7b64ed7e2357ca3a98cbc5 (patch)
treeedfea3a178638853180f8d18e7bcf876b68a8709 /configure
parent193283bc381ff7b798e7bf5dff7d0a11e55e0b40 (diff)
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 e07d7f77403..11d4ce01e76 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: