diff --git a/cmake/targets/BuildMimalloc.cmake b/cmake/targets/BuildMimalloc.cmake index 3fb00d60a7..7f4e6167f8 100644 --- a/cmake/targets/BuildMimalloc.cmake +++ b/cmake/targets/BuildMimalloc.cmake @@ -64,6 +64,12 @@ if(ENABLE_VALGRIND) list(APPEND MIMALLOC_CMAKE_ARGS -DMI_VALGRIND=ON) endif() +# Enable SIMD optimizations when not building for baseline (older CPUs) +if(NOT ENABLE_BASELINE) + list(APPEND MIMALLOC_CMAKE_ARGS -DMI_OPT_ARCH=ON) + list(APPEND MIMALLOC_CMAKE_ARGS -DMI_OPT_SIMD=ON) +endif() + if(DEBUG) if (ENABLE_ASAN) set(MIMALLOC_LIBRARY mimalloc-asan-debug) diff --git a/scripts/runner.node.mjs b/scripts/runner.node.mjs index aa514ba8d1..40cb6a2d76 100755 --- a/scripts/runner.node.mjs +++ b/scripts/runner.node.mjs @@ -82,6 +82,10 @@ function getNodeParallelTestTimeout(testPath) { return 10_000; } +process.on("SIGTRAP", () => { + console.warn("Test runner received SIGTRAP. Doing nothing."); +}); + const { values: options, positionals: filters } = parseArgs({ allowPositionals: true, options: { diff --git a/test/no-validate-exceptions.txt b/test/no-validate-exceptions.txt index 8bdb9db4ee..f71a243667 100644 --- a/test/no-validate-exceptions.txt +++ b/test/no-validate-exceptions.txt @@ -270,22 +270,38 @@ test/napi/node-napi-tests/test/js-native-api/test_conversions/do.test.ts test/napi/node-napi-tests/test/js-native-api/test_dataview/do.test.ts test/napi/node-napi-tests/test/js-native-api/test_date/do.test.ts test/napi/node-napi-tests/test/js-native-api/test_error/do.test.ts +test/napi/node-napi-tests/test/js-native-api/test_exception/do.test.ts +test/napi/node-napi-tests/test/js-native-api/test_finalizer/do.test.ts test/napi/node-napi-tests/test/js-native-api/test_function/do.test.ts +test/napi/node-napi-tests/test/js-native-api/test_general/do.test.ts test/napi/node-napi-tests/test/js-native-api/test_handle_scope/do.test.ts test/napi/node-napi-tests/test/js-native-api/test_instance_data/do.test.ts test/napi/node-napi-tests/test/js-native-api/test_new_target/do.test.ts test/napi/node-napi-tests/test/js-native-api/test_number/do.test.ts test/napi/node-napi-tests/test/js-native-api/test_object/do.test.ts test/napi/node-napi-tests/test/js-native-api/test_promise/do.test.ts +test/napi/node-napi-tests/test/js-native-api/test_properties/do.test.ts +test/napi/node-napi-tests/test/js-native-api/test_reference/do.test.ts test/napi/node-napi-tests/test/js-native-api/test_reference_double_free/do.test.ts +test/napi/node-napi-tests/test/js-native-api/test_string/do.test.ts test/napi/node-napi-tests/test/js-native-api/test_symbol/do.test.ts test/napi/node-napi-tests/test/js-native-api/test_typedarray/do.test.ts test/napi/node-napi-tests/test/node-api/1_hello_world/do.test.ts test/napi/node-napi-tests/test/node-api/test_async/do.test.ts +test/napi/node-napi-tests/test/node-api/test_buffer/do.test.ts +test/napi/node-napi-tests/test/node-api/test_callback_scope/do.test.ts test/napi/node-napi-tests/test/node-api/test_cleanup_hook/do.test.ts test/napi/node-napi-tests/test/node-api/test_exception/do.test.ts +test/napi/node-napi-tests/test/node-api/test_fatal/do.test.ts test/napi/node-napi-tests/test/node-api/test_fatal_exception/do.test.ts +test/napi/node-napi-tests/test/node-api/test_general/do.test.ts +test/napi/node-napi-tests/test/node-api/test_init_order/do.test.ts +test/napi/node-napi-tests/test/node-api/test_instance_data/do.test.ts +test/napi/node-napi-tests/test/node-api/test_make_callback/do.test.ts +test/napi/node-napi-tests/test/node-api/test_make_callback_recurse/do.test.ts +test/napi/node-napi-tests/test/node-api/test_threadsafe_function/do.test.ts test/napi/node-napi-tests/test/node-api/test_worker_terminate_finalization/do.test.ts +test/napi/node-napi-tests/test/node-api/test_reference_by_node_api_version/do.test.ts # normalizeCryptoAlgorithmParameters test/js/node/test/parallel/test-webcrypto-derivekey.js