Started working on automatic tests
This commit is contained in:
parent
38fd739009
commit
28d307201d
20
jobs/test/test.go
Normal file
20
jobs/test/test.go
Normal file
@ -0,0 +1,20 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"os"
|
||||
"os/exec"
|
||||
)
|
||||
|
||||
func main() {
|
||||
cmd := exec.Command("go", "test", "github.com/animenotifier/notify.moe")
|
||||
cmd.Stdout = os.Stdout
|
||||
cmd.Stderr = os.Stderr
|
||||
|
||||
err := cmd.Start()
|
||||
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
cmd.Wait()
|
||||
}
|
Loading…
Reference in New Issue
Block a user