Skip to content

Commit 95fbebe

Browse files
update build file
1 parent 9cd9ed5 commit 95fbebe

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

code/tests/meson.build

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,14 @@ if get_option('with_test').enabled()
22
run_command(['python3', 'tools' / 'generate-runner.py'], check: true)
33

44
test_c = ['unit_runner.c']
5-
test_cpp = ['unit_runner.cpp']
6-
test_cases = [
7-
'sample', 'bdd', 'tdd', 'ddd', 'mark'
8-
]
5+
test_cases = ['sample', 'bdd', 'tdd', 'ddd', 'mark']
96

107
foreach cases : test_cases
118
test_c += ['cases' / 'test_' + cases + '.c']
12-
test_cpp += ['cases' / 'test_' + cases + '.cpp']
9+
test_c += ['cases' / 'test_' + cases + '.cpp']
1310
endforeach
1411

15-
pizza_c = executable('testbed-c', test_c, include_directories: dir, dependencies: [fossil_test_dep])
16-
pizza_cpp = executable('testbed-cpp', test_cpp, include_directories: dir, dependencies: [fossil_test_dep])
12+
pizza_c = executable('testbed-c', test_c, include_directories: dir, dependencies: [fossil_test_dep])
1713

18-
test('fossil testing C ', pizza_c )
19-
test('fossil testing Cpp', pizza_cpp)
20-
endif
14+
test('fossil testing C', pizza_c)
15+
endif

0 commit comments

Comments
 (0)