Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/unittest_check_gpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ python -m pip install -r requirements.txt

echo '************************************************************************************************************'
echo "Checking code unit test by pytest ..."
python -m pip install pytest-timeout pytest-xdist pytest-rerunfailures
python -m pytest -n 1 --reruns=3 ./tests; check_error=$?
python -m pip install pytest-timeout pytest-xdist pytest-rerunfailures pytest-forked
python -m pytest --forked -n 1 --reruns=3 ./tests; check_error=$?
if [ ${check_error} != 0 ];then
echo "Rerun unit test check."
python -m pytest -n 1 --lf ./tests; check_error=$?
Expand Down