From 03c79973f0a8478637eb01f952eb42b9a8b5ecc7 Mon Sep 17 00:00:00 2001 From: Matthew Thompson Date: Sun, 26 Nov 2023 12:37:04 -0500 Subject: [PATCH] Remove ignore errors --- .github/workflows/boxes.yml | 3 --- test/testrunner.sh | 4 ---- 2 files changed, 7 deletions(-) diff --git a/.github/workflows/boxes.yml b/.github/workflows/boxes.yml index ab98539..6163815 100644 --- a/.github/workflows/boxes.yml +++ b/.github/workflows/boxes.yml @@ -22,9 +22,6 @@ env: jobs: build: runs-on: ubuntu-latest - env: - LEX: flex - YACC: bison steps: - uses: actions/checkout@v4 diff --git a/test/testrunner.sh b/test/testrunner.sh index 326e914..5f239eb 100755 --- a/test/testrunner.sh +++ b/test/testrunner.sh @@ -159,16 +159,12 @@ function measure_coverage() fi } -# NOTE: It is possible when the white box tests work that we can -# remove the --ignore-errors unused option. But for now, we use it so -# that the CI is "happy" and we can get a baseline. function consolidate_coverage() { echo -e "\nConsolidating test coverage ..." pushd ${OUT_DIR}/test-results || exit 1 find . -name "*.info" | xargs printf -- '--add-tracefile %s\n' | xargs --exit \ lcov --rc branch_coverage=1 --exclude '*/lex.yy.c' --exclude '*/parser.c' \ - --ignore-errors unused \ --output-file ../${COVERAGE_FILE} --add-tracefile ../${BASELINE_FILE} popd || exit 1 echo ""