aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_rng.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_rng.cpp')
-rw-r--r--src/tests/test_rng.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/test_rng.cpp b/src/tests/test_rng.cpp
index a7a83134f..0b316335e 100644
--- a/src/tests/test_rng.cpp
+++ b/src/tests/test_rng.cpp
@@ -296,7 +296,11 @@ class Stateful_RNG_Tests : public Test
pid_t pid = ::fork();
if(pid == -1)
{
+#if defined(BOTAN_TARGET_OS_IS_EMSCRIPTEN)
+ result.test_note("failed to fork process");
+#else
result.test_failure("failed to fork process");
+#endif
return result;
}
else if(pid != 0)