mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-16 10:43:29 +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)
|
avrTests = append(avrTests, t)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
opts := optionsFromTarget("atmega1284p", sema)
|
runPlatTests(optionsFromTarget("simavr", sema), avrTests, t)
|
||||||
opts.Scheduler = "tasks"
|
|
||||||
runPlatTests(opts, avrTests, t)
|
|
||||||
})
|
})
|
||||||
|
|
||||||
if runtime.GOOS == "linux" {
|
if runtime.GOOS == "linux" {
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"inherits": ["atmega1284p"],
|
||||||
|
"scheduler": "tasks",
|
||||||
|
"default-stack-size": 512
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user