Skip to content

Commit

Permalink
Update child tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
dwsteele committed May 31, 2016
1 parent f1ae49b commit 96baeba
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/test.pl
Expand Up @@ -627,19 +627,22 @@ =head1 SYNOPSIS

# Build up command line for the individual test
$strCommandLine =~ s/\-\-os\=\S*//g;
$strCommandLine =~ s/\-\-test-path\=\S*//g;
$strCommandLine =~ s/\-\-test\-path\=\S*//g;
$strCommandLine =~ s/\-\-module\=\S*//g;
$strCommandLine =~ s/\-\-test\=\S*//g;
$strCommandLine =~ s/\-\-run\=\S*//g;
$strCommandLine =~ s/\-\-db\-version\=\S*//g;
$strCommandLine =~ s/\-\-no\-lint\S*//g;
$strCommandLine =~ s/\-\-process\-max\=\S*//g;

my $strCommand =
"docker exec -i -u vagrant ${strImage} ${strBackRestBase}/test/test.pl ${strCommandLine} --test-path=${strVmTestPath}" .
"docker exec -i -u vagrant ${strImage} ${strBackRestBase}/test/test.pl ${strCommandLine}" .
" --vm=none --module=$$oTest{module} --test=$$oTest{test}" .
(defined($$oTest{run}) ? " --run=$$oTest{run}" : '') .
(defined($$oTest{thread}) ? " --thread-max=$$oTest{thread}" : '') .
(defined($$oTest{db}) ? " --db-version=$$oTest{db}" : '') .
($bDryRun ? " --dry-run" : '') .
" --test-path=${strVmTestPath}" .
" --no-cleanup --vm-out";

&log(DEBUG, $strCommand);
Expand Down

0 comments on commit 96baeba

Please sign in to comment.