You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ib...@apache.org on 2019/01/22 13:41:36 UTC
[incubator-mxnet] branch ib/ci-jl-win updated: LastExitCode
This is an automated email from the ASF dual-hosted git repository.
iblis pushed a commit to branch ib/ci-jl-win
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/ib/ci-jl-win by this push:
new b07d234 LastExitCode
b07d234 is described below
commit b07d234eff85bc8be19593bb5cbb34f886bdb353
Author: Iblis Lin <ib...@hs.ntnu.edu.tw>
AuthorDate: Tue Jan 22 21:41:29 2019 +0800
LastExitCode
---
ci/windows/test_jl07_cpu.ps1 | 2 +-
ci/windows/test_jl10_cpu.ps1 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ci/windows/test_jl07_cpu.ps1 b/ci/windows/test_jl07_cpu.ps1
index b146b78..9a81da0 100644
--- a/ci/windows/test_jl07_cpu.ps1
+++ b/ci/windows/test_jl07_cpu.ps1
@@ -49,4 +49,4 @@ $src='
$src > .\ci-build.jl
& $JULIA .\ci-build.jl 2>&1 | %{ "$_" }
-if (! $?) { Throw ("Error") }
+if ($LastExitCode -eq 1) { Throw ("Error") }
diff --git a/ci/windows/test_jl10_cpu.ps1 b/ci/windows/test_jl10_cpu.ps1
index dd34b4d..c86bc26 100644
--- a/ci/windows/test_jl10_cpu.ps1
+++ b/ci/windows/test_jl10_cpu.ps1
@@ -49,4 +49,4 @@ $src='
$src > .\ci-build.jl
& $JULIA .\ci-build.jl 2>&1 | %{ "$_" }
-if (! $?) { Throw ("Error") }
+if ($LastExitCode -eq 1) { Throw ("Error") }