Skip to content

Commit 51cef7b

Browse files
authored
Use skip list directly (#3944)
Previously we needed to transform a skip list and this was removed recently, so we do not need to copy a skip list and can use it directly.
1 parent 3fb0f1c commit 51cef7b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

scripts/pytest-utils.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ if [[ $TEST_UNSKIP = true ]]; then
1414
fi
1515
# absolute path for the selected skip list
1616
TRITON_TEST_SKIPLIST_DIR="$(cd "$TRITON_TEST_SKIPLIST_DIR" && pwd)"
17-
# absolute path for the current skip list
18-
CURRENT_SKIPLIST_DIR="$SCRIPTS_DIR/skiplist/current"
1917

2018
pytest() {
2119
pytest_extra_args=()
@@ -41,11 +39,9 @@ pytest() {
4139
fi
4240

4341
if [[ ! -f $TRITON_TEST_SELECTFILE && -v TRITON_TEST_SUITE && -f $TRITON_TEST_SKIPLIST_DIR/$TRITON_TEST_SUITE.txt ]]; then
44-
mkdir -p "$CURRENT_SKIPLIST_DIR"
45-
cp "$TRITON_TEST_SKIPLIST_DIR/$TRITON_TEST_SUITE.txt" "$CURRENT_SKIPLIST_DIR/$TRITON_TEST_SUITE.txt"
4642
if [[ $TEST_UNSKIP = false ]]; then
4743
pytest_extra_args+=(
48-
"--skip-from-file=$CURRENT_SKIPLIST_DIR/$TRITON_TEST_SUITE.txt"
44+
"--skip-from-file=$TRITON_TEST_SKIPLIST_DIR/$TRITON_TEST_SUITE.txt"
4945
)
5046
else
5147
pytest_extra_args+=(

0 commit comments

Comments
 (0)