summaryrefslogtreecommitdiffstats
path: root/config-db/t/run-all-tests.pl
diff options
context:
space:
mode:
Diffstat (limited to 'config-db/t/run-all-tests.pl')
-rwxr-xr-xconfig-db/t/run-all-tests.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/config-db/t/run-all-tests.pl b/config-db/t/run-all-tests.pl
index 6cebdac1..c082052d 100755
--- a/config-db/t/run-all-tests.pl
+++ b/config-db/t/run-all-tests.pl
@@ -10,6 +10,8 @@ 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;
@@ -21,6 +23,8 @@ $cmdlineConfig{'db-type'} = $ENV{SLX_DB_TYPE} = 'SQLite';
openslxInit();
+$Test::Harness::Verbose = 1 if $openslxConfig{'verbose-level'};
+
# remove the test-db if it already exists
my $metaDB = OpenSLX::MetaDB::SQLite->new();
if ($metaDB->databaseExists()) {