diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2021-11-05 02:58:28 +0330 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-11 09:20:04 +0100 |
commit | d0ad7efd9be196418aa8275b979898915cddd32d (patch) | |
tree | 757490fcd43505109267a910cfaa496cd60343ca | |
parent | c2340a1b1f4f9b2ec81b325fcea0023b7d5e839c (diff) | |
download | serenity-d0ad7efd9be196418aa8275b979898915cddd32d.zip |
Meta: Update WebAssembly testsuite branch name
The 'master' branch is no longer updated, they've switched to 'main'.
-rw-r--r-- | Meta/CMake/wasm_spec_tests.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Meta/CMake/wasm_spec_tests.cmake b/Meta/CMake/wasm_spec_tests.cmake index 864d2bca1f..6b90373ecf 100644 --- a/Meta/CMake/wasm_spec_tests.cmake +++ b/Meta/CMake/wasm_spec_tests.cmake @@ -4,7 +4,7 @@ if(INCLUDE_WASM_SPEC_TESTS) else() set(SOURCE_DIR "${SERENITY_PROJECT_ROOT}") endif() - set(WASM_SPEC_TEST_GZ_URL https://github.com/WebAssembly/testsuite/archive/refs/heads/master.tar.gz) + set(WASM_SPEC_TEST_GZ_URL https://github.com/WebAssembly/testsuite/archive/refs/heads/main.tar.gz) set(WASM_SPEC_TEST_GZ_PATH ${CMAKE_BINARY_DIR}/wasm-spec-testsuite.tar.gz) set(WASM_SPEC_TEST_TAR_PATH ${CMAKE_BINARY_DIR}/wasm-spec-testsuite.tar) set(WASM_SPEC_TEST_PATH ${SOURCE_DIR}/Userland/Libraries/LibWasm/Tests/Fixtures/SpecTests) @@ -25,7 +25,7 @@ if(INCLUDE_WASM_SPEC_TESTS) execute_process(COMMAND gzip -k -d ${WASM_SPEC_TEST_GZ_PATH}) execute_process(COMMAND tar -xf ${WASM_SPEC_TEST_TAR_PATH}) execute_process(COMMAND rm ${WASM_SPEC_TEST_TAR_PATH}) - file(GLOB WASM_TESTS "${CMAKE_BINARY_DIR}/testsuite-master/*.wast") + file(GLOB WASM_TESTS "${CMAKE_BINARY_DIR}/testsuite-main/*.wast") foreach(PATH ${WASM_TESTS}) get_filename_component(NAME ${PATH} NAME_WLE) message(STATUS "Generating test cases for WebAssembly test ${NAME}...") @@ -37,6 +37,6 @@ if(INCLUDE_WASM_SPEC_TESTS) execute_process( COMMAND env SKIP_PRETTIER=${SKIP_PRETTIER} bash ${SOURCE_DIR}/Meta/generate-libwasm-spec-test.sh "${PATH}" "${SOURCE_DIR}/Userland/Libraries/LibWasm/Tests/Spec" "${NAME}" "${WASM_SPEC_TEST_PATH}") endforeach() - file(REMOVE testsuite-master) + file(REMOVE testsuite-main) endif() endif() |