Skip to content

Commit 4652cea

Browse files
committed
log: add extra error logging in wasm tests to diagnose current CI failures
Signed-off-by: deadprogram <ron@hybridgroup.com>
1 parent 44c909b commit 4652cea

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

tests/wasm/chan_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ func TestChan(t *testing.T) {
2626
true`),
2727
)
2828
if err != nil {
29+
t.Logf("test error: %s", err.Error())
2930
t.Fatal(err)
3031
}
3132
}

tests/wasm/event_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ true`),
3535
t.Logf("log1: %s", log1)
3636
t.Logf("log2: %s", log2)
3737
if err != nil {
38+
t.Logf("test error: %s", err.Error())
3839
t.Fatal(err)
3940
}
4041

tests/wasm/fmt_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ func TestFmt(t *testing.T) {
2525
)
2626
t.Logf("log1: %s", log1)
2727
if err != nil {
28+
t.Logf("test error: %s", err.Error())
2829
t.Fatal(err)
2930
}
3031

tests/wasm/fmtprint_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ test from fmtprint 4`),
2828
)
2929
t.Logf("log1: %s", log1)
3030
if err != nil {
31+
t.Logf("test error: %s", err.Error())
3132
t.Fatal(err)
3233
}
3334

tests/wasm/log_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ $`),
3333
)
3434
t.Logf("log1: %s", log1)
3535
if err != nil {
36+
t.Logf("test error: %s", err.Error())
3637
t.Fatal(err)
3738
}
3839

0 commit comments

Comments
 (0)