mirror of
https://github.com/ThrowTheSwitch/Unity
synced 2025-02-02 09:18:44 -05:00
ae10bd1268
Tests cannot contain a ":", and configuring the example produced the following warning: test/test_runners/meson.build:12: DEPRECATION: ":" is not allowed in test name "Running: 01-test-case", it has been replaced with "_" test/test_runners/meson.build:13: DEPRECATION: ":" is not allowed in test name "Running: 02-test-case", it has been replaced with "_" In this case, the "running" part is redundant, so remove it.
14 lines
520 B
Meson
14 lines
520 B
Meson
#
|
|
# build script written by : Michael Brockus.
|
|
# github repo author: Mike Karlesky, Mark VanderVoord, Greg Williams.
|
|
#
|
|
# license: MIT
|
|
#
|
|
cases = [
|
|
['TestProductionCode_Runner.c', join_paths('..' ,'TestProductionCode.c' )],
|
|
['TestProductionCode2_Runner.c', join_paths('..' ,'TestProductionCode2.c')]
|
|
]
|
|
|
|
test('01-test-case', executable('01-test-case', cases[0], dependencies: [ a_dep, unity_dep ]))
|
|
test('02-test-case', executable('02-test-case', cases[1], dependencies: [ b_dep, unity_dep ]))
|