Skip to content

Commit

Permalink
Rename test name so that cmake finds it
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Basler committed Jun 1, 2024
1 parent 5c4f091 commit e9b461d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
ubuntu-tests-fullSetup:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip-ci')"

steps:
Expand Down
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ macro (cmaes_add_test name)
if(MSVC)
target_compile_definitions(${name} PUBLIC _USE_MATH_DEFINES)
endif()
add_test (NAME ${name} COMMAND t_${name})
add_test (NAME ${name} COMMAND ${name})
if (WIN32)
set_tests_properties (
${name}
Expand Down

0 comments on commit e9b461d

Please sign in to comment.