mirror of
https://git.numenor-labs.us/dsfx.git
synced 2025-04-29 16:20:34 +00:00
19 lines
247 B
Go
19 lines
247 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"os"
|
||
|
"os/exec"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
cmd := exec.Command("go", "test", "-bench=Handshake", "./pkg/handshake/...")
|
||
|
|
||
|
output, err := cmd.Output()
|
||
|
if err != nil {
|
||
|
panic(err)
|
||
|
}
|
||
|
|
||
|
fmt.Fprint(os.Stdout, string(output))
|
||
|
}
|