* Set the path to perl on FreeBSD.

* Use the FreeBSD shell.
* On FreeBSD the tests run from the OBJDIR, so output files go there
  rather than in the source tree like they do on Solaris.
* FreeBSD doesn't need a special path to the compiler.
This commit is contained in:
John Birrell 2008-04-26 03:36:28 +00:00
parent a56e400f78
commit 4257781cdc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178536

View File

@ -1,4 +1,4 @@
#!/usr/perl5/bin/perl
#!/usr/local/bin/perl
#
# CDDL HEADER START
#
@ -43,7 +43,7 @@ $USAGE = "Usage: $PNAME [-abfghjlnqs] [-d dir] [-i isa] "
@dtrace_argv = ();
$ksh_path = '/usr/bin/ksh';
$ksh_path = '/bin/sh';
@files = ();
%exceptions = ();
@ -273,7 +273,7 @@ sub run_tests {
}
$fullname = "$dir/$name";
$exe = "$dir/$base.exe";
$exe = "./$base.exe";
$exe_pid = -1;
if ($opt_a && ($status != 0 || $tag != 0 || $droptag != 0 ||
@ -592,7 +592,7 @@ if ($opt_g) {
# Ensure that $PATH contains a cc(1) so that we can execute the
# test programs that require compilation of C code.
#
$ENV{'PATH'} = $ENV{'PATH'} . ':/ws/onnv-tools/SUNWspro/SS11/bin';
#$ENV{'PATH'} = $ENV{'PATH'} . ':/ws/onnv-tools/SUNWspro/SS11/bin';
if ($opt_b) {
logmsg("badioctl'ing ... ");