Skip to content

Commit 93f1f5f

Browse files
committed
update run.py xlarge param
1 parent 1725f33 commit 93f1f5f

File tree

1 file changed

+10
-18
lines changed

1 file changed

+10
-18
lines changed

R/tests/run.py

+10-18
Original file line numberDiff line numberDiff line change
@@ -748,23 +748,15 @@ def build_test_list(self, test_group, run_small, run_medium, run_large, run_xlar
748748
is_large = False
749749
is_xlarge= False
750750

751-
if (re.match(".*large.*", f)):
752-
is_large = True
753-
elif (re.match(".*medium.*", f)):
754-
is_large = True
755-
elif "xlarge" in f:
756-
is_xlarge = True
757-
else:
758-
is_small = True
751+
if "xlarge" in f: is_xlarge = True
752+
elif "medium" in f: is_medium = True
753+
elif "large" in f: is_large = True
754+
else: is_small = True
759755

760-
if (is_small and not run_small):
761-
continue
762-
if (is_medium and not run_medium):
763-
continue
764-
if (is_large and not run_large):
765-
continue
766-
if is_xlarge and not run_xlarge:
767-
continue
756+
if is_small and not run_small: continue
757+
if is_medium and not run_medium: continue
758+
if is_large and not run_large: continue
759+
if is_xlarge and not run_xlarge: continue
768760

769761
if (test_group is not None):
770762
test_short_dir = self._calc_test_short_dir(os.path.join(root, f))
@@ -837,7 +829,7 @@ def run_tests(self):
837829

838830
self._log("")
839831
self._log("Setting up R H2O package...")
840-
if (True):
832+
if (False):
841833
out_file_name = os.path.join(self.output_dir, "runnerSetupPackage.out.txt")
842834
out = open(out_file_name, "w")
843835
cloud = self.clouds[0]
@@ -1367,7 +1359,7 @@ def parse_args(argv):
13671359
g_run_medium = False
13681360
if (not 'l' in v):
13691361
g_run_large = False
1370-
if not "xl" in v:
1362+
if not "x" in v:
13711363
g_run_xlarge = False
13721364
else:
13731365
bad_arg(s)

0 commit comments

Comments
 (0)