Truly independent web browser
Tests: Run the test runners that use every core on their own
Shannon Booth884929b8374f
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txtindex 6fda99940db..dacc1cc890b 100644--- a/Tests/CMakeLists.txt+++ b/Tests/CMakeLists.txt@@ -91,6 +91,8 @@ if (NOT WIN32)add_test(NAME RustWorkspace COMMAND ${rust_workspace_test_command})add_test(NAME Flap COMMAND ${flap_test_command})+ # cargo test already uses every core.+ set_tests_properties(RustWorkspace Flap PROPERTIES RUN_SERIAL TRUE)endif()if (ENABLE_GUI_TARGETS)diff --git a/Tests/LibJS/CMakeLists.txt b/Tests/LibJS/CMakeLists.txtindex d69769f3a54..ae74fa55f2f 100644--- a/Tests/LibJS/CMakeLists.txt+++ b/Tests/LibJS/CMakeLists.txt@@ -12,7 +12,7 @@ add_custom_command()add_dependencies(test-js test-js-runtime test-js-script js)add_test(NAME test-js COMMAND test-js)-set_tests_properties(test-js PROPERTIES ENVIRONMENT "LADYBIRD_SOURCE_DIR=${LADYBIRD_SOURCE_DIR}")+set_tests_properties(test-js PROPERTIES ENVIRONMENT "LADYBIRD_SOURCE_DIR=${LADYBIRD_SOURCE_DIR}" RUN_SERIAL TRUE)# The JIT's tests: the runtime tests (each run three times, so that the functions they call get compiled with# feedback) and the programs in Tests/LibJS/JIT/programs, under the fast tier of JIT stress modes and compared with the@@ -25,6 +25,7 @@ if (ENABLE_JS_JIT)--modes fast --suites test-js,programs --results "${CMAKE_BINARY_DIR}/Testing/jit-matrix"--jobs ${logical_core_count})+ set_tests_properties(test-js-jit PROPERTIES RUN_SERIAL TRUE)add_test(NAME test-jit-irCOMMAND "${Python3_EXECUTABLE}" "${ladybird_SOURCE_DIR}/Tests/LibJS/JIT/irtest.py" --build "${CMAKE_BINARY_DIR}"diff --git a/Tests/LibWeb/test-web/CMakeLists.txt b/Tests/LibWeb/test-web/CMakeLists.txtindex 4422e5038ee..176d94086b9 100644--- a/Tests/LibWeb/test-web/CMakeLists.txt+++ b/Tests/LibWeb/test-web/CMakeLists.txt@@ -58,8 +58,10 @@ if (BUILD_TESTING)set_tests_properties(LibWeb PROPERTIESENVIRONMENT LADYBIRD_SOURCE_DIR=${LADYBIRD_SOURCE_DIR}+ RUN_SERIAL TRUETIMEOUT_SIGNAL_NAME SIGTERM)set_tests_properties(LibWebUIProcessSessionHistory PROPERTIESENVIRONMENT LADYBIRD_SOURCE_DIR=${LADYBIRD_SOURCE_DIR}+ RUN_SERIAL TRUETIMEOUT_SIGNAL_NAME SIGTERM)endif()