test: add -short flag that only tests on the host

Этот коммит содержится в:
Ayke van Laethem 2019-02-05 01:04:41 +01:00 коммит произвёл Ron Evans
родитель d63ce0646c
коммит 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) {