1 | self_tests = [
|
---|
2 | [ 'abort', files('abort.c') ],
|
---|
3 | [ 'asserts', files('asserts.c') ],
|
---|
4 | [ 'beforeafter', files('beforeafter.c') ],
|
---|
5 | [ 'errno', files('errno.c') ],
|
---|
6 | [ 'inithook', files('inithook.c') ],
|
---|
7 | [ 'manytests', files('manytests.c') ],
|
---|
8 | [ 'multisuite', files('suite_all.c', 'suite1.c', 'suite2.c', 'tested.c') ],
|
---|
9 | [ 'preinithook', files('inithook.c') ],
|
---|
10 | [ 'printing', files('printing.c') ],
|
---|
11 | [ 'simple', files('simple.c', 'tested.c') ],
|
---|
12 | [ 'skip', files('skip.c') ],
|
---|
13 | [ 'suites', files('suites.c', 'tested.c') ],
|
---|
14 | [ 'teardownaborts', files('teardownaborts.c') ],
|
---|
15 | [ 'teardown', files('teardown.c', 'tested.c') ],
|
---|
16 | [ 'testlist', files('testlist.c') ],
|
---|
17 | [ 'timeout', files('timeout.c') ],
|
---|
18 | [ 'xmlreport', files('xmlreport.c', 'tested.c') ],
|
---|
19 | ]
|
---|
20 |
|
---|
21 | foreach t : self_tests
|
---|
22 | testfiles += [ {
|
---|
23 | 'name': 'pcut-' + t[0],
|
---|
24 | 'src': t[1],
|
---|
25 | 'includes': include_directories('../include'),
|
---|
26 | } ]
|
---|
27 | endforeach
|
---|