File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ add_subdirectory(smoketests)
3131add_subdirectory (spectests )
3232add_subdirectory (testfloat )
3333add_subdirectory (unittests )
34+ add_subdirectory (unittests_wasi )
3435
3536if (FIZZY_FUZZING)
3637 add_subdirectory (fuzzer )
Original file line number Diff line number Diff line change 55include (GoogleTest )
66
77add_executable (fizzy-unittests )
8- target_link_libraries (fizzy-unittests PRIVATE fizzy::fizzy-internal fizzy::wasi fizzy:: test-utils GTest::gtest_main GTest::gmock )
8+ target_link_libraries (fizzy-unittests PRIVATE fizzy::fizzy-internal fizzy::test-utils GTest::gtest_main GTest::gmock )
99
1010target_sources (
1111 fizzy-unittests PRIVATE
@@ -46,7 +46,6 @@ target_sources(
4646 validation_stack_type_test.cpp
4747 validation_test.cpp
4848 value_test.cpp
49- wasi_test.cpp
5049 wasm_engine_test.cpp
5150)
5251
Load diff This file was deleted.
Original file line number Diff line number Diff line change 1+ # Fizzy: A fast WebAssembly interpreter
2+ # Copyright 2019-2021 The Fizzy Authors.
3+ # SPDX-License-Identifier: Apache-2.0
4+
5+ include (GoogleTest )
6+
7+ add_executable (fizzy-unittests-wasi )
8+ target_link_libraries (fizzy-unittests-wasi PRIVATE fizzy::fizzy-internal fizzy::wasi fizzy::test-utils GTest::gtest_main GTest::gmock )
9+
10+ target_sources (
11+ fizzy-unittests-wasi PRIVATE
12+ wasi_test.cpp
13+ )
14+
15+ gtest_discover_tests (
16+ fizzy-unittests-wasi
17+ TEST_PREFIX ${PROJECT_NAME } /unittests_wasi/
18+ PROPERTIES ENVIRONMENT LLVM_PROFILE_FILE=${CMAKE_BINARY_DIR}/unittests-wasi-%p.profraw
19+ )
You can’t perform that action at this time.
0 commit comments