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 committed 2025-01-23 10:49:37 +01:00
1 parent 35bf426e02
commit fa673cf344
2 files changed
+23 -1

No files matched your search

-1
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