diff --git a/lib/modules/Protocols.pmod/WebSocket.test b/lib/modules/Protocols.pmod/WebSocket.test index c587c321c2ec57be56ebbc288caeff37a0c7a457..162b4bd8d7adbdd7a6427258781d9da226e79989 100644 --- a/lib/modules/Protocols.pmod/WebSocket.test +++ b/lib/modules/Protocols.pmod/WebSocket.test @@ -3,6 +3,8 @@ // WebSocket testsuite // +#if constant(Thread.Thread) + constant loopback = "127.0.0.1"; int successes; @@ -306,3 +308,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