Skip to content

Commit fb5ae68

Browse files
committed
Renamed option to build unit tests
1 parent cfa3d4c commit fb5ae68

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

extension/wasm/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ target_include_directories(
5151
)
5252
target_link_libraries(executorch_wasm PUBLIC ${link_libraries})
5353

54-
if(BUILD_TESTING)
54+
if(EXECUTORCH_BUILD_WASM_TESTS)
5555
add_subdirectory(test)
5656
endif()

scripts/build_wasm_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ emcmake cmake . -DEXECUTORCH_BUILD_WASM=ON \
1515
-DEXECUTORCH_BUILD_EXTENSION_MODULE=ON \
1616
-DEXECUTORCH_BUILD_EXTENSION_TENSOR=ON \
1717
-DEXECUTORCH_BUILD_EXTENSION_RUNNER_UTIL=ON \
18-
-DBUILD_TESTING=ON \
18+
-DEXECUTORCH_BUILD_WASM_TESTS=ON \
1919
-DCMAKE_BUILD_TYPE=Release \
2020
-B"${CMAKE_OUT}"
2121

0 commit comments

Comments
 (0)