summaryrefslogtreecommitdiff
path: root/ACE/tests/non_mpc_makefile/run_test.pl
blob: afb17fa5aec428a006e8bcd5621db8d937c61b89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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";