15 lines
334 B
Go
15 lines
334 B
Go
|
package toolkit
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
// MarkIntegrationTest marks a test as being an integration test. It will be
|
||
|
// skipped if the ISLE_INTEGRATION_TEST envvar isn't set.
|
||
|
func MarkIntegrationTest(t *testing.T) {
|
||
|
if os.Getenv("ISLE_INTEGRATION_TEST") == "" {
|
||
|
t.Skip("Skipped because ISLE_INTEGRATION_TEST isn't set")
|
||
|
}
|
||
|
}
|