test: add -short flag that only tests on the host
Этот коммит содержится в:
родитель
d63ce0646c
коммит
a789108926
1 изменённых файлов: 4 добавлений и 0 удалений
|
@ -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) {
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче