Add test code used to diagnose bug #37.

This commit is contained in:
David Baird
2014-11-13 08:43:07 -05:00
parent 5abf4a78bd
commit 4fe25a880f
4 changed files with 230 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
CXXFLAGS = -std=gnu++1y -Wall -I..
LDLIBS = -lstdc++
.PHONY: all clean
test: easywsclient.t
node testServer.js & sleep 1 && ./easywsclient.t
clean:
-rm easywsclient.t *.o
vpath %.cpp ../
vpath %.hpp ../
easywsclient.t: easywsclient.t.o easywsclient.o
easywsclient.o: easywsclient.cpp easywsclient.hpp