mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 02:57:46 +00:00
test: add -short flag that only tests on the host
This commit is contained in:
committed by
Ron Evans
parent
d63ce0646c
commit
a789108926
@@ -49,6 +49,10 @@ func TestCompiler(t *testing.T) {
|
||||
})
|
||||
}
|
||||
|
||||
if testing.Short() {
|
||||
return
|
||||
}
|
||||
|
||||
t.Log("running tests on the qemu target...")
|
||||
for _, path := range matches {
|
||||
t.Run(path, func(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user