mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-21 21:09:02 +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...")
|
t.Log("running tests on the qemu target...")
|
||||||
for _, path := range matches {
|
for _, path := range matches {
|
||||||
t.Run(path, func(t *testing.T) {
|
t.Run(path, func(t *testing.T) {
|
||||||
|
|||||||
Reference in New Issue
Block a user