diff options
author | Sebastian Schmelzer | 2010-09-02 17:50:49 +0200 |
---|---|---|
committer | Sebastian Schmelzer | 2010-09-02 17:50:49 +0200 |
commit | 416ab8a37f1b07dc9f6c0fb3ff1a8ff2036510b5 (patch) | |
tree | 4715f7d742fec50931017f38fe6ff0a89d4ceccc /config-db/t/run-all-tests.pl | |
parent | Fix for the problem reported on the list (sed filter forgotten for the (diff) | |
download | core-416ab8a37f1b07dc9f6c0fb3ff1a8ff2036510b5.tar.gz core-416ab8a37f1b07dc9f6c0fb3ff1a8ff2036510b5.tar.xz core-416ab8a37f1b07dc9f6c0fb3ff1a8ff2036510b5.zip |
change dir structure
Diffstat (limited to 'config-db/t/run-all-tests.pl')
-rwxr-xr-x | config-db/t/run-all-tests.pl | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/config-db/t/run-all-tests.pl b/config-db/t/run-all-tests.pl deleted file mode 100755 index 8fb351c7..00000000 --- a/config-db/t/run-all-tests.pl +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/perl - -use warnings; -use strict; - -use Test::Harness; - -# add the development paths to perl's search path for modules: -use FindBin; -use lib "$FindBin::RealBin/../"; -use lib "$FindBin::RealBin/../../lib"; - -chdir "$FindBin::RealBin" or die "unable to chdir to $FindBin::RealBin! ($!)\n"; - -use OpenSLX::Basics; - -use OpenSLX::MetaDB::SQLite; - -# make sure a specific test-db will be used -$cmdlineConfig{'private-path'} = $ENV{SLX_PRIVATE_PATH} = '/tmp/slx-db-test'; -$cmdlineConfig{'db-name'} = $ENV{SLX_DB_NAME} = 'slx-test'; -$cmdlineConfig{'db-type'} = $ENV{SLX_DB_TYPE} = 'SQLite'; - -openslxInit(); - -$Test::Harness::Verbose = 1 if $openslxConfig{'log-level'}; - -# remove the test-db if it already exists -my $metaDB = OpenSLX::MetaDB::SQLite->new(); -if ($metaDB->databaseExists()) { - print "removing leftovers of slx-test-db\n"; - $metaDB->dropDatabase(); -} -runtests(glob("*.t")); - -$metaDB->dropDatabase(); |