Commit 1987d024 authored by Alex Hultman's avatar Alex Hultman

Run native tests on Travis OS X

parent 6f1e963f
osx_image: xcode7.3
os:
- osx
script: cd nodejs && make targets && make
script: make && make install && make tests && time ./testsBin
......@@ -26,4 +26,4 @@ clean:
rm -f libuWS.dylib
.PHONY: tests
tests:
$(CXX) -std=c++11 tests/main.cpp -Isrc -o testsBin -lpthread -luWS -lssl -lcrypto -lz -luv
$(CXX) -std=c++11 -O3 tests/main.cpp -Isrc -o testsBin -lpthread -luWS -lssl -lcrypto -lz -luv
......@@ -1140,23 +1140,25 @@ int main(int argc, char *argv[])
testThreadSafety();
#endif
// performance tests (run without asan!)
testReceivePerformance();
// falls through
// These will run on Travis OS X
testHTTP();
testSmallSends();
testSendCallback();
testMultithreading();
testReusePort();
testStress();
testRouting();
testClosing();
testConnections();
testListening();
testBroadcast();
testMessageBatch();
testAutoPing();
// These are not working yet / not tested
#ifndef __APPLE__
testReceivePerformance();
testMultithreading();
testReusePort();
testStress();
testConnections();
#endif
//testAutobahn();
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment