From f60117b41d5433be1b4a96d82cd11d0c3dce9b63 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Mon, 23 Apr 2018 18:00:21 +0200 Subject: New upstream version 1.11.3 --- src/tests/config/meson.build | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/tests/config/meson.build (limited to 'src/tests/config/meson.build') 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()] +) -- cgit 1.3.0-6-gf8a5