Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion testing/baselines/tests.install-force-test-fail/out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
=== install without skiptests
error: failed to run tests for one<...>/foo: test_command failed with exit code 1
error: failed to run tests for one<...>/foo: test_command failed with exit code 1; stdout: <...>/zkg.test_command.stdout; stderr: <...>/zkg.test_command.stderr
Running unit tests for "one<...>/foo"
have_load_foo=0
=== install with skiptests
Expand Down
2 changes: 1 addition & 1 deletion testing/baselines/tests.upgrade-test-fail/out
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Installing "one<...>/foo"
Installed "one<...>/foo" (1.0.2)
Loaded "one<...>/foo"
=== upgrade without skiptests
error: failed to run tests for one<...>/foo: test_command failed with exit code 1
error: failed to run tests for one<...>/foo: test_command failed with exit code 1; stdout: <...>/zkg.test_command.stdout; stderr: <...>/zkg.test_command.stderr
Running unit tests for "one<...>/foo"
=== upgrade with skiptest
Upgraded "one<...>/foo" (1.0.3)
Expand Down
3 changes: 2 additions & 1 deletion zeekpkg/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -2783,7 +2783,8 @@ def test(
if rc != 0:
assert stage.state_dir
return (
f"test_command failed with exit code {rc}",
f"test_command failed with exit code {rc}; "
f"stdout: {outfile}; stderr: {errfile}",
False,
stage.state_dir,
)
Expand Down
Loading