summaryrefslogtreecommitdiff
path: root/tests/src
diff options
context:
space:
mode:
authorVladimir Sadov <vsadov@microsoft.com>2019-07-10 20:33:58 -0700
committerGitHub <noreply@github.com>2019-07-10 20:33:58 -0700
commited6d0ee3237fe6ddc8fe44e76442b58b48c4e904 (patch)
tree585a3bd8e852195a7adce7048b94a57d425a8c7d /tests/src
parentef2f9f41555c453451a5003f1be4bb9888ab078d (diff)
downloadcoreclr-ed6d0ee3237fe6ddc8fe44e76442b58b48c4e904.tar.gz
coreclr-ed6d0ee3237fe6ddc8fe44e76442b58b48c4e904.tar.bz2
coreclr-ed6d0ee3237fe6ddc8fe44e76442b58b48c4e904.zip
refresh GC reliability tests (#25622)
* refresh GC reliability tests * Update stress instructions (PR feedback)
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/GC/Stress/Framework/ReliabilityFramework.cs10
-rw-r--r--tests/src/GC/Stress/Framework/ReliabilityFramework.csproj2
-rw-r--r--tests/src/GC/Stress/stress_run_readme.txt9
3 files changed, 13 insertions, 8 deletions
diff --git a/tests/src/GC/Stress/Framework/ReliabilityFramework.cs b/tests/src/GC/Stress/Framework/ReliabilityFramework.cs
index b3eb0e74fd..197cbc415e 100644
--- a/tests/src/GC/Stress/Framework/ReliabilityFramework.cs
+++ b/tests/src/GC/Stress/Framework/ReliabilityFramework.cs
@@ -167,7 +167,7 @@ public class ReliabilityFramework
foreach (string arg in args)
{
rf._logger.WriteToInstrumentationLog(null, LoggingLevels.StartupShutdown, String.Format("Argument: {0}", arg));
- if (arg[0] == '/' || arg[0] == '-')
+ if (arg[0] == '-')
{
if (String.Compare(arg.Substring(1), "replay", true) == 0)
{
@@ -207,14 +207,14 @@ public class ReliabilityFramework
}
if (!okToContinue)
{
- Console.WriteLine("\r\nWhidbey Host Interface Reliability Harness\r\n");
+ Console.WriteLine("\r\nHost Interface Reliability Harness\r\n");
Console.WriteLine("Usage: ReliabiltityFramework [options] <test config file>");
Console.WriteLine("");
Console.WriteLine("Available options: ");
Console.WriteLine("");
- Console.WriteLine(" /replay - Replay from log file");
- Console.WriteLine(" /{0}:<tests> - Comma delimited list of tests to run (no spaces)", sTests);
- Console.WriteLine(" /{0}:<seed> - Random Number seed for replays", sSeed);
+ Console.WriteLine(" -replay - Replay from log file");
+ Console.WriteLine(" -{0}:<tests> - Comma delimited list of tests to run (no spaces)", sTests);
+ Console.WriteLine(" -{0}:<seed> - Random Number seed for replays", sSeed);
rf._logger.WriteToInstrumentationLog(null, LoggingLevels.StartupShutdown, "Not ok to continue.");
#if PROJECTK_BUILD
diff --git a/tests/src/GC/Stress/Framework/ReliabilityFramework.csproj b/tests/src/GC/Stress/Framework/ReliabilityFramework.csproj
index 91921abba7..c772c9b3e5 100644
--- a/tests/src/GC/Stress/Framework/ReliabilityFramework.csproj
+++ b/tests/src/GC/Stress/Framework/ReliabilityFramework.csproj
@@ -12,7 +12,7 @@
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
<CLRTestKind>BuildOnly</CLRTestKind>
<GenerateRunScript>false</GenerateRunScript>
- <CLRTestPriority>1</CLRTestPriority>
+ <CLRTestPriority>0</CLRTestPriority>
<DefineConstants>$(DefineConstants);STATIC;PROJECTK_BUILD</DefineConstants>
</PropertyGroup>
<!-- Default configurations to help VS understand the configurations -->
diff --git a/tests/src/GC/Stress/stress_run_readme.txt b/tests/src/GC/Stress/stress_run_readme.txt
index 7a2cf2b1ab..f0efa71073 100644
--- a/tests/src/GC/Stress/stress_run_readme.txt
+++ b/tests/src/GC/Stress/stress_run_readme.txt
@@ -18,7 +18,12 @@ The stress framework is built from <REPO_ROOT>\tests\src\GC\Stress\Framework
The tests are built from <REPO_ROOT>\tests\src\GC\Stress\Tests
-The config is at <REPO_ROOT>NDP\clr\tests\src\GC\Stress\testmix_gc.config, this will be copied to the output folder of Framework
+The config is at <REPO_ROOT>\tests\src\GC\Stress\testmix_gc.config, this will be copied to the output folder of Framework
+
+The easiest way to build the Framework+Tests is by building all tests - "<REPO_ROOT>\build_test[.bat|.sh]"
+
+Sometimes there is a need (after initial build) to rebuild Framework+Tests. For example when modifying the Framework to add a new scenario or when investigating a failure.
+In such case it is possible to go directly into the the Framework directory and build manually- Ex: "dotnet build -c:debug".
3. Running stress
@@ -30,7 +35,7 @@ To run stress:
(or if you copied testmix_gc.config somewhere else you need to tell it so, eg, c:\TestConfigs\testmix_gc.config)
-We recommand to run it for 48 hours (see the comments below on maximumExecutionTime in test config for more detail).
+We recommend to run it for 48 hours (see the comments below on maximumExecutionTime in test config for more detail).
4. Test config