avocado.job: Fix bug running dropin tests

The heuristics to determine wether a test is a dropin
was wrong since we introduced multiplexing. This patch
fixes it.
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
上级 745725c5
......@@ -63,7 +63,7 @@ class TestRunner(object):
"""
shortname = params.get('shortname')
url = shortname.split('.')[0]
path_attempt = os.path.abspath(url)
path_attempt = os.path.abspath(shortname)
if os.path.exists(path_attempt):
test_class = test.DropinTest
test_instance = test_class(path=path_attempt,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册