Skip to content

Commit

Permalink
fix bash
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaOfOcean committed Aug 30, 2024
1 parent 5487526 commit 4e993eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/run_tests.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash
#set -exo pipefail
export PYTHONPATH=$(cd ../ && pwd):${PWD}:${PYTHONPATH}
CDIR="$(cd "$(dirname "$0")" ; pwd -P)"
LOGFILE=/tmp/pytorch_py_test.log
Expand Down Expand Up @@ -45,7 +44,7 @@ function run_test {
rm -rf core*
ray stop
"$@"
if [ $? -eq 0 ]; then
if [[ $? -eq 0 ]]; then
echo "$@ success"
break
fi
Expand Down

0 comments on commit 4e993eb

Please sign in to comment.