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/23 01:58:25 UTC
[incubator-mxnet] branch ib/ci-jl-win updated: add comments
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 a713aed add comments
a713aed is described below
commit a713aedac4986a5e41999994f573a014a5cd2887
Author: Iblis Lin <ib...@hs.ntnu.edu.tw>
AuthorDate: Wed Jan 23 09:58:06 2019 +0800
add comments
---
ci/windows/test_jl07_cpu.ps1 | 4 ++++
ci/windows/test_jl10_cpu.ps1 | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/ci/windows/test_jl07_cpu.ps1 b/ci/windows/test_jl07_cpu.ps1
index 9a81da0..6cd34ef 100644
--- a/ci/windows/test_jl07_cpu.ps1
+++ b/ci/windows/test_jl07_cpu.ps1
@@ -48,5 +48,9 @@ $src='
'
$src > .\ci-build.jl
+
+# Redirect all stderr output to stdout,
+# since Julia loggers output stuffs to stderr.
+# Then, stderr triggers powershell NativeCommandError.
& $JULIA .\ci-build.jl 2>&1 | %{ "$_" }
if ($LastExitCode -eq 1) { Throw ("Error") }
diff --git a/ci/windows/test_jl10_cpu.ps1 b/ci/windows/test_jl10_cpu.ps1
index c86bc26..96c4190 100644
--- a/ci/windows/test_jl10_cpu.ps1
+++ b/ci/windows/test_jl10_cpu.ps1
@@ -48,5 +48,9 @@ $src='
'
$src > .\ci-build.jl
+
+# Redirect all stderr output to stdout,
+# since Julia loggers output stuffs to stderr.
+# Then, stderr triggers powershell NativeCommandError.
& $JULIA .\ci-build.jl 2>&1 | %{ "$_" }
if ($LastExitCode -eq 1) { Throw ("Error") }