Skip to content

feat(test): show executed commands for failing test scripts#2266

Open
mohitdebian wants to merge 7 commits intoprefix-dev:mainfrom
mohitdebian:fix-test-script-logging
Open

feat(test): show executed commands for failing test scripts#2266
mohitdebian wants to merge 7 commits intoprefix-dev:mainfrom
mohitdebian:fix-test-script-logging

Conversation

@mohitdebian
Copy link
Contributor

Fixes #2264

Currently rattler-build only reports "Script failed with status 1" when a
tests.script command fails, which makes it difficult to determine which
command caused the failure.

This change prepends set -x to test scripts in run_commands_test()
so that each command is printed before execution.

The change only affects test scripts and does not modify build script behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

no visibility into failing script: calls during test

1 participant