diff options
| author | Michael Biebl <biebl@debian.org> | 2018-04-23 18:00:21 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2018-04-23 18:00:21 +0200 |
| commit | f60117b41d5433be1b4a96d82cd11d0c3dce9b63 (patch) | |
| tree | 2dd55c4ab0fdcbe9cddb26adb4a554b1a45c73c8 /src/tests/config/meson.build | |
| parent | 7e9ff09fcb2366b383b7ebbec80d2f6fff117290 (diff) | |
New upstream version 1.11.3 upstream/1.11.3
Diffstat (limited to 'src/tests/config/meson.build')
| -rw-r--r-- | src/tests/config/meson.build | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/tests/config/meson.build b/src/tests/config/meson.build new file mode 100644 index 00000000..fb40d9a9 --- /dev/null +++ b/src/tests/config/meson.build @@ -0,0 +1,26 @@ +test_unit = 'test-config' + +sources = files( + 'nm-test-device.c', + 'test-config.c' +) + +test_config_dir = meson.current_source_dir() + +cflags = [ + '-DSRCDIR="@0@"'.format(test_config_dir), + '-DBUILDDIR="@0@"'.format(test_config_dir) +] + +exe = executable( + test_unit, + sources, + dependencies: test_nm_dep, + c_args: cflags +) + +test( + 'config/' + test_unit, + test_script, + args: test_args + [exe.full_path()] +) |