Skip to content
Bitcoin Roots

v31.1-roots.1 · Commit 11: [PATCH 11/17] fix(test): bound policy oracles and retain CI diagnostics

ci/test/03_test_script.sh

Before: ci/test/03_test_script.sh · After: ci/test/03_test_script.sh

File metadata
index 92e376a44bbe3f31a6c4bc0f9c343df89a58be2b..30ee8421d2e3faeeb65a0c0298b264425de31412 100755

Download original patch · Release notes

Diff rows 1–16 of 16. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

ci/test/03_test_script.sh CHANGED
@@ -168,7 +168,7 @@ if [ "$RUN_FUNCTIONAL_TESTS" = "true" ]; then
168
  if [[ "${ROOTS_CI_CADENCE:-}" == fast ]]; then
169
  LD_LIBRARY_PATH="${DEPENDS_DIR}/${HOST}/lib" \
170
  python3 "${BASE_ROOT_DIR}/ci/test/roots-regressions.py" functional --cadence fast \
171
- --build-dir "$BASE_BUILD_DIR" --artifacts "${BASE_SCRATCH_DIR}/roots-failures" -- \
172
  "$MAKEJOBS" --tmpdirprefix "${BASE_SCRATCH_DIR}/test_runner/" \
173
  --ansi --combinedlogslen=99999999 --timeout-factor="${TEST_RUNNER_TIMEOUT_FACTOR}" \
174
  "${TEST_RUNNER_EXTRA[@]}" --quiet
@@ -249,7 +249,7 @@ if [ "$RUN_FUZZ_TESTS" = "true" ]; then
249
  if [[ -n "${ROOTS_CI_CADENCE:-}" ]]; then
250
  python3 "${BASE_ROOT_DIR}/ci/test/roots-regressions.py" fuzz \
251
  --cadence "$ROOTS_CI_CADENCE" --build-dir "$BASE_BUILD_DIR" \
252
- --artifacts "${BASE_SCRATCH_DIR}/roots-failures"
253
  fi
254
  fi
255
 
 
168
  if [[ "${ROOTS_CI_CADENCE:-}" == fast ]]; then
169
  LD_LIBRARY_PATH="${DEPENDS_DIR}/${HOST}/lib" \
170
  python3 "${BASE_ROOT_DIR}/ci/test/roots-regressions.py" functional --cadence fast \
171
+ --build-dir "$BASE_BUILD_DIR" --artifacts "${ROOTS_ARTIFACTS_DIR:-${BASE_SCRATCH_DIR}/roots-failures}" -- \
172
  "$MAKEJOBS" --tmpdirprefix "${BASE_SCRATCH_DIR}/test_runner/" \
173
  --ansi --combinedlogslen=99999999 --timeout-factor="${TEST_RUNNER_TIMEOUT_FACTOR}" \
174
  "${TEST_RUNNER_EXTRA[@]}" --quiet
 
249
  if [[ -n "${ROOTS_CI_CADENCE:-}" ]]; then
250
  python3 "${BASE_ROOT_DIR}/ci/test/roots-regressions.py" fuzz \
251
  --cadence "$ROOTS_CI_CADENCE" --build-dir "$BASE_BUILD_DIR" \
252
+ --artifacts "${ROOTS_ARTIFACTS_DIR:-${BASE_SCRATCH_DIR}/roots-failures}"
253
  fi
254
  fi
255