mirror of
https://github.com/vbatts/tar-split.git
synced 2024-12-18 19:46:29 +00:00
magefile: include benchmark in test
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
58175ba396
commit
724d595c03
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ func Lint() error {
|
||||||
// Run the tests available
|
// Run the tests available
|
||||||
func Test() error {
|
func Test() error {
|
||||||
fmt.Println("Testing...")
|
fmt.Println("Testing...")
|
||||||
cmd := exec.Command("go", "test", "-v", "./...")
|
cmd := exec.Command("go", "test", "-cover", "-v", "-bench", "'.'", "-benchmem", "./...")
|
||||||
cmd.Stdout = Stdout
|
cmd.Stdout = Stdout
|
||||||
cmd.Stderr = Stderr
|
cmd.Stderr = Stderr
|
||||||
return cmd.Run()
|
return cmd.Run()
|
||||||
|
|
Loading…
Reference in a new issue