Skip to content

Commit

Permalink
Update tests/scripts/unit_tests/test_subset.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixdong committed Dec 9, 2024
1 parent 2a7f852 commit 6f9a32a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/scripts/unit_tests/test_subset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ run_tests() {
for _test_file in $_test_files; do
wait_for_gpu
echo "Running single test: $_test_file"
torchrun --nproc_per_node=8 -m pytest --import-mode=importlib --cov=${backend}/${coverage} --cov-append --cov-report=xml:$xml_report --cov-report=html:$html_report -q -x -p no:warnings -m $ignore_cmd $_test_file
torchrun --nproc_per_node=8 -m pytest --import-mode=importlib --cov=${backend}/${coverage} --cov-append --cov-report=xml:$xml_report --cov-report=html:$html_report -q -x -p no:warnings $ignore_cmd $_test_file

# Check the exit status of pytest
if [ $? -ne 0 ]; then
Expand Down

0 comments on commit 6f9a32a

Please sign in to comment.