[debhelper-devel] [debhelper] 01/01: t: Fix test after change of autoconf build system
Niels Thykier
nthykier at moszumanska.debian.org
Sat Oct 8 10:02:38 UTC 2016
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository debhelper.
commit c684d1e8bac977f5076ccb6441e6c6af69683ca0
Author: Niels Thykier <niels at thykier.net>
Date: Sat Oct 8 10:01:35 2016 +0000
t: Fix test after change of autoconf build system
Signed-off-by: Niels Thykier <niels at thykier.net>
---
t/buildsystems/buildsystem_tests.t | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/t/buildsystems/buildsystem_tests.t b/t/buildsystems/buildsystem_tests.t
index 098f314..9d1c1aa 100755
--- a/t/buildsystems/buildsystem_tests.t
+++ b/t/buildsystems/buildsystem_tests.t
@@ -253,7 +253,7 @@ for $bs (@bs) {
}
touch "$tmpdir/configure", 0755;
-test_check_auto_buildable($bs{autoconf}, "configure", { configure => 1 });
+test_check_auto_buildable($bs{autoconf}, "configure", { configure => 1, clean => 1 });
touch "$tmpdir/CMakeLists.txt";
test_check_auto_buildable($bs{cmake}, "CMakeLists.txt", { configure => 1, clean => 1 });
@@ -264,7 +264,7 @@ test_check_auto_buildable($bs{perl_makemaker}, "Makefile.PL", { configure => 1 }
# With Makefile
touch "$builddir/Makefile";
test_check_auto_buildable($bs{makefile}, "Makefile", 1);
-test_check_auto_buildable($bs{autoconf}, "configure+Makefile", { configure => 1, test => 1 });
+test_check_auto_buildable($bs{autoconf}, "configure+Makefile", { configure => 1, test => 1, build => 1, install => 1, clean => 1 });
test_check_auto_buildable($bs{cmake}, "CMakeLists.txt+Makefile", 1);
touch "$builddir/CMakeCache.txt"; # strong evidence that cmake was run
test_check_auto_buildable($bs{cmake}, "CMakeCache.txt+Makefile", 2);
@@ -316,8 +316,8 @@ test_autoselection("auto-selects nothing", undef, %tmp);
touch "$tmpdir/configure", 0755;
touch "$builddir/Makefile";
test_autoselection("autoconf",
- { configure => "autoconf", build => "makefile",
- test => "autoconf", install => "makefile", clean => "makefile" }, %tmp);
+ { configure => "autoconf", build => "autoconf",
+ test => "autoconf", install => "autoconf", clean => "autoconf" }, %tmp);
cleandir $tmpdir;
# Perl Makemaker (build, test, clean fail with builddir set [not supported])
--
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