You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by dp...@apache.org on 2018/05/20 15:48:57 UTC
[13/50] logging-log4net git commit: Add diagnostics to the
runtests-netstandard-1.3 target to allow troubleshooting why the test run
fails
Add diagnostics to the runtests-netstandard-1.3 target to allow troubleshooting why the test run fails
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/9f7118c5
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/9f7118c5
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/9f7118c5
Branch: refs/heads/feature/RollingFileAppender-NG
Commit: 9f7118c5962cd2ab6304a789e2567e7224a216d5
Parents: c4bcd6e
Author: Dominik Psenner <dp...@apache.org>
Authored: Thu Jan 18 19:33:50 2018 +0100
Committer: Dominik Psenner <dp...@apache.org>
Committed: Thu Jan 18 19:33:50 2018 +0100
----------------------------------------------------------------------
Jenkinsfile | 2 ++
tests/nant.build | 8 +++++---
2 files changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/9f7118c5/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index ffea54a..7ebb98a 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -65,6 +65,7 @@ pipeline {
// test
sh "nant -buildfile:tests/nant.build runtests-netstandard-1.3"
stash includes: '**/*.trx', name: 'netstandard-1.3-testresults'
+ stash includes: '**/*.log', name: 'netstandard-1.3-testlogs'
}
}
}
@@ -233,6 +234,7 @@ pipeline {
unstash 'mono-3.5-testresults'
unstash 'mono-4.0-testresults'
unstash 'netstandard-1.3-testresults'
+ unstash 'netstandard-1.3-testlogs'
// unstash site
unstash 'site'
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/9f7118c5/tests/nant.build
----------------------------------------------------------------------
diff --git a/tests/nant.build b/tests/nant.build
index 4c6536f..dabbf5d 100644
--- a/tests/nant.build
+++ b/tests/nant.build
@@ -866,10 +866,12 @@ limitations under the License.
</target>
<target name="runtests-netstandard-1.3" description="Runs log4net tests on .NET Standard 1.3">
- <exec program="dotnet" workingdir="${log4net.basedir}/netstandard/1.3" failonerror="false">
+ <exec program="dotnet" workingdir="${log4net.basedir}/netstandard/1.3" failonerror="false">
<arg value="test"/>
- <arg value="--logger:trx"/>
- <arg value="log4net.tests/log4net.tests.csproj" />
+ <arg value="--logger:trx"/>
+ <arg value="-d"/>
+ <arg value="test.diagnostics.log"/>
+ <arg value="log4net.tests/log4net.tests.csproj" />
</exec>
</target>