Each build module parsed its own test runner's output, so a fix in one never reached the others: a failed node --test run was worded by a passing line of its first file. buildstep.Failure names the test, its file, its cause and its own output; ReadGoTest (moved from mesh-build-go) and ReadTAP fill it; package conformance holds every build module to it with runner output captured with the build nodes' own toolchains.
27 lines
541 B
Plaintext
27 lines
541 B
Plaintext
TAP version 13
|
|
# Subtest: passes before the wait
|
|
ok 1 - passes before the wait
|
|
---
|
|
duration_ms: 0.683015
|
|
type: 'test'
|
|
...
|
|
# Subtest: waits for an answer that never comes
|
|
not ok 2 - waits for an answer that never comes
|
|
---
|
|
duration_ms: 201.103775
|
|
type: 'test'
|
|
location: '/tmp/1901k/node/timeout/test/a.test.ts:3:1'
|
|
failureType: 'testTimeoutFailure'
|
|
error: 'test timed out after 200ms'
|
|
code: 'ERR_TEST_FAILURE'
|
|
...
|
|
1..2
|
|
# tests 2
|
|
# suites 0
|
|
# pass 1
|
|
# fail 0
|
|
# cancelled 1
|
|
# skipped 0
|
|
# todo 0
|
|
# duration_ms 308.920061
|