From ea48ece2c4725bd2c2be1534b2f32d9cbdaa02a8 Mon Sep 17 00:00:00 2001 From: Robert Foss Date: Thu, 24 Jan 2019 16:31:57 +0100 Subject: [PATCH] ci: Filter out commented lines from ignore_tests.txt files Reviewed-by: Gurchetan Singh Signed-off-by: Jakob Bornecrantz Signed-off-by: Robert Foss --- ci/run_test_suite.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ci/run_test_suite.sh b/ci/run_test_suite.sh index e6215e0..4c927e4 100755 --- a/ci/run_test_suite.sh +++ b/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}"