[debhelper-devel] [debhelper] 01/01: t: Add "auto buildable" tests for meson + ninja

Niels Thykier nthykier at moszumanska.debian.org
Tue Apr 4 06:57:52 UTC 2017


This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository debhelper.

commit 1a010698627178dd9aea4fd5e35dcb01ab0bbaf3
Author: Niels Thykier <niels at thykier.net>
Date:   Tue Apr 4 06:56:27 2017 +0000

    t: Add "auto buildable" tests for meson + ninja
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 t/buildsystems/buildsystem_tests.t | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/t/buildsystems/buildsystem_tests.t b/t/buildsystems/buildsystem_tests.t
index 25a816f..468e921 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);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list