mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 00:15:58 +01:00
@@ -4,7 +4,7 @@
|
||||
#
|
||||
# license: MIT
|
||||
#
|
||||
project('example-4', 'c')
|
||||
project('example-4', 'c', meson_version: '>= 0.55.0')
|
||||
|
||||
unity_dep = dependency('unity')
|
||||
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
# license: MIT
|
||||
#
|
||||
cases = [
|
||||
['TestProductionCode_Runner.c', join_paths('..' ,'TestProductionCode.c' )],
|
||||
['TestProductionCode_Runner.c', join_paths('..' ,'TestProductionCode.c' )],
|
||||
['TestProductionCode2_Runner.c', join_paths('..' ,'TestProductionCode2.c')]
|
||||
]
|
||||
|
||||
test('Running: 01-test-case', executable('01-test-case', cases[0], dependencies: [ a_dep, unity_dep ]))
|
||||
test('Running: 02-test-case', executable('02-test-case', cases[1], dependencies: [ b_dep, unity_dep ]))
|
||||
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 ]))
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
# license: MIT
|
||||
#
|
||||
project('unity', 'c',
|
||||
meson_version: '>=0.62.0',
|
||||
license: 'MIT',
|
||||
meson_version: '>=0.37.0',
|
||||
default_options: ['werror=true', 'c_std=c11'])
|
||||
|
||||
subdir('src')
|
||||
|
||||
Reference in New Issue
Block a user