From 61542e04449a959a6c8e81c43b0a6f33eacc816a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Tue, 2 Apr 2019 12:36:08 +0200 Subject: [PATCH] CMake: Rename evmc-test to evmc-unittests --- .travis.yml | 2 +- appveyor.yml | 2 +- circle.yml | 2 +- test/unittests/CMakeLists.txt | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 04d8dc2..49e1aea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/appveyor.yml b/appveyor.yml index 6a35abf..672b76d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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 } diff --git a/circle.yml b/circle.yml index 603db99..aec0fea 100644 --- a/circle.yml +++ b/circle.yml @@ -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 diff --git a/test/unittests/CMakeLists.txt b/test/unittests/CMakeLists.txt index 94ccc97..ddcc866 100644 --- a/test/unittests/CMakeLists.txt +++ b/test/unittests/CMakeLists.txt @@ -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 ..)