@@ -51,7 +51,6 @@ class Tester {
51
51
String sdExt = ' .dsd.json'
52
52
String optionPrefix = ' arg.'
53
53
String metricsFile = ' output_metrics.txt'
54
- String outputRegex = ' (-o|--output) (\\ S+)'
55
54
String dumpOutPrefix = ' #'
56
55
String dumpErrPrefix = ' |'
57
56
String setupPrefix = ' setup_'
@@ -888,24 +887,10 @@ class Tester {
888
887
test_pout = env_pout ? env_pout : defaultOutputPath
889
888
test_pout + = File . separator + testSubDir
890
889
891
- // Construct and make the path for any '-o ' output
890
+ // Construct and make the path for any 'POUT ' output
892
891
File testOutputPath = new File (test_pout)
893
892
testOutputPath. mkdir()
894
893
895
- // Redirect the '-o' option, if there is a '-o' in the command
896
- def oOption = pipelineCommand =~ / $outputRegex/
897
- if (oOption. count > 0 ) {
898
-
899
- // Redirect output
900
- String outputFileBaseName = oOption[0 ][-1 ]
901
- String testOutputFile = ' \\ ${POUT}' + outputFileBaseName
902
- // Now swap-out the original '-o'...
903
- String redirectedOutputOption = " -o ${ testOutputFile} "
904
- pipelineCommand = pipelineCommand. replaceAll(/ $outputRegex/ ,
905
- redirectedOutputOption)
906
-
907
- }
908
-
909
894
Log . info(' Command' , pipelineCommand)
910
895
911
896
// PIN (Pipeline input data) is normally the project's data directory.
0 commit comments