Skip to content

Commit e0787c7

Browse files
committed
filter empty lines from skiplists
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent edabb5e commit e0787c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/pytest-utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pytest() {
3535
if [[ -v TRITON_TEST_SUITE && -f $TRITON_TEST_SKIPLIST_DIR/$TRITON_TEST_SUITE.txt ]]; then
3636
mkdir -p "$CURRENT_SKIPLIST_DIR"
3737
# skip comments in the skiplist
38-
sed -e '/^#/d' "$TRITON_TEST_SKIPLIST_DIR/$TRITON_TEST_SUITE.txt" > "$CURRENT_SKIPLIST_DIR/$TRITON_TEST_SUITE.txt"
38+
sed -e '/^#/d' -e '/^\s*$/d' "$TRITON_TEST_SKIPLIST_DIR/$TRITON_TEST_SUITE.txt" > "$CURRENT_SKIPLIST_DIR/$TRITON_TEST_SUITE.txt"
3939
if [[ $TEST_UNSKIP = false ]]; then
4040
pytest_extra_args+=(
4141
"--deselect-from-file=$CURRENT_SKIPLIST_DIR/$TRITON_TEST_SUITE.txt"

0 commit comments

Comments
 (0)