pkgsrc-WIP-changes archive

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

corefx-git: Restore timeout(1) usage, many tests still hang



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sun Mar 6 18:20:57 2016 +0100
Changeset:	ba32aa2b3f8b31b87b12fc2db371383cd2409600

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

Log Message:
corefx-git: Restore timeout(1) usage, many tests still hang

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

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 c641c55..65a246e 100644
--- a/corefx-git/distinfo
+++ b/corefx-git/distinfo
@@ -1 +1,2 @@
 $NetBSD$
+SHA1 (patch-run-test.sh) = a50960196fadc4e6d7b6c6f7bbf968b46ff284b4
diff --git a/corefx-git/patches/patch-run-test.sh b/corefx-git/patches/patch-run-test.sh
new file mode 100644
index 0000000..96a1caf
--- /dev/null
+++ b/corefx-git/patches/patch-run-test.sh
@@ -0,0 +1,16 @@
+$NetBSD$
+
+--- run-test.sh.orig	2016-03-02 23:13:05.000000000 +0000
++++ run-test.sh
+@@ -184,9 +184,9 @@ runtest()
+ 
+   echo
+   echo "Running tests in $dirName"
+-  echo "./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing $OuterLoop -notrait category=$xunitOSCategory" -notrait Benchmark=true
++  echo "timeout -s SIGKILL 15m ./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing $OuterLoop -notrait category=$xunitOSCategory" -notrait Benchmark=true
+   echo
+-  ./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing $OuterLoop -notrait category=$xunitOSCategory -notrait Benchmark=true
++  timeout -s SIGKILL 15m ./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing $OuterLoop -notrait category=$xunitOSCategory -notrait Benchmark=true
+   exitCode=$?
+ 
+   if [ $exitCode -ne 0 ]


Home | Main Index | Thread Index | Old Index