Commit 9803bb1d authored by Marcus Comstedt's avatar Marcus Comstedt

Protocols.WebSocket: Skip WebSocket.test if no threads

parent e3d27568
......@@ -3,6 +3,8 @@
// WebSocket testsuite
//
#if constant(Thread.Thread)
constant loopback = "127.0.0.1";
int successes;
......@@ -312,3 +314,12 @@ int main(int argc, array(string) argv)
Thread.thread_create(run_tests);
return -1;
}
#else
int main(int argc, array(string) argv)
{
Tools.Testsuite.report_result(0, 0, 1);
}
#endif
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