We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6a3d8b commit 420b4aeCopy full SHA for 420b4ae
1 file changed
avocado_vt/discovery.py
@@ -16,6 +16,7 @@
16
"""
17
Avocado VT plugin
18
19
+import re
20
21
from virttest.compat import get_opt
22
@@ -47,6 +48,10 @@ def convert_parameters(self, params):
47
48
:return: dict with test name and vt parameters
49
50
test_name = params.get("_short_name_map_file")["subtests.cfg"]
51
+ # Store the pure test case name by removing type_specific and provider prefixes
52
+ params["full_testcase_name"] = re.sub(
53
+ r"^(type_specific\.)?(io-[^.]+\.)", "", test_name
54
+ )
55
if get_opt(self.config, "vt.config") and get_opt(
56
self.config, "vt.short_names_when_config"
57
):
0 commit comments