File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -644,11 +644,19 @@ class Tester {
644
644
if (testOutputPath != null && createsBlock != null ) {
645
645
def outputFiles = new FileNameFinder ().
646
646
getFileNames(testOutputPath. toString(), " *" )
647
- println " ++++++ " + outputFiles
648
- println " ++++++ " + createsBlock
649
- if (outputFiles. size() == 0 ) {
650
- err(" Expected output files '$testOutputFile ' but got nothing" )
651
- validated = false
647
+ for (String create in creates) {
648
+ boolean found = false
649
+ for (String outputFile in outputFiles) {
650
+ if (outputFile. endsWith(create)) {
651
+ found = true
652
+ break
653
+ }
654
+ }
655
+ if (! found) {
656
+ err(" Expected output file '$creste ' but couldn't find it" )
657
+ validated = false
658
+ break
659
+ }
652
660
}
653
661
}
654
662
You can’t perform that action at this time.
0 commit comments