Parallel calls t.Parallel, unless TS_SERIAL_TESTS is set true.
(t *testing.T)
| 67 | |
| 68 | // Parallel calls t.Parallel, unless TS_SERIAL_TESTS is set true. |
| 69 | func Parallel(t *testing.T) { |
| 70 | if !serializeParallel() { |
| 71 | t.Parallel() |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | // RequireRoot skips the test if the current user is not root. |
| 76 | func RequireRoot(tb testing.TB) { |
no outgoing calls
searching dependent graphs…