Skip to content

Commit

Permalink
Use submitted test-spec as a full filename
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanconn committed Jul 10, 2018
1 parent 8294787 commit 8e5272d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testr/packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def process_opt():
# and reads additional test file include/excludes.
opt.regress_dir = os.path.join(opt.regress_dir, opt.test_spec)

with open('test_spec_{}'.format(opt.test_spec), 'r') as fh:
with open('{}'.format(opt.test_spec), 'r') as fh:
specs = (line.strip() for line in fh)
specs = [spec for spec in specs if spec and not spec.startswith('#')]

Expand Down

0 comments on commit 8e5272d

Please sign in to comment.