Skip to content

Commit 3219e3f

Browse files
committed
Add HCKTrace extension
Signed-off-by: Kostiantyn Kostiuk <kkostiuk@redhat.com>
1 parent aac9c70 commit 3219e3f

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"extra_software": [
3+
"hcktrace"
4+
],
5+
"post_start_commands": [
6+
{
7+
"desc": "Configure HCKTrace service for driver tracing",
8+
"guest_run": "Start-Process -Wait -FilePath hcktrace.exe -ArgumentList driver,@driver_short_name@,@driver_dir@,4"
9+
}
10+
],
11+
"tests_config": [
12+
{
13+
"tests": [
14+
".*"
15+
],
16+
"pre_test_commands": [
17+
{
18+
"desc": "Start HCKTrace recording",
19+
"guest_run": "Start-Process -Wait -FilePath hcktrace.exe -ArgumentList test,@safe_test_name@"
20+
}
21+
],
22+
"post_test_commands": [
23+
{
24+
"desc": "Stop HCKTrace recording",
25+
"guest_run": "Start-Process -Wait -FilePath hcktrace.exe -ArgumentList test,end",
26+
"files_action": [
27+
{
28+
"remote_path": "C:/hcktrace/zip",
29+
"local_path": "@workspace@/trace-@safe_test_name@-@client_name@-@run_number@",
30+
"direction": "remote-to-local",
31+
"move": true,
32+
"allow_missing": true
33+
}
34+
]
35+
}
36+
]
37+
}
38+
]
39+
}

0 commit comments

Comments
 (0)