lint: Call lint_scripted_diff from test_runner

Allowing to call the check from the test_runner allows for consistent
error messages and better UX by having a single test_runner for all
checks.

This requires the env var to be set for now. The next commit makes the
commit range optional.
This commit is contained in:
MarcoFalke
2025-01-23 10:38:50 +01:00
parent 35bf426e02
commit fa673cf344
2 changed files with 23 additions and 1 deletions

View File

@@ -25,7 +25,6 @@ export COMMIT_RANGE
echo
git log --no-merges --oneline "$COMMIT_RANGE"
echo
test/lint/commit-script-check.sh "$COMMIT_RANGE"
RUST_BACKTRACE=1 "${LINT_RUNNER_PATH}/test_runner"
if [ "$CIRRUS_REPO_FULL_NAME" = "bitcoin/bitcoin" ] && [ "$CIRRUS_PR" = "" ] ; then