Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
adjust path to run install test
Browse files Browse the repository at this point in the history
  • Loading branch information
kmaehashi committed Feb 19, 2021
1 parent 3d15ddb commit 0e0539a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 7 additions & 3 deletions test_cupy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

pip install --user cupy/[jenkins]

cd cupy/tests

# Shows cupy config before running the tests
python -c 'import cupy; cupy.show_config()'

Expand All @@ -26,7 +24,13 @@ else
pytest_opts+=(-m 'not slow')
fi

python -m pytest "${pytest_opts[@]}" .
pushd cupy
python -m pytest "${pytest_opts[@]}" tests/install_tests
popd

pushd cupy/tests
python -m pytest "${pytest_opts[@]}" cupy_tests cupyx_tests example_tests
popd

# Submit coverage to Coveralls
python ../push_coveralls.py
Expand Down
10 changes: 7 additions & 3 deletions test_cupy_slow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

pip install --user cupy/[jenkins]

cd cupy/tests

export CUPY_DUMP_CUDA_SOURCE_ON_ERROR=1

pytest_opts=(
Expand All @@ -23,4 +21,10 @@ else
pytest_opts+=(-m 'slow')
fi

python -m pytest "${pytest_opts[@]}" .
pushd cupy
python -m pytest "${pytest_opts[@]}" tests/install_tests
popd

pushd cupy/tests
python -m pytest "${pytest_opts[@]}" cupy_tests cupyx_tests example_tests
popd

0 comments on commit 0e0539a

Please sign in to comment.