View | Details | Raw Unified
Collapse All | Expand All

(-) ltp-full-20041104/testcases/ballista/ballista/batchcode (-1 / +1 lines)
 Lines 1-4    Link Here 
#!/usr/local/bin/perl5
#!/usr/bin/env perl
# batchcode: sort output results and generate simple statistics
# batchcode: sort output results and generate simple statistics
# Copyright (C) 1998-2001  Carnegie Mellon University
# Copyright (C) 1998-2001  Carnegie Mellon University
#
#
(-) ltp-full-20041104/testcases/ballista/ballista/bdc_standalone (-1 / +1 lines)
 Lines 1-4    Link Here 
#!/usr/local/bin/perl5
#!/usr/bin/env perl
# bdc_standalone: Compiles specified template file into cpp and h files - no server
# bdc_standalone: Compiles specified template file into cpp and h files - no server
# Copyright (C) 1998-2001  Carnegie Mellon University
# Copyright (C) 1998-2001  Carnegie Mellon University
#
#
(-) ltp-full-20041104/testcases/ballista/ballista/configure (-1 / +1 lines)
 Lines 1-4    Link Here 
#!/usr/local/bin/perl5
#!/usr/bin/env perl
########################
########################
# configure: creates Makefiles that are configured for user's platform(s)
# configure: creates Makefiles that are configured for user's platform(s)
# Copyright (C) 1998-2001  Carnegie Mellon University
# Copyright (C) 1998-2001  Carnegie Mellon University
(-) ltp-full-20041104/testcases/ballista/ballista/create_code.pl (-1 / +1 lines)
 Lines 1-4    Link Here 
#!/usr/local/bin/perl5
#!/usr/bin/env perl
# create_code.pl: produces C++ code that reproduces a Ballista test case - bug reports
# create_code.pl: produces C++ code that reproduces a Ballista test case - bug reports
# Copyright (C) 1998-2001  Carnegie Mellon University
# Copyright (C) 1998-2001  Carnegie Mellon University
#
#
(-) ltp-full-20041104/testcases/ballista/ballista/dataClimber (-1 / +1 lines)
 Lines 1-4    Link Here 
#!/usr/local/bin/perl5
#!/usr/bin/env perl
# dataClimber: extract the dataTypes required to Ballista test a function
# dataClimber: extract the dataTypes required to Ballista test a function
# Copyright (C) 1998-2001  Carnegie Mellon University
# Copyright (C) 1998-2001  Carnegie Mellon University
#
#
(-) ltp-full-20041104/testcases/ballista/ballista/Makefile (-1 / +1 lines)
 Lines 24-30    Link Here 
########################
########################
# compiler info for the host
# compiler info for the host
CC = /usr/local/g++ -Wno-deprecated
CC = /usr/bin/g++ -Wno-deprecated
CFLAGS = -w -O ${TARGET_DEF}
CFLAGS = -w -O ${TARGET_DEF}
CLIBS = -lpthread -ldl -lnsl -rdynamic
CLIBS = -lpthread -ldl -lnsl -rdynamic
TEST_MAN_FILE = selfHost
TEST_MAN_FILE = selfHost
(-) ltp-full-20041104/testcases/ballista/ballista/ostest_new.pl (-16 / +16 lines)
 Lines 81-102    Link Here 
# set symbolic links to perl path
# set symbolic links to perl path
$perl_realpath = `which perl`;
#$perl_realpath = `which perl`;
chomp ($perl_realpath);
#chomp ($perl_realpath);
$find_perllink = `ls /usr/local/bin/perl5`;
#$find_perllink = `ls /usr/local/bin/perl5`;
chomp($find_perllink);
#chomp($find_perllink);
if($find_perllink !~ "/usr/local/bin/perl5")
#if($find_perllink !~ "/usr/local/bin/perl5")
{
#{
	system("ln -s $perl_realpath /usr/local/bin/perl5");
#	system("ln -s $perl_realpath /usr/local/bin/perl5");
}
#}
$find_perllink = `ls /usr/local/bin/perl5`;
#$find_perllink = `ls /usr/local/bin/perl5`;
if($find_perllink !~ "/usr/local/bin/perl5")
#if($find_perllink !~ "/usr/local/bin/perl5")
{
#{
	print "\nCannot automatically link to your perl path.  Please create a symbolic link to /usr/local/bin/perl5 \n";
#	print "\nCannot automatically link to your perl path.  Please create a symbolic link to /usr/local/bin/perl5 \n";
        print "and try again (i.e., \"ln -s $perl_realpath /usr/local/bin/perl5\").  If you do not have appropriate \n";
#        print "and try again (i.e., \"ln -s $perl_realpath /usr/local/bin/perl5\").  If you do not have appropriate \n";
        print "permissions to do this, check with your administrator.\n";
#        print "permissions to do this, check with your administrator.\n";
	exit(1);
#	exit(1);
}
#}
# Determine user's operating system
# Determine user's operating system
$os_string = `uname -rsv`;
$os_string = `uname -rsv`;
(-) ltp-full-20041104/testcases/ballista/ballista/ostest.pl (-16 / +16 lines)
 Lines 81-102    Link Here 
# set symbolic links to perl path
# set symbolic links to perl path
$perl_realpath = `which perl`;
#$perl_realpath = `which perl`;
chomp ($perl_realpath);
#chomp ($perl_realpath);
$find_perllink = `ls /usr/local/bin/perl5`;
#$find_perllink = `ls /usr/local/bin/perl5`;
chomp($find_perllink);
#chomp($find_perllink);
if($find_perllink !~ "/usr/local/bin/perl5")
#if($find_perllink !~ "/usr/local/bin/perl5")
{
#{
	system("ln -s $perl_realpath /usr/local/bin/perl5");
#	system("ln -s $perl_realpath /usr/local/bin/perl5");
}
#}
$find_perllink = `ls /usr/local/bin/perl5`;
#$find_perllink = `ls /usr/local/bin/perl5`;
if($find_perllink !~ "/usr/local/bin/perl5")
#if($find_perllink !~ "/usr/local/bin/perl5")
{
#{
	print "\nCannot automatically link to your perl path.  Please create a symbolic link to /usr/local/bin/perl5 \n";
#	print "\nCannot automatically link to your perl path.  Please create a symbolic link to /usr/local/bin/perl5 \n";
        print "and try again (i.e., \"ln -s $perl_realpath /usr/local/bin/perl5\").  If you do not have appropriate \n";
#        print "and try again (i.e., \"ln -s $perl_realpath /usr/local/bin/perl5\").  If you do not have appropriate \n";
        print "permissions to do this, check with your administrator.\n";
#        print "permissions to do this, check with your administrator.\n";
	exit(1);
#	exit(1);
}
#}
# Determine user's operating system
# Determine user's operating system
$os_string = `uname -rsv`;
$os_string = `uname -rsv`;
(-) ltp-full-20041104/testcases/ballista/ballista/paramGen (-1 / +1 lines)
 Lines 1-4    Link Here 
#!/usr/local/bin/perl5
#!/usr/bin/env perl
# paramGen: Ballista script to generate .param files from .tpl files
# paramGen: Ballista script to generate .param files from .tpl files
# Copyright (C) 1998-2001  Carnegie Mellon University
# Copyright (C) 1998-2001  Carnegie Mellon University
#
#
(-) ltp-full-20041104/testcases/ballista/ballista/perllib/LWP/Debug.pm (-1 / +1 lines)
 Lines 1-4    Link Here 
#!/usr/local/bin/perl -w
#!/usr/bin/env perl -w
#
#
# $Id: Debug.pm,v 1.1 2004/10/18 17:57:54 mridge Exp $
# $Id: Debug.pm,v 1.1 2004/10/18 17:57:54 mridge Exp $
#
#
(-) ltp-full-20041104/testcases/ballista/create.sh (-1 / +1 lines)
 Lines 3-9    Link Here 
# to run Ballista. 
# to run Ballista. 
# If the correct RPMs are installed ballista will be uncompressed and complied
# If the correct RPMs are installed ballista will be uncompressed and complied
exit 0;
@libs = ("'gcc version 3.3.3'","libg++-2.8.1-2","libg++-devel-2.8.1-2","libstdc++5-3.3.1-2mdk","libstdc++5-devel-3.3.1-2mdk","libstdc++5-static-devel-3.3.1-2mdk");
@libs = ("'gcc version 3.3.3'","libg++-2.8.1-2","libg++-devel-2.8.1-2","libstdc++5-3.3.1-2mdk","libstdc++5-devel-3.3.1-2mdk","libstdc++5-static-devel-3.3.1-2mdk");
my @notfound;
my @notfound;
system("touch temp_cmd_file.txt ");
system("touch temp_cmd_file.txt ");