Explorar o código

Merge pull request #6612 from AttilaVamos/HPCC-11960-fix

HPCC-11960 Regression suite Wild card oddity

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman %!s(int64=10) %!d(string=hai) anos
pai
achega
f7d14c0181
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      testing/regress/ecl-test

+ 1 - 3
testing/regress/ecl-test

@@ -52,9 +52,7 @@ class RegressMain:
             exit()
         eclfiles=[]   # List for ECL filenames to be executed
         for ecl in self.args.query:
-            if not ('.ecl' in ecl):
-                logging.error("%s. Not an ECL file:'%s'!" % (1,  ecl))
-            elif  ('*' in ecl) or ('?' in ecl):
+            if  ('*' in ecl) or ('?' in ecl):
                 # If there is any wildcard in ECL file name, resolve it
                 eclwild = os.path.join(self.regress.dir_ec, ecl)
                 eclfiles.extend( glob.glob(eclwild))