Skip to content

Commit c3eb0d5

Browse files
committed
Make the hypothesis examples database persistent in test_cupy.sh
1 parent 046ffd0 commit c3eb0d5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test_cupy.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,10 @@ git checkout asmeurer/xfails-file
2323

2424
git submodule update --init
2525

26+
# store the hypothesis examples database in this directory, so that failures
27+
# will be remembered across runs
28+
mkdir -p $SCRIPT_DIR/.hypothesis
29+
ln -s $SCRIPT_DIR/.hypothesis .hypothesis
30+
2631
export ARRAY_API_TESTS_MODULE=array_api_compat.cupy
2732
pytest ${PYTEST_ARGS} --xfails-file $SCRIPT_DIR/cupy-xfails.txt --skips-file $SCRIPT_DIR/cupy-skips.txt $@

0 commit comments

Comments
 (0)