File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -213,9 +213,19 @@ for TEST_PATH in "${BENCHMARK_DIR}"/*; do
213213 ERROR_FILE=" ${OUTPUT_DIR} /${TEST_FILE} .err"
214214
215215 FAILED=
216- ${TEST_PATH} --cli " ${TEST_CLI} " --baseline-cli " ${BASELINE_CLI} " --json " ${JSON_FILE} " ${SHOW_OUTPUT} > " ${OUTPUT_FILE} " 2> " ${ERROR_FILE} " || FAILED=1
216+ {
217+ ${TEST_PATH} --cli " ${TEST_CLI} " --baseline-cli " ${BASELINE_CLI} " --json " ${JSON_FILE} " ${SHOW_OUTPUT} > " ${OUTPUT_FILE} " 2> " ${ERROR_FILE} " ;
218+ FAILED=$?
219+ } || true
217220
218- if [ " ${FAILED} " = " 1" ]; then
221+ if [ " ${FAILED} " = " 2" ]; then
222+ if [ " ${VERBOSE} " != " 1" ]; then
223+ echo " skipped!"
224+ fi
225+
226+ indent < " ${ERROR_FILE} "
227+ continue
228+ elif [ " ${FAILED} " != " 0" ]; then
219229 if [ " ${VERBOSE} " != " 1" ]; then
220230 echo " failed!"
221231 fi
Original file line number Diff line number Diff line change @@ -408,6 +408,6 @@ needs_repo() {
408408 echo " remote repository ('${REPO_REMOTE_URL} ') locally then set," 1>&2
409409 echo " the 'BENCHMARK_${REPO_UPPER} _REPOSITORY' environment variable to the path that" 1>&2
410410 echo " contains the repository locally, then run this benchmark again." 1>&2
411- exit 1
411+ exit 2
412412 fi
413413}
You can’t perform that action at this time.
0 commit comments