From bbae86d3d2997a853ca0365e8eb7a3ca7489ee09 Mon Sep 17 00:00:00 2001 From: Sebastien Bacher Date: Fri, 25 Jan 2019 11:24:41 +0100 Subject: New upstream version 1.15.2 --- src/initrd/tests/meson.build | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/initrd/tests/meson.build (limited to 'src/initrd/tests/meson.build') diff --git a/src/initrd/tests/meson.build b/src/initrd/tests/meson.build new file mode 100644 index 00000000..0ef72fff --- /dev/null +++ b/src/initrd/tests/meson.build @@ -0,0 +1,23 @@ +test_units = [ + 'test-ibft-reader', + 'test-cmdline-reader', +] + +cflags = [ + '-DTEST_INITRD_DIR="@0@"'.format(meson.current_source_dir()), +] + +foreach test_unit : test_units + exe = executable( + test_unit, + test_unit + '.c', + dependencies: test_nm_dep, + c_args: cflags, + link_with: libnmi_core, + ) + test( + 'initrd/' + test_unit, + test_script, + args: test_args + [exe.full_path()], + ) +endforeach -- cgit 1.3.0-6-gf8a5