Skip to content

Commit c27eb40

Browse files
Tóth Bélartakacs
authored andcommitted
Fix testsuite argument (#222)
The previous implementation handled relative paths wrong, causing an error. Now all paths are converted into absolute path, to avoid this behaviour. JSRemoteTest-DCO-1.0-Signed-off-by: Bela Toth [email protected]
1 parent d959431 commit c27eb40

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jstest/__main__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ def adjust_options(options):
182182
if utils.get_environment('VERBOSE'):
183183
jstest.console.warning('--quiet option disables VERBOSE output!')
184184

185+
if options.testsuite:
186+
options.testsuite = utils.abspath(options.testsuite)
187+
185188
return options
186189

187190

0 commit comments

Comments
 (0)