diff options
Diffstat (limited to 'ACE/tests/non_mpc_makefile/Bug_3708_Regression.pl')
-rwxr-xr-x | ACE/tests/non_mpc_makefile/Bug_3708_Regression.pl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ACE/tests/non_mpc_makefile/Bug_3708_Regression.pl b/ACE/tests/non_mpc_makefile/Bug_3708_Regression.pl new file mode 100755 index 00000000000..afb17fa5aec --- /dev/null +++ b/ACE/tests/non_mpc_makefile/Bug_3708_Regression.pl @@ -0,0 +1,21 @@ +eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' + & eval 'exec perl -S $0 $argv:q' + if 0; + +# $Id$ +# -*- perl -*- + +use lib "$ENV{ACE_ROOT}/bin"; + +# This test can't run on Win32 +exit if ($^O eq 'MSWin32'); + +# This test can't be run if "make" is not in the path or if it resolves to +# a non-GNU version of make. + +exit unless (`make --version` =~ /^GNU Make/); + +print "Running non_mpc_makefile test:\n"; +system "make -f CustomMakefile"; +print "ERROR: libfoo.a not made\n" unless -r 'libfoo.a'; +system "make -f CustomMakefile realclean"; |