pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

coreclr-git: Reenable timeout(1) to kill hanging tests



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Apr 23 15:48:50 2016 +0200
Changeset:	8ae233d680a4e757aec8f884f40a73c16d69e96a

Modified Files:
	corefx-git/distinfo
Added Files:
	corefx-git/patches/patch-run-test.sh

Log Message:
coreclr-git: Reenable timeout(1) to kill hanging tests

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8ae233d680a4e757aec8f884f40a73c16d69e96a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 corefx-git/distinfo                  |  1 +
 corefx-git/patches/patch-run-test.sh | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)

diffs:
diff --git a/corefx-git/distinfo b/corefx-git/distinfo
index 167fab1..e7d6f15 100644
--- a/corefx-git/distinfo
+++ b/corefx-git/distinfo
@@ -1,3 +1,4 @@
 $NetBSD$
+SHA1 (patch-run-test.sh) = 18b62a5f7118eb99da76de8cc99d12e986f03636
 SHA1 (patch-src_Native_System.Net.Security.Native_CMakeLists.txt) = 6f39c82e1d870dbf5b092a7b017727d0cc409886
 SHA1 (patch-src_Native_configure.cmake) = 9428d24bc7c166d6567959d0bcc34ba96446fe42
diff --git a/corefx-git/patches/patch-run-test.sh b/corefx-git/patches/patch-run-test.sh
new file mode 100644
index 0000000..bc1bda6
--- /dev/null
+++ b/corefx-git/patches/patch-run-test.sh
@@ -0,0 +1,16 @@
+$NetBSD$
+
+--- run-test.sh.orig	2016-04-20 18:37:43.000000000 +0000
++++ run-test.sh
+@@ -185,9 +185,9 @@ run_test()
+ 
+   echo
+   echo "Running tests in $dirName"
+-  echo "./corerun xunit.console.netcore.exe $testProject.dll -xml testResults.xml -notrait category=failing $OuterLoop $IgnoreForCI -notrait category=$xunitOSCategory -notrait Benchmark=true"
++  echo "timeout -s SIGKILL 15m ./corerun xunit.console.netcore.exe $testProject.dll -xml testResults.xml -notrait category=failing $OuterLoop $IgnoreForCI -notrait category=$xunitOSCategory -notrait Benchmark=true"
+   echo
+-  ./corerun xunit.console.netcore.exe "$testProject.dll" -xml testResults.xml -notrait category=failing $OuterLoop $IgnoreForCI -notrait category=$xunitOSCategory -notrait Benchmark=true
++  timeout -s SIGKILL 15m ./corerun xunit.console.netcore.exe "$testProject.dll" -xml testResults.xml -notrait category=failing $OuterLoop $IgnoreForCI -notrait category=$xunitOSCategory -notrait Benchmark=true
+   exitCode=$?
+ 
+   if [ $exitCode -ne 0 ]


Home | Main Index | Thread Index | Old Index