pkgsrc-WIP-changes archive

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

corefx-git: Try to add timeout(1) to handle hanging tests



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Mar 1 12:34:41 2016 +0100
Changeset:	c8d1e9df8d047802c676940064eddfad14a04a64

Modified Files:
	corefx-git/distinfo
	corefx-git/patches/patch-src_System.Net.Primitives_tests_PalTests_System.Net.Primitives.Pal.Tests.csproj
	corefx-git/patches/patch-src_System.Net.Primitives_tests_UnitTests_System.Net.Primitives.UnitTests.Tests.csproj
Added Files:
	corefx-git/patches/patch-run-test.sh

Log Message:
corefx-git: Try to add timeout(1) to handle hanging tests

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

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

diffstat:
 corefx-git/distinfo                                         |  5 +++--
 corefx-git/patches/patch-run-test.sh                        | 13 +++++++++++++
 ...es_tests_PalTests_System.Net.Primitives.Pal.Tests.csproj |  2 +-
 ...s_UnitTests_System.Net.Primitives.UnitTests.Tests.csproj |  2 +-
 4 files changed, 18 insertions(+), 4 deletions(-)

diffs:
diff --git a/corefx-git/distinfo b/corefx-git/distinfo
index f2bb1ec..2b8f9d7 100644
--- a/corefx-git/distinfo
+++ b/corefx-git/distinfo
@@ -1,12 +1,13 @@
 $NetBSD$
+SHA1 (patch-run-test.sh) = 7d849403f8b4babf214ccf0b609712f770fa925c
 SHA1 (patch-src_System.Diagnostics.TextWriterTraceListener_tests_System.Diagnostics.TextWriterTraceListener.Tests.csproj) = 3444446dea13c4b3568a705150e204f6bf6142b1
 SHA1 (patch-src_System.IO.FileSystem.DriveInfo_tests_System.IO.FileSystem.DriveInfo.Tests.csproj) = 2566a3cb4e92de519569461cae2a2b9b6b6554da
 SHA1 (patch-src_System.Net.Http_tests_FunctionalTests_System.Net.Http.Functional.Tests.csproj) = b49b15fc11b7c5373d237ebea524dbeab77ac653
 SHA1 (patch-src_System.Net.NameResolution_tests_FunctionalTests_System.Net.NameResolution.Functional.Tests.csproj) = 20073552527d651b49ca54f12f38ee1d8e34e518
 SHA1 (patch-src_System.Net.NameResolution_tests_PalTests_System.Net.NameResolution.Pal.Tests.csproj) = 869d96d5b36cba1da239d27378b799eb08a971f1
 SHA1 (patch-src_System.Net.Primitives_tests_FunctionalTests_System.Net.Primitives.Functional.Tests.csproj) = 148c2f65f5b8bf4768822ee4cda5924f3a75bc1a
-SHA1 (patch-src_System.Net.Primitives_tests_PalTests_System.Net.Primitives.Pal.Tests.csproj) = df65256fb5bd93c269c328d6d3bd439793b712c5
-SHA1 (patch-src_System.Net.Primitives_tests_UnitTests_System.Net.Primitives.UnitTests.Tests.csproj) = f966ec7ea207196c85743381c4524cff3d726c4c
+SHA1 (patch-src_System.Net.Primitives_tests_PalTests_System.Net.Primitives.Pal.Tests.csproj) = 6081fd464da9617e0c976a22e75572c8c469c5f6
+SHA1 (patch-src_System.Net.Primitives_tests_UnitTests_System.Net.Primitives.UnitTests.Tests.csproj) = 034d24b57bfc3f66cd5990cb31c1aeb113ad0856
 SHA1 (patch-src_System.Net.Sockets.Legacy_tests_FunctionalTests_System.Net.Sockets.APMServer.Tests.csproj) = ce8df8345074568b7551d05f3a906609f174d2d5
 SHA1 (patch-src_System.Net.Sockets.Legacy_tests_FunctionalTests_System.Net.Sockets.AsyncServer.Tests.csproj) = 612c57ec6478e232fd707e502255ce460ba05a43
 SHA1 (patch-src_System.Net.Sockets.Legacy_tests_PerformanceTests_System.Net.Sockets.APM.Performance.Tests.csproj) = b3835f5cb2939d5cb5093cbb1d2ca5a3843488a0
diff --git a/corefx-git/patches/patch-run-test.sh b/corefx-git/patches/patch-run-test.sh
new file mode 100644
index 0000000..a8965d0
--- /dev/null
+++ b/corefx-git/patches/patch-run-test.sh
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- run-test.sh.orig	2016-02-28 15:39:48.000000000 +0000
++++ run-test.sh
+@@ -184,7 +184,7 @@ runtest()
+ 
+   echo
+   echo "Running tests in $dirName"
+-  echo "./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing -notrait category=OuterLoop -notrait category=$xunitOSCategory" -notrait Benchmark=true
++  echo "timeout 15m ./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing -notrait category=OuterLoop -notrait category=$xunitOSCategory" -notrait Benchmark=true
+   echo
+   ./corerun xunit.console.netcore.exe $testDllName -xml testResults.xml -notrait category=failing -notrait category=OuterLoop -notrait category=$xunitOSCategory -notrait Benchmark=true
+   exitCode=$?
diff --git a/corefx-git/patches/patch-src_System.Net.Primitives_tests_PalTests_System.Net.Primitives.Pal.Tests.csproj b/corefx-git/patches/patch-src_System.Net.Primitives_tests_PalTests_System.Net.Primitives.Pal.Tests.csproj
index f5f9517..c037e21 100644
--- a/corefx-git/patches/patch-src_System.Net.Primitives_tests_PalTests_System.Net.Primitives.Pal.Tests.csproj
+++ b/corefx-git/patches/patch-src_System.Net.Primitives_tests_PalTests_System.Net.Primitives.Pal.Tests.csproj
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- src/System.Net.Primitives/tests/PalTests/System.Net.Primitives.Pal.Tests.csproj.orig	2016-03-01 04:32:05.540867654 +0000
+--- src/System.Net.Primitives/tests/PalTests/System.Net.Primitives.Pal.Tests.csproj.orig	2016-03-01 04:32:05.000000000 +0000
 +++ src/System.Net.Primitives/tests/PalTests/System.Net.Primitives.Pal.Tests.csproj
 @@ -23,7 +23,7 @@
    <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Windows_Release|AnyCPU'" />
diff --git a/corefx-git/patches/patch-src_System.Net.Primitives_tests_UnitTests_System.Net.Primitives.UnitTests.Tests.csproj b/corefx-git/patches/patch-src_System.Net.Primitives_tests_UnitTests_System.Net.Primitives.UnitTests.Tests.csproj
index 39b05f0..130c962 100644
--- a/corefx-git/patches/patch-src_System.Net.Primitives_tests_UnitTests_System.Net.Primitives.UnitTests.Tests.csproj
+++ b/corefx-git/patches/patch-src_System.Net.Primitives_tests_UnitTests_System.Net.Primitives.UnitTests.Tests.csproj
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- src/System.Net.Primitives/tests/UnitTests/System.Net.Primitives.UnitTests.Tests.csproj.orig	2016-03-01 04:32:05.540954746 +0000
+--- src/System.Net.Primitives/tests/UnitTests/System.Net.Primitives.UnitTests.Tests.csproj.orig	2016-03-01 04:32:05.000000000 +0000
 +++ src/System.Net.Primitives/tests/UnitTests/System.Net.Primitives.UnitTests.Tests.csproj
 @@ -21,7 +21,7 @@
    <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Windows_Debug|AnyCPU'" />


Home | Main Index | Thread Index | Old Index