(t TB, reason string)
| 89 | } |
| 90 | |
| 91 | func SkipTestIfShortMode(t TB, reason string) { |
| 92 | if t != nil { |
| 93 | t.Helper() |
| 94 | if testing.Short() { |
| 95 | t.Skip(reason) |
| 96 | } |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | // ExitInShortMode closes the current process (with 0) if the short test mode detected. |
| 101 | // |
searching dependent graphs…