Meson build fixes

* Add missing files to `tests/meson.build`
* Rename meson build workflows to be more easily identifiable
This commit is contained in:
Martin Hořeňovský 2022-11-04 15:46:32 +01:00
parent 272bed081e
commit 0a1b0ae9d1
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
name: Linux builds (basic) using meson build system
name: Linux builds (meson)
on: [push, pull_request]

View File

@ -8,6 +8,7 @@
# define the sources of the self test
# Please keep these ordered alphabetically
self_test_sources = files(
'SelfTest/helpers/parse_test_spec.cpp',
'SelfTest/IntrospectiveTests/Clara.tests.cpp',
'SelfTest/IntrospectiveTests/CmdLine.tests.cpp',
'SelfTest/IntrospectiveTests/CmdLineHelpers.tests.cpp',
@ -26,6 +27,7 @@ self_test_sources = files(
'SelfTest/IntrospectiveTests/StringManip.tests.cpp',
'SelfTest/IntrospectiveTests/Tag.tests.cpp',
'SelfTest/IntrospectiveTests/TestCaseInfoHasher.tests.cpp',
'SelfTest/IntrospectiveTests/TestSpec.tests.cpp',
'SelfTest/IntrospectiveTests/TestSpecParser.tests.cpp',
'SelfTest/IntrospectiveTests/TextFlow.tests.cpp',
'SelfTest/IntrospectiveTests/ToString.tests.cpp',
@ -65,7 +67,7 @@ self_test_sources = files(
self_test = executable(
'SelfTest',
self_test_sources,
include_directories: '../src',
include_directories: ['../src', './SelfTest'],
link_with: [catch2_with_main, catch2],
)