mirror of
https://github.com/MedzikUser/go-github-selfupdate.git
synced 2024-08-15 03:25:29 +00:00
do not run E2E test on short mode
This commit is contained in:
parent
9cf8d19c61
commit
7eef061d32
1 changed files with 7 additions and 6 deletions
|
@ -5,12 +5,13 @@ import (
|
|||
"testing"
|
||||
)
|
||||
|
||||
func init() {
|
||||
if err := exec.Command("go", "build", "../cmd/selfupdate-example/main.go").Run(); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
|
||||
func TestRunSelfUpdateExample(t *testing.T) {
|
||||
if testing.Short() {
|
||||
t.Skip("skipping test in short mode.")
|
||||
}
|
||||
|
||||
if err := exec.Command("go", "build", "../cmd/selfupdate-example").Run(); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Fatal("TODO")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue