avr: use a stack size of 512 bytes for testing
The goroutine tests are failing with the default 256 byte stack size.
Этот коммит содержится в:
родитель
b4fa658705
коммит
32a7b8cc4e
2 изменённых файлов: 6 добавлений и 3 удалений
|
@ -173,9 +173,7 @@ func TestBuild(t *testing.T) {
|
|||
avrTests = append(avrTests, t)
|
||||
}
|
||||
}
|
||||
opts := optionsFromTarget("atmega1284p", sema)
|
||||
opts.Scheduler = "tasks"
|
||||
runPlatTests(opts, avrTests, t)
|
||||
runPlatTests(optionsFromTarget("simavr", sema), avrTests, t)
|
||||
})
|
||||
|
||||
if runtime.GOOS == "linux" {
|
||||
|
|
5
targets/simavr.json
Обычный файл
5
targets/simavr.json
Обычный файл
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"inherits": ["atmega1284p"],
|
||||
"scheduler": "tasks",
|
||||
"default-stack-size": 512
|
||||
}
|
Загрузка…
Создание таблицы
Сослаться в новой задаче