mirror of https://github.com/status-im/evmc.git
CMake: Rename evmc-test to evmc-unittests
This commit is contained in:
parent
ea4bf5ccb1
commit
61542e0444
|
@ -20,5 +20,5 @@ install:
|
|||
- cmake --build . --config Release --target install
|
||||
|
||||
script:
|
||||
- test/Release/evmc-test.exe
|
||||
- test/Release/evmc-unittests.exe
|
||||
- $HOME/bin/evmc-vmtester.exe $HOME/bin/evmc-example-vm.dll
|
||||
|
|
|
@ -55,6 +55,6 @@ after_build:
|
|||
- ps: >-
|
||||
if ($env:GENERATOR) {
|
||||
cd C:\projects\evmc\build\test
|
||||
Release\evmc-test.exe
|
||||
Release\evmc-unittests.exe
|
||||
C:\install\bin\evmc-vmtester.exe C:\install\bin\evmc-example-vm.dll
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@ jobs:
|
|||
- run:
|
||||
name: "Unit tests"
|
||||
working_directory: ~/build/test
|
||||
command: ./evmc-test
|
||||
command: ./evmc-unittests
|
||||
- run:
|
||||
name: "Test"
|
||||
command: cmake --build ~/build --target test
|
||||
|
|
|
@ -7,7 +7,7 @@ target_link_libraries(loader-mocked PRIVATE evmc)
|
|||
target_compile_definitions(loader-mocked PRIVATE EVMC_LOADER_MOCK=1)
|
||||
|
||||
add_executable(
|
||||
evmc-test
|
||||
evmc-unittests
|
||||
loader_mock.h
|
||||
test_cpp.cpp
|
||||
test_helpers.cpp
|
||||
|
@ -15,5 +15,5 @@ add_executable(
|
|||
test_loader.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(evmc-test PRIVATE loader-mocked evmc-example-vm-static evmc-example-host instructions GTest::gtest GTest::main)
|
||||
set_target_properties(evmc-test PROPERTIES RUNTIME_OUTPUT_DIRECTORY ..)
|
||||
target_link_libraries(evmc-unittests PRIVATE loader-mocked evmc-example-vm-static evmc-example-host instructions GTest::gtest GTest::main)
|
||||
set_target_properties(evmc-unittests PROPERTIES RUNTIME_OUTPUT_DIRECTORY ..)
|
||||
|
|
Loading…
Reference in New Issue