Update of /cvsroot/module-build/Module-Build/t
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3200/t
Modified Files:
compat.t
Log Message:
PREFIX doesn't generate an error anymore
Index: compat.t
===================================================================
RCS file: /cvsroot/module-build/Module-Build/t/compat.t,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- compat.t 31 Mar 2005 09:40:14 -0000 1.23
+++ compat.t 8 Jun 2005 04:13:15 -0000 1.24
@@ -22,7 +22,7 @@
my @makefile_types = qw(small passthrough traditional);
my $tests_per_type = 10;
-plan tests => 32 + @makefile_types*$tests_per_type;
+plan tests => 30 + @makefile_types*$tests_per_type;
ok(1); # Loaded
my @make = $Config{make} eq 'nmake' ? ('nmake', '-nologo') : ($Config{make});
@@ -132,11 +132,6 @@
$output =~ s/^/# /gm; # Don't confuse our own test output
ok $output, qr/# test\.+ok\s+# All/, 'Should be non-verbose';
- $output = stderr_of( sub { $ran_ok = $build->do_system(@make, 'install', "PREFIX=$libdir", "install_base=$libdir") } );
- ok !$ran_ok; # PREFIX should generate an error
- ok $output, qr/PREFIX/, "Error should mention PREFIX";
-
-
$build->delete_filetree($libdir);
ok (! -e $libdir, 1, "Sample installation directory should be cleaned up");
|