From 9a867d7d344bc3c59a3326123f7323655c311d6c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 29 Jun 2009 22:22:21 -0400 Subject: remove enforce_out_of_source_building It was only used by the test suite, and while symetrical I don't feel that justifies keeping dead code. --- t/buildsystems/buildsystem_tests | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 't/buildsystems/buildsystem_tests') diff --git a/t/buildsystems/buildsystem_tests b/t/buildsystems/buildsystem_tests index 7e9b4bf1..7d383157 100755 --- a/t/buildsystems/buildsystem_tests +++ b/t/buildsystems/buildsystem_tests @@ -1,6 +1,6 @@ #!/usr/bin/perl -use Test::More tests => 236; +use Test::More tests => 227; use strict; use warnings; @@ -145,12 +145,6 @@ $bs = $BS_CLASS->new(builddir => undef, sourcedir => "autoconf"); ); test_buildsystem_paths_api($bs, "default builddir, sourcedir=autoconf", \%tmp); -# Enforce out of source tree building -# sourcedir=builddir=autoconf hence default builddir is implied -$bs = $BS_CLASS->new(builddir => "autoconf", sourcedir => "autoconf/"); -$bs->enforce_out_of_source_building(); -test_buildsystem_paths_api($bs, "hard out of source enforced, sourcedir=builddir", \%tmp); - # sourcedir=autoconf (builddir should be dropped) $bs = $BS_CLASS->new(builddir => "autoconf", sourcedir => "autoconf"); %tmp = ( -- cgit v1.2.3