mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-09-09 22:19:29 +00:00
test: run panic recovery on ESP32 QEMU
This commit is contained in:
+6
-1
@@ -295,7 +295,12 @@ func TestESP32QEMU(t *testing.T) {
|
|||||||
if !regexp.MustCompile(`(?m)^esp32\s`).Match(machines) {
|
if !regexp.MustCompile(`(?m)^esp32\s`).Match(machines) {
|
||||||
t.Skip("qemu-system-xtensa does not support the ESP32 machine")
|
t.Skip("qemu-system-xtensa does not support the ESP32 machine")
|
||||||
}
|
}
|
||||||
runTest("print.go", options, t, nil, nil)
|
for _, name := range []string{"print.go", "recover.go"} {
|
||||||
|
t.Run(name, func(t *testing.T) {
|
||||||
|
t.Parallel()
|
||||||
|
runTest(name, options, t, nil, nil)
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func runPlatTests(options compileopts.Options, tests []string, t *testing.T) {
|
func runPlatTests(options compileopts.Options, tests []string, t *testing.T) {
|
||||||
|
|||||||
Reference in New Issue
Block a user