Skip to content

Commit 8da42bf

Browse files
committed
tests: fix ./v -W build-tools CI failure
1 parent 5277ce7 commit 8da42bf

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cmd/tools/modules/testing/common.v

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,9 @@ fn worker_trunner(mut p pool.PoolProcessor, idx int, thread_id int) voidptr {
376376
}
377377
if details.flaky && !testing.fail_flaky {
378378
ts.append_message(.info, ' *FAILURE* of the known flaky test file $relative_file is ignored, since VTEST_FAIL_FLAKY is 0 . Retry count: $details.retry .')
379-
goto test_passed_system
379+
unsafe {
380+
goto test_passed_system
381+
}
380382
}
381383
ts.failed = true
382384
ts.benchmark.fail()
@@ -416,7 +418,9 @@ fn worker_trunner(mut p pool.PoolProcessor, idx int, thread_id int) voidptr {
416418
}
417419
if details.flaky && !testing.fail_flaky {
418420
ts.append_message(.info, ' *FAILURE* of the known flaky test file $relative_file is ignored, since VTEST_FAIL_FLAKY is 0 . Retry count: $details.retry .')
419-
goto test_passed_system
421+
unsafe {
422+
goto test_passed_execute
423+
}
420424
}
421425
ts.failed = true
422426
ts.benchmark.fail()

0 commit comments

Comments
 (0)