summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/build_test.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/build_test.cpp b/test/build_test.cpp
index 8449ece..bcfef64 100644
--- a/test/build_test.cpp
+++ b/test/build_test.cpp
@@ -42,13 +42,17 @@ main()
} catch (const raul::Exception&) {
}
-#ifndef _WIN32
- const char* cmd[] = {"echo"};
+#if !defined(_WIN32) && !defined(__EMSCRIPTEN__)
+
+# if !defined(_FORTIFY_SOURCE)
+ const char* cmd[] = {"echo", NULL};
raul::Process::launch(cmd);
+# endif
const raul::Socket socket(raul::Socket::Type::UNIX);
(void)socket;
+
#endif
(void)array;