Ends the test as skipped, from the procedure it is written in.
needs_a_gpu :: (t: *Test) {
skip(t, "no GPU on this machine");
} @testThis one is only checked to compile, not run.
- t: the running test.
- reason: why it is skipped; shown in the report.
skip :: (t: *Test, reason := "")
Ends the test as skipped, from the procedure it is written in.
Parameters
- t: *Test
- the running test.
- reason := ""
- why it is skipped; shown in the report.
needs_a_gpu :: (t: *Test) {
skip(t, "no GPU on this machine");
} @testThis one is only checked to compile, not run.