CMake: Rename evmc-test to evmc-unittests

This commit is contained in:
Paweł Bylica 2019-04-02 12:36:08 +02:00
parent ea4bf5ccb1
commit 61542e0444
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
4 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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
}

View File

@ -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

View File

@ -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 ..)