on master help sign in
selftest: expect tools/golden to split a dying batch in halves
a3ea2ccClaude
tools/testdata/selftest+1−1
@@ -415,7 +415,7 @@ def check_eval_death(c, tmp):
415 add_case(cases, 'bails', b'bail\n')
415 add_case(cases, 'bails', b'bail\n')
416 status, out = golden('--dir', cases, '--lib', STUB)
416 status, out = golden('--dir', cases, '--lib', STUB)
417 c.expect(status == 1, 'exit status %d, not 1' % status)
417 c.expect(status == 1, 'exit status %d, not 1' % status)
418− c.expect('running each alone' in out, 'no word on rerunning:\n' + out)
418+ c.expect('running each half' in out, 'no word on splitting the cases:\n' + out)
419 c.expect('FAIL bails: crashed' in out and 'bail: %' in out,
419 c.expect('FAIL bails: crashed' in out and 'bail: %' in out,
420 'the case that ended the eval is not named:\n' + out)
420 'the case that ended the eval is not named:\n' + out)
421 for name in os.listdir(CASES):
421 for name in os.listdir(CASES):