buildrelease now puts the test scripts in $intranetdir/scripts/t/
This commit is contained in:
parent
389747e90e
commit
8b21eb69e8
|
|
@ -310,12 +310,11 @@ system("rm -f $rootdir/intranet-cgi/SendMessages");
|
|||
system("rm -f $rootdir/intranet-cgi/buildrelease");
|
||||
system("rm -f $rootdir/intranet-cgi/database.mysql");
|
||||
system("rm -f $rootdir/intranet-cgi/installer-lite.pl");
|
||||
# FIXME: The following two lines look suspicious
|
||||
#system("rm -f $rootdir/intranet-cgi/koha-1.2.0.tar.gz");
|
||||
#system("rm -f $rootdir/intranet-cgi/rel-1-2");
|
||||
system("rm -f $rootdir/intranet-cgi/testKoha.pl");
|
||||
system("rm -rf $rootdir/intranet-cgi/html-template");
|
||||
system("rm -rf $rootdir/intranet-cgi/t");
|
||||
|
||||
# Move test scripts to scripts dir
|
||||
system("mv $rootdir/intranet-cgi/testKoha.pl $rootdir/scripts");
|
||||
system("mv $rootdir/intranet-cgi/t $rootdir/scripts");
|
||||
|
||||
# Set all .pl scripts executable
|
||||
system("find $rootdir/intranet-cgi -name '*.pl' -exec chmod a+x \\{\\} \\;");
|
||||
|
|
|
|||
12
testKoha.pl
12
testKoha.pl
|
|
@ -2,6 +2,15 @@
|
|||
|
||||
# $Id$
|
||||
|
||||
BEGIN {
|
||||
my $intranetdir=`grep intranetdir /etc/koha.conf`;
|
||||
chomp $intranetdir;
|
||||
$intranetdir=~s/\s*intranetdir\s*=\s*//i;
|
||||
$::modulesdir=$intranetdir."/modules";
|
||||
}
|
||||
|
||||
use lib $::modulesdir;
|
||||
|
||||
use strict;
|
||||
use Test::Harness;
|
||||
|
||||
|
|
@ -24,6 +33,9 @@ runtests (@tests);
|
|||
exit;
|
||||
|
||||
# $Log$
|
||||
# Revision 1.1.2.10 2002/10/29 20:22:38 tonnesen
|
||||
# buildrelease now puts the test scripts in $intranetdir/scripts/t/
|
||||
#
|
||||
# Revision 1.1.2.9 2002/10/29 19:47:57 tonnesen
|
||||
# New test script for circulation module.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -16,13 +16,13 @@
|
|||
# Set C4 module directory
|
||||
|
||||
BEGIN {
|
||||
$::intranetdir=`grep intranetdir /etc/koha.conf`;
|
||||
chomp $::intranetdir;
|
||||
$::intranetdir=~s/\s*intranetdir\s*=\s*//i;
|
||||
print "$::intranetdir\n";
|
||||
$intranetdir=`grep intranetdir /etc/koha.conf`;
|
||||
chomp $intranetdir;
|
||||
$intranetdir=~s/\s*intranetdir\s*=\s*//i;
|
||||
$::modulesdir=$intranetdir."/modules";
|
||||
}
|
||||
|
||||
use lib $::intranetdir."/modules";
|
||||
use lib $::modulesdir;
|
||||
|
||||
|
||||
use strict;
|
||||
|
|
@ -415,6 +415,9 @@ $dbh->disconnect;
|
|||
exit;
|
||||
|
||||
# $Log$
|
||||
# Revision 1.4.2.25 2002/10/29 20:22:43 tonnesen
|
||||
# buildrelease now puts the test scripts in $intranetdir/scripts/t/
|
||||
#
|
||||
# Revision 1.4.2.24 2002/10/25 18:52:47 tonnesen
|
||||
# Moved bulkmracimport.pl to scripts directory (through buildrelease script)
|
||||
# Made bulkmarcimport.pl and updatedatabase able to run from the command line
|
||||
|
|
|
|||
Loading…
Reference in New Issue