diff options
author | Niels Thykier <niels@thykier.net> | 2017-04-04 06:56:27 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2017-04-04 06:56:44 +0000 |
commit | 1a010698627178dd9aea4fd5e35dcb01ab0bbaf3 (patch) | |
tree | 082181f07b0689323c7792b13c0fb596ebd68929 /t | |
parent | 3515d1861be6960037b848ce01c211c027d97547 (diff) | |
download | debhelper-1a010698627178dd9aea4fd5e35dcb01ab0bbaf3.tar.gz |
t: Add "auto buildable" tests for meson + ninja
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 't')
-rwxr-xr-x | t/buildsystems/buildsystem_tests.t | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/t/buildsystems/buildsystem_tests.t b/t/buildsystems/buildsystem_tests.t index 25a816fa..468e921a 100755 --- a/t/buildsystems/buildsystem_tests.t +++ b/t/buildsystems/buildsystem_tests.t @@ -1,6 +1,6 @@ #!/usr/bin/perl -use Test::More tests => 310; +use Test::More tests => 325; use strict; use warnings; @@ -261,6 +261,15 @@ test_check_auto_buildable($bs{cmake}, "CMakeLists.txt", { configure => 1, clean touch "$tmpdir/Makefile.PL"; test_check_auto_buildable($bs{perl_makemaker}, "Makefile.PL", { configure => 1 }); +touch "$tmpdir/meson.build"; +test_check_auto_buildable($bs{meson}, "meson.build", { configure => 1, clean => 1 }); + +touch "$tmpdir/builddir/build.ninja"; +test_check_auto_buildable($bs{ninja}, "build.ninja", { configure => 1, build => 1, clean => 1, install => 1, test => 1 }); + +# Meson + ninja +test_check_auto_buildable($bs{meson}, "meson.build+build.ninja", { configure => 1, build => 1, clean => 1, install => 1, test => 1 }); + # With Makefile touch "$builddir/Makefile"; test_check_auto_buildable($bs{makefile}, "Makefile", 1); |