mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-05 03:27:48 +00:00
avr: use a stack size of 512 bytes for testing
The goroutine tests are failing with the default 256 byte stack size.
This commit is contained in:
committed by
Ron Evans
parent
b4fa658705
commit
32a7b8cc4e
+1
-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" {
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"inherits": ["atmega1284p"],
|
||||
"scheduler": "tasks",
|
||||
"default-stack-size": 512
|
||||
}
|
||||
Reference in New Issue
Block a user