Rename vmtester to evmc-vmtester

This commit is contained in:
Paweł Bylica 2018-04-11 17:47:31 +02:00
parent ae6bcb177f
commit 379cea307c
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
1 changed files with 6 additions and 6 deletions

View File

@ -8,10 +8,10 @@ find_package(Boost CONFIG REQUIRED program_options filesystem system)
hunter_add_package(GTest)
find_package(GTest CONFIG REQUIRED)
add_executable(vmtester vmtester.hpp vmtester.cpp tests.cpp)
add_executable(evmc-vmtester vmtester.hpp vmtester.cpp tests.cpp)
target_link_libraries(
vmtester
evmc-vmtester
PRIVATE
evmc
GTest::gtest
@ -22,14 +22,14 @@ target_link_libraries(
)
add_test(NAME vmtester-help
COMMAND vmtester --help
COMMAND evmc-vmtester --help
)
set_tests_properties(vmtester-help PROPERTIES
PASS_REGULAR_EXPRESSION "Options:"
)
add_test(NAME vmtester-nonexistingvm
COMMAND vmtester nonexistingvm
COMMAND evmc-vmtester nonexistingvm
)
set_tests_properties(vmtester-nonexistingvm PROPERTIES
WILL_FAIL TRUE
@ -37,11 +37,11 @@ set_tests_properties(vmtester-nonexistingvm PROPERTIES
)
add_test(NAME vmtester-novm
COMMAND vmtester
COMMAND evmc-vmtester
)
set_tests_properties(vmtester-novm PROPERTIES
WILL_FAIL TRUE
FAIL_REGULAR_EXPRESSION "required but missing"
)
# TODO: Add test for `vmtester examplevm.so`
# TODO: Add test for `evmc-vmtester examplevm.so`