Skip to content

Commit a9c7fda

Browse files
author
Alan Christie
committed
- Refined README
- Adds a requirements.txt file to simplify adding modules to Conda - Redirected directories now use '-' to separate file and test names - Moved test template to root directory
1 parent c7daa44 commit a9c7fda

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/groovy/PipelineTester.groovy

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -567,8 +567,9 @@ class Tester {
567567
* Entries in this list are added to any defined in the creates
568568
* block in the setup_collection section.
569569
*
570-
* - does_not_create
571-
* An optional list of file names (regular expressions).
570+
* - metrics
571+
* An optional list of metrics keyword and value checks
572+
* (regular expressions).
572573
**/
573574
def processTest(filename, section) {
574575

@@ -630,13 +631,12 @@ class Tester {
630631
// Redirect the '-o' option, if there is a '-o' in the command
631632
def oOption = pipelineCommand =~ /$outputRegex/
632633
File testOutputPath = null
633-
String outputFileBaseName = null // i.e. "output"
634634
if (oOption.count > 0) {
635635

636636
// Construct and make the path for any '-o' output
637-
testOutputPath = new File(outputBasePath, "${currentTestFilename}_${section.key}")
637+
testOutputPath = new File(outputBasePath, "${currentTestFilename}-${section.key}")
638638
testOutputPath.mkdir()
639-
outputFileBaseName = oOption[0][1]
639+
String outputFileBaseName = oOption[0][1]
640640
File testOutputFile = new File(testOutputPath, outputFileBaseName)
641641
info("Out : $testOutputFile")
642642
// Now swap-out the original '-o'...

0 commit comments

Comments
 (0)