File: Bug_3708_Regression.pl

package info (click to toggle)
ace 7.0.8%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 47,260 kB
  • sloc: cpp: 336,263; perl: 31,547; ansic: 11,648; sh: 1,911; python: 529; yacc: 511; xml: 330; lex: 158; lisp: 116; makefile: 89; csh: 20; tcl: 5
file content (20 lines) | stat: -rwxr-xr-x 537 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
    & eval 'exec perl -S $0 $argv:q'
    if 0;

# -*- 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";