Permalink
Browse files

Don't run UNIX tests by default.

  • Loading branch information...
1 parent 4dcf657 commit b5da99cc56b94feffb5c2122160ea24add4562c1 @pgriess committed Dec 5, 2010
Showing with 13 additions and 1 deletion.
  1. +13 −1 Makefile
View
@@ -1,8 +1,20 @@
# This makefile exists to help run tests.
+#
+# If TEST_UNIX is a non-empty value, runs tests for UNIX sockets. This
+# functionality is not in node-websocket-server at the moment.
.PHONY: test
+all: test test-unix
+
test:
- for f in `ls -1 test/test-*.js` ; do \
+ for f in `ls -1 test/test-*.js | grep -v unix` ; do \
node $$f ; \
done
+
+test-unix:
+ if [[ -n "$$TEST_UNIX" ]] ; then \
+ for f in `ls -1 test/test-*.js | grep unix` ; do \
+ node $$f ; \
+ done \
+ fi

0 comments on commit b5da99c

Please sign in to comment.