Skip to content

Commit

Permalink
run_sys_tests: use abspath of --testfile argument
Browse files Browse the repository at this point in the history
This is needed on izumi, since the create_test batch job is run from
your home directory rather than the current working directory
  • Loading branch information
billsacks committed Sep 30, 2020
1 parent b496b65 commit 0a97062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ctsm/run_sys_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def run_sys_tests(machine, cime_path,
if not dry_run:
_make_cs_status_non_suite(testroot, testid_base)
if testfile:
test_args = ['--testfile', testfile]
test_args = ['--testfile', os.path.abspath(testfile)]
elif testlist:
test_args = testlist
else:
Expand Down

0 comments on commit 0a97062

Please sign in to comment.