summaryrefslogtreecommitdiff
path: root/.jenkins
diff options
context:
space:
mode:
authorPeter Goldsborough <peter@goldsborough.me>2018-03-09 13:02:02 -0800
committerAdam Paszke <adam.paszke@gmail.com>2018-03-09 22:02:02 +0100
commit53876c46065691348455cbd6b80d6709748e5a36 (patch)
treebc779f9a30c8e6d49da135774327937d56dbdcec /.jenkins
parentd4c0538be27ac6f537bf1d82559d805baef5101d (diff)
downloadpytorch-53876c46065691348455cbd6b80d6709748e5a36.tar.gz
pytorch-53876c46065691348455cbd6b80d6709748e5a36.tar.bz2
pytorch-53876c46065691348455cbd6b80d6709748e5a36.zip
Rewrite run_test.sh in Python (#5615)
Diffstat (limited to '.jenkins')
-rwxr-xr-x.jenkins/macos-build-test.sh3
-rwxr-xr-x.jenkins/test.sh2
-rwxr-xr-x.jenkins/win-test.sh2
3 files changed, 3 insertions, 4 deletions
diff --git a/.jenkins/macos-build-test.sh b/.jenkins/macos-build-test.sh
index 03319863c2..c24cac94a2 100755
--- a/.jenkins/macos-build-test.sh
+++ b/.jenkins/macos-build-test.sh
@@ -20,7 +20,6 @@ export CC=clang
# If we run too many parallel jobs, we will OOM
export MAX_JOBS=2
python setup.py install
-cd test/
echo "Ninja version: $(ninja --version)"
-sh run_test.sh -- -v
+python test/run_test.py --verbose
echo "BUILD PASSED"
diff --git a/.jenkins/test.sh b/.jenkins/test.sh
index 6614bcc8d7..4c9afb3b99 100755
--- a/.jenkins/test.sh
+++ b/.jenkins/test.sh
@@ -57,7 +57,7 @@ if [[ "$JOB_NAME" == *asan* ]]; then
export LD_PRELOAD=/usr/lib/llvm-5.0/lib/clang/5.0.0/lib/linux/libclang_rt.asan-x86_64.so
fi
-time test/run_test.sh -- -v
+time python test/run_test.py --verbose
rm -rf ninja
diff --git a/.jenkins/win-test.sh b/.jenkins/win-test.sh
index e92d558c38..315a3af940 100755
--- a/.jenkins/win-test.sh
+++ b/.jenkins/win-test.sh
@@ -72,7 +72,7 @@ cd test/
python ..\\ci_scripts\\download_image.py %IMAGE_COMMIT_TAG%.7z
7z x %IMAGE_COMMIT_TAG%.7z
-sh run_test.sh -- -v && python ..\\ci_scripts\\delete_image.py
+python run_test.py --verbose && python ..\\ci_scripts\\delete_image.py
EOL