浏览代码

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 10 年之前
父节点
当前提交
f7d14c0181
共有 1 个文件被更改,包括 1 次插入3 次删除
  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))