THRIFT-2167 nodejs lib throws error if options argument isn't passed
Client: nodejs
Patch: Randy Abernethy and Red Daly
also add examples to test makefile
diff --git a/test/nodejs/Makefile.am b/test/nodejs/Makefile.am
index ab9a554..a8c10aa 100755
--- a/test/nodejs/Makefile.am
+++ b/test/nodejs/Makefile.am
@@ -30,12 +30,14 @@
echo " Testing Client/Server"; \
timeout -s14 5 $(MAKE) server & \
sleep 1; $(MAKE) client; sleep 2; \
- fi
-
- @if which node &> /dev/null ; then \
+ \
echo " Testing Multiplex Client/Server"; \
sleep 4; timeout -s14 5 $(MAKE) mserver & \
sleep 1; $(MAKE) mclient; sleep 2; \
+ \
+ echo " Testing Client/Server examples"; \
+ sleep 4; timeout -s14 5 $(MAKE) -C ../../lib/nodejs/examples server & \
+ sleep 1; $(MAKE) -C ../../lib/nodejs/examples client; sleep 2; \
fi
clean-local: