Skip to content

Commit a789108

Browse files
aykevldeadprogram
authored andcommitted
test: add -short flag that only tests on the host
1 parent d63ce06 commit a789108

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ func TestCompiler(t *testing.T) {
4949
})
5050
}
5151

52+
if testing.Short() {
53+
return
54+
}
55+
5256
t.Log("running tests on the qemu target...")
5357
for _, path := range matches {
5458
t.Run(path, func(t *testing.T) {

0 commit comments

Comments
 (0)