Andrew Jeffery | d0a8556 | 2023-04-18 06:22:39 +0930 | [diff] [blame] | 1 | tests = [ |
Andrew Jeffery | d0a8556 | 2023-04-18 06:22:39 +0930 | [diff] [blame] | 2 | 'test-ringbuffer-boundary-poll', |
| 3 | 'test-ringbuffer-boundary-read', |
| 4 | 'test-ringbuffer-contained-offset-read', |
| 5 | 'test-ringbuffer-contained-read', |
| 6 | 'test-ringbuffer-poll-force', |
| 7 | 'test-ringbuffer-read-commit', |
| 8 | 'test-ringbuffer-simple-poll', |
| 9 | ] |
| 10 | |
| 11 | foreach t : tests |
| 12 | test(t, executable(t, f'@t@.c', c_args: [ '-DSYSCONFDIR=""' ], |
| 13 | include_directories: '..')) |
| 14 | endforeach |
Alexander Hansen | 1e04f44 | 2024-06-12 16:35:58 +0200 | [diff] [blame] | 15 | |
| 16 | tests_depend_iniparser = [ |
| 17 | 'test-client-escape', |
| 18 | 'test-config-parse', |
| 19 | 'test-config-parse-bytesize', |
| 20 | 'test-config-resolve-console-id' |
| 21 | ] |
| 22 | |
| 23 | foreach ct : tests_depend_iniparser |
| 24 | test( |
| 25 | ct, |
| 26 | executable( |
| 27 | ct, |
| 28 | f'@ct@.c', |
| 29 | c_args: [ '-DSYSCONFDIR=""' ], |
| 30 | dependencies: [ iniparser_dep ], |
| 31 | include_directories: '..' |
| 32 | ) |
| 33 | ) |
| 34 | endforeach |