Skip to content

Commit

Permalink
update run.py xlarge param
Browse files Browse the repository at this point in the history
  • Loading branch information
spennihana committed Jun 8, 2015
1 parent 1725f33 commit 93f1f5f
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions R/tests/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -748,23 +748,15 @@ def build_test_list(self, test_group, run_small, run_medium, run_large, run_xlar
is_large = False
is_xlarge= False

if (re.match(".*large.*", f)):
is_large = True
elif (re.match(".*medium.*", f)):
is_large = True
elif "xlarge" in f:
is_xlarge = True
else:
is_small = True
if "xlarge" in f: is_xlarge = True
elif "medium" in f: is_medium = True
elif "large" in f: is_large = True
else: is_small = True

if (is_small and not run_small):
continue
if (is_medium and not run_medium):
continue
if (is_large and not run_large):
continue
if is_xlarge and not run_xlarge:
continue
if is_small and not run_small: continue
if is_medium and not run_medium: continue
if is_large and not run_large: continue
if is_xlarge and not run_xlarge: continue

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

self._log("")
self._log("Setting up R H2O package...")
if (True):
if (False):
out_file_name = os.path.join(self.output_dir, "runnerSetupPackage.out.txt")
out = open(out_file_name, "w")
cloud = self.clouds[0]
Expand Down Expand Up @@ -1367,7 +1359,7 @@ def parse_args(argv):
g_run_medium = False
if (not 'l' in v):
g_run_large = False
if not "xl" in v:
if not "x" in v:
g_run_xlarge = False
else:
bad_arg(s)
Expand Down

0 comments on commit 93f1f5f

Please sign in to comment.