ci: Filter out commented lines from ignore_tests.txt files

Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Signed-off-by: Jakob Bornecrantz <jakob@collabora.com>
Signed-off-by: Robert Foss <robert.foss@collabora.com>
macos/master
Robert Foss 6 years ago committed by Jakob Bornecrantz
parent a5547fb7c8
commit ea48ece2c4
  1. 5
      ci/run_test_suite.sh

@ -325,6 +325,11 @@ create_result_dir()
PREVIOUS_RESULTS_DIR=$VIRGL_PATH/ci/previous_results/${TEST_PATH}
IGNORE_TESTS_FILE=$PREVIOUS_RESULTS_DIR/ignore_tests.txt
# Remove comments from test-list
FILTERED_TEST_FILE=$(mktemp /tmp/virgl-ci.XXXXX)
cat $IGNORE_TESTS_FILE 2>/dev/null | grep -Ev "^#" | sed '/^$/d' > $FILTERED_TEST_FILE
IGNORE_TESTS_FILE=$FILTERED_TEST_FILE
mkdir -p "$RESULTS_DIR"
export OUTPUT_PATH="${RESULTS_DIR}"

Loading…
Cancel
Save