diff options
Diffstat (limited to '')
-rw-r--r-- | .appveyor.yml | 6 | ||||
-rw-r--r-- | test/CMakeLists.txt | 6 | ||||
-rw-r--r-- | test/foobar.cpp (renamed from test/lab_rat.cpp) | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index b33c959..c38ef60 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -37,9 +37,9 @@ after_build: - appveyor.exe PushArtifact "%APPVEYOR_PROJECT_NAME%-%PLATFORM%-%CONFIGURATION%.zip" test_script: - - '"%install_dir%\bin\enum_symbols" --pdb "%install_dir%\bin\lab_rat.pdb"' - - '"%install_dir%\bin\enum_symbols" --pdb "%install_dir%\bin\lab_rat.pdb" --mask "lab_rat!lab_rat*"' - - '"%install_dir%\bin\enum_symbols" --pdb "%install_dir%\bin\lab_rat.pdb" --functions --mask "lab_rat*"' + - '"%install_dir%\bin\enum_symbols" --pdb "%install_dir%\bin\foobar.pdb"' + - '"%install_dir%\bin\enum_symbols" --pdb "%install_dir%\bin\foobar.pdb" --mask "foobar!foobar_ns*"' + - '"%install_dir%\bin\enum_symbols" --pdb "%install_dir%\bin\foobar.pdb" --functions --mask "foobar_ns*"' for: # Only build Release builds on master to speed things up: diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index c910931..619a51e 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,7 +1,7 @@ set(CC_STATIC_RUNTIME OFF) -add_executable(lab_rat lab_rat.cpp) +add_executable(foobar foobar.cpp) -install(TARGETS lab_rat RUNTIME DESTINATION bin) +install(TARGETS foobar RUNTIME DESTINATION bin) if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") - install(FILES "$<TARGET_PDB_FILE:lab_rat>" DESTINATION bin OPTIONAL) + install(FILES "$<TARGET_PDB_FILE:foobar>" DESTINATION bin OPTIONAL) endif() diff --git a/test/lab_rat.cpp b/test/foobar.cpp index ed204b6..cdb8a97 100644 --- a/test/lab_rat.cpp +++ b/test/foobar.cpp @@ -1,4 +1,4 @@ -namespace lab_rat { +namespace foobar_ns { int exit_code = 1; @@ -14,8 +14,8 @@ int foo() { return bar() * 2; } -} // namespace lab_rat +} // namespace foobar_ns int main() { - return lab_rat::foo() * 2; + return foobar_ns::foo() * 2; } |