From 73c24cbc657182e2c8c82be18222d4ac0ec788a9 Mon Sep 17 00:00:00 2001 From: Rama krishnan Raghupathy Date: Wed, 11 May 2016 23:56:29 -0700 Subject: [PATCH] Removing Redundant Projects that are BuildOnly : RunOnly Projects should refer to only BuildAndRun projects BuildOnly projects are to be used only for Non-Execution cases and custom execution drivers --- Documentation/building/test-configuration.md | 2 +- Documentation/project-docs/tests.md | 33 --- tests/runtest.sh | 19 ++ tests/src/CLRTest.Execute.Bash.targets | 61 ++-- tests/src/CLRTest.Execute.Batch.targets | 38 +-- .../threading/interlocked/add/CheckAddInt.csproj | 4 +- .../threading/interlocked/add/CheckAddInt_2.csproj | 44 --- .../threading/interlocked/add/CheckAddLong.csproj | 4 +- .../interlocked/add/CheckAddLong_2.csproj | 44 --- .../interlocked/add/InterlockedAddInt.csproj | 4 +- .../interlocked/add/InterlockedAddInt_4.csproj | 44 --- .../interlocked/add/InterlockedAddLong.csproj | 4 +- .../interlocked/add/InterlockedAddLong_3.csproj | 44 --- .../compareexchange/CompareExchangeLong.csproj | 4 +- .../compareexchange/CompareExchangeLong_4.csproj | 44 --- .../compareexchange/CompareExchangeTClass.csproj | 4 +- .../compareexchange/CompareExchangeTClass_2.csproj | 44 --- .../interlocked/exchange/ExchangeTString.csproj | 4 +- .../interlocked/exchange/ExchangeTString_3.csproj | 44 --- .../threading/multiinstance/app.config | 31 -- .../threading/multiinstance/multiinstance.cs | 322 --------------------- .../threading/multiinstance/multiinstance.csproj | 49 ---- .../threading/multiinstance/project.json | 45 --- .../paramthreadstart/ThreadStartBool.csproj | 5 +- .../paramthreadstart/ThreadStartBool_1.csproj | 3 +- .../paramthreadstart/ThreadStartBool_2.csproj | 44 --- .../paramthreadstart/ThreadStartByte.csproj | 4 +- .../paramthreadstart/ThreadStartByte_3.csproj | 44 --- .../paramthreadstart/ThreadStartCast.csproj | 4 +- .../paramthreadstart/ThreadStartCast_3.csproj | 44 --- .../paramthreadstart/ThreadStartChar.csproj | 4 +- .../paramthreadstart/ThreadStartChar_4.csproj | 44 --- .../paramthreadstart/ThreadStartDecimal.csproj | 4 +- .../paramthreadstart/ThreadStartDecimal_3.csproj | 44 --- .../paramthreadstart/ThreadStartDelegate.csproj | 4 +- .../paramthreadstart/ThreadStartDelegate_3.csproj | 44 --- .../paramthreadstart/ThreadStartDouble.csproj | 4 +- .../paramthreadstart/ThreadStartDouble_3.csproj | 44 --- .../paramthreadstart/ThreadStartFloat.csproj | 4 +- .../paramthreadstart/ThreadStartFloat_3.csproj | 44 --- .../paramthreadstart/ThreadStartGenerics.csproj | 4 +- .../paramthreadstart/ThreadStartGenerics_3.csproj | 44 --- .../paramthreadstart/ThreadStartInt.csproj | 4 +- .../paramthreadstart/ThreadStartInt_3.csproj | 44 --- .../paramthreadstart/ThreadStartLong.csproj | 4 +- .../paramthreadstart/ThreadStartLong_3.csproj | 44 --- .../paramthreadstart/ThreadStartObject.csproj | 4 +- .../paramthreadstart/ThreadStartObject_2.csproj | 3 +- .../paramthreadstart/ThreadStartOperations.csproj | 4 +- .../ThreadStartOperations_3.csproj | 44 --- .../paramthreadstart/ThreadStartSByte.csproj | 4 +- .../paramthreadstart/ThreadStartSByte_3.csproj | 44 --- .../paramthreadstart/ThreadStartShort.csproj | 4 +- .../paramthreadstart/ThreadStartShort_3.csproj | 44 --- .../paramthreadstart/ThreadStartString.csproj | 4 +- .../paramthreadstart/ThreadStartString_4.csproj | 44 --- .../paramthreadstart/ThreadStartUInt.csproj | 4 +- .../paramthreadstart/ThreadStartUInt_3.csproj | 44 --- .../paramthreadstart/ThreadStartULong.csproj | 4 +- .../paramthreadstart/ThreadStartULong_3.csproj | 44 --- .../paramthreadstart/ThreadStartUShort.csproj | 4 +- .../paramthreadstart/ThreadStartUShort_3.csproj | 44 --- 62 files changed, 123 insertions(+), 1688 deletions(-) delete mode 100644 Documentation/project-docs/tests.md delete mode 100644 tests/src/baseservices/threading/interlocked/add/CheckAddInt_2.csproj delete mode 100644 tests/src/baseservices/threading/interlocked/add/CheckAddLong_2.csproj delete mode 100644 tests/src/baseservices/threading/interlocked/add/InterlockedAddInt_4.csproj delete mode 100644 tests/src/baseservices/threading/interlocked/add/InterlockedAddLong_3.csproj delete mode 100644 tests/src/baseservices/threading/interlocked/compareexchange/CompareExchangeLong_4.csproj delete mode 100644 tests/src/baseservices/threading/interlocked/compareexchange/CompareExchangeTClass_2.csproj delete mode 100644 tests/src/baseservices/threading/interlocked/exchange/ExchangeTString_3.csproj delete mode 100644 tests/src/baseservices/threading/multiinstance/app.config delete mode 100644 tests/src/baseservices/threading/multiinstance/multiinstance.cs delete mode 100644 tests/src/baseservices/threading/multiinstance/multiinstance.csproj delete mode 100644 tests/src/baseservices/threading/multiinstance/project.json delete mode 100644 tests/src/baseservices/threading/paramthreadstart/ThreadStartBool_2.csproj delete mode 100644 tests/src/baseservices/threading/paramthreadstart/ThreadStartByte_3.csproj delete mode 100644 tests/src/baseservices/threading/paramthreadstart/ThreadStartCast_3.csproj delete mode 100644 tests/src/baseservices/threading/paramthreadstart/ThreadStartChar_4.csproj delete mode 100644 tests/src/baseservices/threading/paramthreadstart/ThreadStartDecimal_3.csproj delete mode 100644 tests/src/baseservices/threading/paramthreadstart/ThreadStartDelegate_3.csproj delete mode 100644 tests/src/baseservices/threading/paramthreadstart/ThreadStartDouble_3.csproj delete mode 100644 tests/src/baseservices/threading/paramthreadstart/ThreadStartFloat_3.csproj delete mode 100644 tests/src/baseservices/threading/paramthreadstart/ThreadStartGenerics_3.csproj delete mode 100644 tests/src/baseservices/threading/paramthreadstart/ThreadStartInt_3.csproj delete mode 100644 tests/src/baseservices/threading/paramthreadstart/ThreadStartLong_3.csproj delete mode 100644 tests/src/baseservices/threading/paramthreadstart/ThreadStartOperations_3.csproj delete mode 100644 tests/src/baseservices/threading/paramthreadstart/ThreadStartSByte_3.csproj delete mode 100644 tests/src/baseservices/threading/paramthreadstart/ThreadStartShort_3.csproj delete mode 100644 tests/src/baseservices/threading/paramthreadstart/ThreadStartString_4.csproj delete mode 100644 tests/src/baseservices/threading/paramthreadstart/ThreadStartUInt_3.csproj delete mode 100644 tests/src/baseservices/threading/paramthreadstart/ThreadStartULong_3.csproj delete mode 100644 tests/src/baseservices/threading/paramthreadstart/ThreadStartUShort_3.csproj diff --git a/Documentation/building/test-configuration.md b/Documentation/building/test-configuration.md index a1e67a6..931a540 100644 --- a/Documentation/building/test-configuration.md +++ b/Documentation/building/test-configuration.md @@ -10,7 +10,7 @@ * Run Only > `RunOnly` - * Will only execute another assembly. + * Can use Ouput of Build and Run Project with different command line arguments. * Build and Run > `BuildAndRun` diff --git a/Documentation/project-docs/tests.md b/Documentation/project-docs/tests.md deleted file mode 100644 index ca6a5ef..0000000 --- a/Documentation/project-docs/tests.md +++ /dev/null @@ -1,33 +0,0 @@ - -### Kinds of Build Properties ### -* Build Only -> `BuildOnly` - - * Builds an executable. - * Will not execute it. - -* Run Only -> `RunOnly` - - * Will only execute another assembly. -* Build and Run -> `BuildAndRun` - - * Builds an executable. - * Will execute said executable. -* Shared Libraries -> `SharedLibrary` - - * For building libraries common to zero or more tests. - - -By default (i.e. if not specified explicitly) a project file is BuildAndRun. - -### Priority ### -Testcases are categorized by their priority levels. The most important subset should be and is the smallest subset. This subset is called priority 0. - * By default, a testcase is priority 0. You must elect to de-prioritize a test. - * To de-prioritize a test, add a property _CLRTestPriority_ to the test's project file. -> `2` - * Lower priority values are always run in conjunction when running higher priority value tests. I.e. if a developer elects to do a priority 2 test run, then all priority 0, 1 and 2 tests are run. - - diff --git a/tests/runtest.sh b/tests/runtest.sh index 9e3ab02..14eeced 100755 --- a/tests/runtest.sh +++ b/tests/runtest.sh @@ -601,6 +601,19 @@ function finish_remaining_tests { ((nextProcessIndex = 0)) } +function prep_test { + local scriptFilePath=$1 + + test "$verbose" == 1 && echo "Preparing $scriptFilePath" + + # Convert DOS line endings to Unix if needed + perl -pi -e 's/\r\n|\n|\r/\n/g' "$scriptFilePath" + + # Add executable file mode bit if needed + chmod +x "$scriptFilePath" + +} + function start_test { local scriptFilePath=$1 if ((runFailingTestsOnly == 1)) && ! is_failing_test "$scriptFilePath"; then @@ -653,6 +666,12 @@ function set_test_directories { function run_tests_in_directory { local testDir=$1 + # Recursively search through directories for .sh files to prepare them. + for scriptFilePath in $(find "$testDir" -type f -iname '*.sh' | sort) + do + prep_test "${scriptFilePath:2}" + done + echo "The tests have been prepared" # Recursively search through directories for .sh files to run. for scriptFilePath in $(find "$testDir" -type f -iname '*.sh' | sort) do diff --git a/tests/src/CLRTest.Execute.Bash.targets b/tests/src/CLRTest.Execute.Bash.targets index ef6f0b8..0779102 100644 --- a/tests/src/CLRTest.Execute.Bash.targets +++ b/tests/src/CLRTest.Execute.Bash.targets @@ -1,6 +1,6 @@ - - - - - + - + @@ -144,7 +133,7 @@ fi + DependsOnTargets="FetchExternalPropertiesForXpalt;GetCrossgenBashScript;GetIlasmRoundTripBashScript"> @@ -174,19 +163,20 @@ echo "Skipping execution because long-running GC tests are not enabled" exit 0 ]]> - - + true =* debuggerFullPath - <_CLRTestRunFile Condition="'$(CLRTestIsHosted)'=='true'">"$CORE_ROOT/corerun" - + diff --git a/tests/src/CLRTest.Execute.Batch.targets b/tests/src/CLRTest.Execute.Batch.targets index e317f63..a1688b3 100644 --- a/tests/src/CLRTest.Execute.Batch.targets +++ b/tests/src/CLRTest.Execute.Batch.targets @@ -1,6 +1,6 @@ - - - - - + + @@ -171,13 +163,13 @@ Exit /b 0 ]]> @@ -262,10 +254,18 @@ IF NOT "!ERRORLEVEL!"=="%CLRTestExpectedExitCode%" ( Exit /b 1 ) ]]> - + + diff --git a/tests/src/baseservices/threading/interlocked/add/CheckAddInt.csproj b/tests/src/baseservices/threading/interlocked/add/CheckAddInt.csproj index e2305bb..fec0206 100644 --- a/tests/src/baseservices/threading/interlocked/add/CheckAddInt.csproj +++ b/tests/src/baseservices/threading/interlocked/add/CheckAddInt.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + /start:2147483647 /add:100 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/interlocked/add/CheckAddInt_2.csproj b/tests/src/baseservices/threading/interlocked/add/CheckAddInt_2.csproj deleted file mode 100644 index 99d9fb3..0000000 --- a/tests/src/baseservices/threading/interlocked/add/CheckAddInt_2.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - CheckAddInt.csproj - /start:2147483647 /add:100 - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/interlocked/add/CheckAddLong.csproj b/tests/src/baseservices/threading/interlocked/add/CheckAddLong.csproj index 5f5b20d..b7ebc2e 100644 --- a/tests/src/baseservices/threading/interlocked/add/CheckAddLong.csproj +++ b/tests/src/baseservices/threading/interlocked/add/CheckAddLong.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + /start:922337203685477 /add:100 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/interlocked/add/CheckAddLong_2.csproj b/tests/src/baseservices/threading/interlocked/add/CheckAddLong_2.csproj deleted file mode 100644 index c98c7c1..0000000 --- a/tests/src/baseservices/threading/interlocked/add/CheckAddLong_2.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - CheckAddLong.csproj - /start:922337203685477 /add:100 - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/interlocked/add/InterlockedAddInt.csproj b/tests/src/baseservices/threading/interlocked/add/InterlockedAddInt.csproj index 176f0ab..2b3eb18 100644 --- a/tests/src/baseservices/threading/interlocked/add/InterlockedAddInt.csproj +++ b/tests/src/baseservices/threading/interlocked/add/InterlockedAddInt.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + /loops:100 /addVal:-214748 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/interlocked/add/InterlockedAddInt_4.csproj b/tests/src/baseservices/threading/interlocked/add/InterlockedAddInt_4.csproj deleted file mode 100644 index b6d4b7e..0000000 --- a/tests/src/baseservices/threading/interlocked/add/InterlockedAddInt_4.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - InterlockedAddInt.csproj - /loops:100 /addVal:-214748 - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/interlocked/add/InterlockedAddLong.csproj b/tests/src/baseservices/threading/interlocked/add/InterlockedAddLong.csproj index 4f834a3..de1ddd8 100644 --- a/tests/src/baseservices/threading/interlocked/add/InterlockedAddLong.csproj +++ b/tests/src/baseservices/threading/interlocked/add/InterlockedAddLong.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + /loops:100 /addVal:100 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/interlocked/add/InterlockedAddLong_3.csproj b/tests/src/baseservices/threading/interlocked/add/InterlockedAddLong_3.csproj deleted file mode 100644 index 2ef6276..0000000 --- a/tests/src/baseservices/threading/interlocked/add/InterlockedAddLong_3.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - InterlockedAddLong.csproj - /loops:100 /addVal:100 - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/interlocked/compareexchange/CompareExchangeLong.csproj b/tests/src/baseservices/threading/interlocked/compareexchange/CompareExchangeLong.csproj index 313b822..123673d 100644 --- a/tests/src/baseservices/threading/interlocked/compareexchange/CompareExchangeLong.csproj +++ b/tests/src/baseservices/threading/interlocked/compareexchange/CompareExchangeLong.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + /loops:100 /addVar:-922337203685477 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/interlocked/compareexchange/CompareExchangeLong_4.csproj b/tests/src/baseservices/threading/interlocked/compareexchange/CompareExchangeLong_4.csproj deleted file mode 100644 index 091cb3b..0000000 --- a/tests/src/baseservices/threading/interlocked/compareexchange/CompareExchangeLong_4.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - CompareExchangeLong.csproj - /loops:100 /addVar:-922337203685477 - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/interlocked/compareexchange/CompareExchangeTClass.csproj b/tests/src/baseservices/threading/interlocked/compareexchange/CompareExchangeTClass.csproj index 055869d..df5e174 100644 --- a/tests/src/baseservices/threading/interlocked/compareexchange/CompareExchangeTClass.csproj +++ b/tests/src/baseservices/threading/interlocked/compareexchange/CompareExchangeTClass.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + null 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/interlocked/compareexchange/CompareExchangeTClass_2.csproj b/tests/src/baseservices/threading/interlocked/compareexchange/CompareExchangeTClass_2.csproj deleted file mode 100644 index 33c5fd7..0000000 --- a/tests/src/baseservices/threading/interlocked/compareexchange/CompareExchangeTClass_2.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - CompareExchangeTClass.csproj - null - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/interlocked/exchange/ExchangeTString.csproj b/tests/src/baseservices/threading/interlocked/exchange/ExchangeTString.csproj index 2194fc3..b2a5d33 100644 --- a/tests/src/baseservices/threading/interlocked/exchange/ExchangeTString.csproj +++ b/tests/src/baseservices/threading/interlocked/exchange/ExchangeTString.csproj @@ -15,8 +15,8 @@ 7a9bfb7d true false - BuildOnly 1 + empty "This is a long string that I am trying to test to be sure that the Exchange can handle this long of a string. If it can't then that's bad and we will have to fix it." @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/interlocked/exchange/ExchangeTString_3.csproj b/tests/src/baseservices/threading/interlocked/exchange/ExchangeTString_3.csproj deleted file mode 100644 index 4f247ba..0000000 --- a/tests/src/baseservices/threading/interlocked/exchange/ExchangeTString_3.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - ExchangeTString.csproj - empty "This is a long string that I am trying to test to be sure that the Exchange can handle this long of a string. If it can't then that's bad and we will have to fix it." - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/multiinstance/app.config b/tests/src/baseservices/threading/multiinstance/app.config deleted file mode 100644 index c51f616..0000000 --- a/tests/src/baseservices/threading/multiinstance/app.config +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tests/src/baseservices/threading/multiinstance/multiinstance.cs b/tests/src/baseservices/threading/multiinstance/multiinstance.cs deleted file mode 100644 index 0238fd8..0000000 --- a/tests/src/baseservices/threading/multiinstance/multiinstance.cs +++ /dev/null @@ -1,322 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -using System; -using System.IO; -using System.Reflection; -using System.Reflection.Emit; -using System.Security; -using System.Threading; -using System.Collections.Generic; -using TestLibrary; - -#if WINCORESYS -[assembly: AllowPartiallyTrustedCallers] -#endif - -[SecuritySafeCritical] -public class MultiThreading -{ - #region ParamsDefintion - private struct CommandLineParams - { - public string assemblyName; - public string[] args; - public int workers; - } - #endregion Params - - #region Data - static private CommandLineParams cmdParams; - static private MethodInfo methToExec; - static private List retVals; - static private object myLock; - static private ManualResetEvent[] events; - #endregion Data - - - #region Utilities - private static void Usage() - { - Console.WriteLine("Usage: MultipleInstance.exe /workers:#### /exe:#####"); - Console.WriteLine("/workers: run test in n threads."); - } - - private static bool ParseArguments(string[] args, ref CommandLineParams cmdParams) - { - bool ret = true; - cmdParams.workers = 0; - try - { - int index = 0; - for (int i = 0; i < args.Length; i++) - { - string name = ""; - string value = ""; - - if (args[i].Contains(":")) - { - name = args[i].Substring(0, args[i].IndexOf(":")).ToLower(); - value = args[i].Substring(args[i].IndexOf(":") + 1); - } - - if (name.StartsWith("/workers")) - { - cmdParams.workers = Convert.ToInt32(value); - } - else if (name.StartsWith("/exe")) - { - cmdParams.assemblyName = value; - index = i; - break; - } - else - { - Console.WriteLine("Invalid paramter: {0}", args[i]); - ret = false; - } - } - if (index == args.Length - 1) - { - cmdParams.args = new string[0]; - } - else - { - cmdParams.args = new string[args.Length - index - 1]; - for (int i = index + 1; i < args.Length; i++) - { - cmdParams.args[i - index - 1] = args[i]; - } - } - - - } - catch (Exception e) - { - Console.WriteLine(e.ToString()); - ret = false; - } - return ret; - } - - public static Byte[] ReadFileContents(String path) - { - byte[] bytes; - using (FileStream fs = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.Read)) - { - // Do a blocking read - int index = 0; - long fileLength = fs.Length; - if (fileLength > Int32.MaxValue) - throw new IOException("File size greater then 2Gb"); - int count = (int)fs.Length; - bytes = new byte[count]; - while (count > 0) - { - int n = fs.Read(bytes, index, count); - if (n == 0) - throw new EndOfStreamException(); - index += n; - count -= n; - } - } - return bytes; - } - - private static MethodInfo GetEntryPoint(string assemblyName) - { - Assembly asm = null; - string asmName = ""; - - - asmName = assemblyName; - - try - { - asmName = assemblyName; - if (asmName.LastIndexOf(".") > -1) - { - asmName = asmName.Substring(0, asmName.LastIndexOf(".")); - } - if (asmName.LastIndexOf(@"\") > -1) - { - asmName = asmName.Substring(asmName.LastIndexOf(@"\") + 1); - } - if (asmName.LastIndexOf(@"/") > -1) - { - asmName = asmName.Substring(asmName.LastIndexOf(@"/") + 1); - } - - asm = Assembly.Load( new AssemblyName(asmName) ); - } - catch (FileLoadException) - { - asm = null; - } - catch (FileNotFoundException) - { - asm = null; - } - - if (null == asm) - { - MethodInfo assemload = null; - foreach(MethodInfo m in typeof(Assembly).GetMethods(BindingFlags.NonPublic | BindingFlags.Static)) - { - ParameterInfo[] mps = m.GetParameters(); - if (m.Name.Equals("Load") && mps.Length == 1 && mps[0].GetType() == typeof(byte[])) assemload = m; - } - if (assemload == null) { - throw new Exception("Failed to get Assembly.Load(int8[]) method"); - } - - asm = (Assembly)assemload.Invoke(null, new object[1] { ReadFileContents( assemblyName ) }); - } - - methToExec = asm.EntryPoint; - - return methToExec; - } - - private static void Worker() - { - if (cmdParams.workers > 1) - WaitHandle.WaitAny(events); - - RunMain(); - } - - private static Thread NewThread() - { - Thread t = null; - t = new Thread(new ThreadStart(Worker)); - return t; - } - #endregion Utilities - - #region Main - public static int Main(string[] args) - { - if (0 == args.Length) - { - Usage(); - return 0; - } - - cmdParams = new CommandLineParams(); - if (!ParseArguments(args, ref cmdParams)) - { - Usage(); - return 0; - } - - retVals = new List(); - myLock = new object(); - - Run(); //run test... - - int retVal = retVals[0]; - for (int i = 0; i < retVals.Count - 1; i++) - { - if (retVals[i] != retVals[i + 1]) - { - Logging.WriteLine("Failed"); - retVal = 0xff; - break; - } - } - return retVal; - } - - private static void Run() - { - methToExec = GetEntryPoint(cmdParams.assemblyName); - int threadNum = cmdParams.workers; - if (threadNum == 0) - { - Logging.WriteLine("Run test in the main thread"); - RunMain(); - } - else if (threadNum == 1) - { - Logging.WriteLine("Run test in a worker thread"); - Thread t = NewThread(); - t.Start(); - t.Join(); - } - else if (threadNum > 1) - { - Logging.WriteLine("Run test in the main thread and spawn {0} threads to run test", threadNum - 1); - - events = new ManualResetEvent[1]; - events[0] = new ManualResetEvent(false); - - Thread[] threads = new Thread[threadNum - 1]; - for (int i = 0; i < threads.Length; i++) - { - threads[i] = NewThread(); - threads[i].Start(); - } - events[0].Set(); - RunMain(); - foreach (Thread t in threads) - { - t.Join(); - } - } - } - - - - - private static void RunMain() - { - int numMainParams = methToExec.GetParameters().Length; - if (numMainParams > 1) - { - throw new Exception("Main method must contain 0 or 1 arguments."); - } - - DateTime time1 = DateTime.Now; - Object oExitCode = null; - while (true) - { - oExitCode = methToExec.Invoke(null, numMainParams == 1 ? new Object[] { cmdParams.args } : null); - DateTime time2 = DateTime.Now; - TimeSpan span = time2 - time1; - if (span.TotalMilliseconds > 1500) - break; - Thread.Sleep(0); - } - - - int iRetCode; - if (methToExec.ReturnParameter.ParameterType == typeof(void)) - { - //iRetCode = Environment.ExitCode; - Console.WriteLine("WARNING: Unable to get the exit code from a void Main method"); - iRetCode = 100; - } - else if (methToExec.ReturnParameter.ParameterType == typeof(int)) - { - iRetCode = (int)oExitCode; - } - else if (methToExec.ReturnParameter.ParameterType == typeof(uint)) - { - iRetCode = (int)(uint)oExitCode; - } - else - { - throw new Exception("Main method must return void, int or uint not " + methToExec.ReturnParameter.ParameterType.ToString()); - } - - lock (myLock) - { - retVals.Add(iRetCode); - } - } - #endregion -} - - diff --git a/tests/src/baseservices/threading/multiinstance/multiinstance.csproj b/tests/src/baseservices/threading/multiinstance/multiinstance.csproj deleted file mode 100644 index ed6abfb..0000000 --- a/tests/src/baseservices/threading/multiinstance/multiinstance.csproj +++ /dev/null @@ -1,49 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Exe - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - 1 - BuildOnly - - - - - - - - - False - - - - - - - - - - - - - - - - {8ffe99c0-22f8-4462-b839-970eac1b3472} - coreclr - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/multiinstance/project.json b/tests/src/baseservices/threading/multiinstance/project.json deleted file mode 100644 index 0b65702..0000000 --- a/tests/src/baseservices/threading/multiinstance/project.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1-rc2-23816", - "System.Collections": "4.0.10", - "System.Collections.NonGeneric": "4.0.1-rc2-23816", - "System.Collections.Specialized": "4.0.1-rc2-23816", - "System.ComponentModel": "4.0.1-rc2-23816", - "System.Console": "4.0.0-rc2-23816", - "System.Diagnostics.Process": "4.1.0-rc2-23816", - "System.Globalization": "4.0.10", - "System.Globalization.Calendars": "4.0.0", - "System.IO": "4.0.10", - "System.IO.FileSystem": "4.0.0", - "System.IO.FileSystem.Primitives": "4.0.0", - "System.Linq": "4.0.1-rc2-23816", - "System.Linq.Queryable": "4.0.1-rc2-23816", - "System.Reflection": "4.1.0-rc2-23816", - "System.Reflection.Primitives": "4.0.0", - "System.Runtime": "4.1.0-rc2-23816", - "System.Runtime.Extensions": "4.0.10", - "System.Runtime.Handles": "4.0.0", - "System.Runtime.InteropServices": "4.1.0-rc2-23816", - "System.Runtime.Loader": "4.0.0-rc2-23816", - "System.Text.Encoding": "4.0.10", - "System.Threading": "4.0.10", - "System.Threading.Thread": "4.0.0-rc2-23816", - "System.Threading.ThreadPool": "4.0.10-rc2-23816", - "System.Xml.ReaderWriter": "4.0.11-rc2-23816", - "System.Xml.XDocument": "4.0.11-rc2-23816", - "System.Xml.XmlDocument": "4.0.1-rc2-23816", - "System.Xml.XmlSerializer": "4.0.11-rc2-23816" - }, - "frameworks": { - "dnxcore50": {} - }, - "runtimes": { - "win7-x86": {}, - "win7-x64": {}, - "ubuntu.14.04-x64": {}, - "osx.10.10-x64": {}, - "centos.7-x64": {}, - "rhel.7-x64": {}, - "debian.8.2-x64": {} - } -} diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartBool.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartBool.csproj index d058644..3439171 100644 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartBool.csproj +++ b/tests/src/baseservices/threading/paramthreadstart/ThreadStartBool.csproj @@ -15,8 +15,7 @@ 7a9bfb7d true false - BuildOnly - 1 + false @@ -45,4 +44,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartBool_1.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartBool_1.csproj index cee4e78..d24bc30 100644 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartBool_1.csproj +++ b/tests/src/baseservices/threading/paramthreadstart/ThreadStartBool_1.csproj @@ -14,7 +14,6 @@ 7a9bfb7d true RunOnly - 1 ThreadStartBool.csproj true @@ -41,4 +40,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartBool_2.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartBool_2.csproj deleted file mode 100644 index c6b2367..0000000 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartBool_2.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - ThreadStartBool.csproj - false - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartByte.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartByte.csproj index 0410864..64a408d 100644 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartByte.csproj +++ b/tests/src/baseservices/threading/paramthreadstart/ThreadStartByte.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + max 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartByte_3.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartByte_3.csproj deleted file mode 100644 index bc94f15..0000000 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartByte_3.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - ThreadStartByte.csproj - max - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartCast.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartCast.csproj index fa76853..4bba36f 100644 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartCast.csproj +++ b/tests/src/baseservices/threading/paramthreadstart/ThreadStartCast.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + 0 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartCast_3.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartCast_3.csproj deleted file mode 100644 index d3dbbe0..0000000 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartCast_3.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - ThreadStartCast.csproj - 0 - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartChar.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartChar.csproj index c73fb15..b90fcc4 100644 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartChar.csproj +++ b/tests/src/baseservices/threading/paramthreadstart/ThreadStartChar.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + min 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartChar_4.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartChar_4.csproj deleted file mode 100644 index 8570b30..0000000 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartChar_4.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - ThreadStartChar.csproj - min - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartDecimal.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartDecimal.csproj index 18673a1..095ce06 100644 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartDecimal.csproj +++ b/tests/src/baseservices/threading/paramthreadstart/ThreadStartDecimal.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + 0 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartDecimal_3.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartDecimal_3.csproj deleted file mode 100644 index 28e55d5..0000000 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartDecimal_3.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - ThreadStartDecimal.csproj - 0 - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartDelegate.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartDelegate.csproj index 12bfc5b..88fefe7 100644 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartDelegate.csproj +++ b/tests/src/baseservices/threading/paramthreadstart/ThreadStartDelegate.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + 0 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartDelegate_3.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartDelegate_3.csproj deleted file mode 100644 index d47dee2..0000000 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartDelegate_3.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - ThreadStartDelegate.csproj - 0 - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartDouble.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartDouble.csproj index 5e0a427..e4da7a0 100644 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartDouble.csproj +++ b/tests/src/baseservices/threading/paramthreadstart/ThreadStartDouble.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + min 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartDouble_3.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartDouble_3.csproj deleted file mode 100644 index c79ea6b..0000000 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartDouble_3.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - ThreadStartDouble.csproj - min - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartFloat.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartFloat.csproj index 3572a3d..9fc4c35 100644 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartFloat.csproj +++ b/tests/src/baseservices/threading/paramthreadstart/ThreadStartFloat.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + max 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartFloat_3.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartFloat_3.csproj deleted file mode 100644 index de6ecad..0000000 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartFloat_3.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - ThreadStartFloat.csproj - max - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartGenerics.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartGenerics.csproj index 95eae30..6cc04b0 100644 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartGenerics.csproj +++ b/tests/src/baseservices/threading/paramthreadstart/ThreadStartGenerics.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + min 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartGenerics_3.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartGenerics_3.csproj deleted file mode 100644 index 39720da..0000000 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartGenerics_3.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - ThreadStartGenerics.csproj - min - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartInt.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartInt.csproj index fde2b28..821070e 100644 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartInt.csproj +++ b/tests/src/baseservices/threading/paramthreadstart/ThreadStartInt.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + 0 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartInt_3.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartInt_3.csproj deleted file mode 100644 index 0c2ea1f..0000000 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartInt_3.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - ThreadStartInt.csproj - 0 - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartLong.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartLong.csproj index 60bac7a..f7a57ab 100644 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartLong.csproj +++ b/tests/src/baseservices/threading/paramthreadstart/ThreadStartLong.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + min 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartLong_3.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartLong_3.csproj deleted file mode 100644 index 67c74f6..0000000 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartLong_3.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - ThreadStartLong.csproj - min - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartObject.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartObject.csproj index 4752230..fea9628 100644 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartObject.csproj +++ b/tests/src/baseservices/threading/paramthreadstart/ThreadStartObject.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + "" 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartObject_2.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartObject_2.csproj index 3d9a4bb..770921f 100644 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartObject_2.csproj +++ b/tests/src/baseservices/threading/paramthreadstart/ThreadStartObject_2.csproj @@ -16,7 +16,6 @@ RunOnly 1 ThreadStartObject.csproj - "" @@ -41,4 +40,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartOperations.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartOperations.csproj index 5adc944..0343d23 100644 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartOperations.csproj +++ b/tests/src/baseservices/threading/paramthreadstart/ThreadStartOperations.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + 0 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartOperations_3.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartOperations_3.csproj deleted file mode 100644 index 658559c..0000000 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartOperations_3.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - ThreadStartOperations.csproj - 0 - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartSByte.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartSByte.csproj index 50fc006..c5ef1ae 100644 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartSByte.csproj +++ b/tests/src/baseservices/threading/paramthreadstart/ThreadStartSByte.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + min 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartSByte_3.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartSByte_3.csproj deleted file mode 100644 index c134f1e..0000000 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartSByte_3.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - ThreadStartSByte.csproj - min - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartShort.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartShort.csproj index c16e57a..b4c7cb6 100644 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartShort.csproj +++ b/tests/src/baseservices/threading/paramthreadstart/ThreadStartShort.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + 0 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartShort_3.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartShort_3.csproj deleted file mode 100644 index 15f6da3..0000000 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartShort_3.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - ThreadStartShort.csproj - 0 - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartString.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartString.csproj index 16e788f..7ed5e19 100644 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartString.csproj +++ b/tests/src/baseservices/threading/paramthreadstart/ThreadStartString.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + MyStringHere 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartString_4.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartString_4.csproj deleted file mode 100644 index c7594bf..0000000 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartString_4.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - ThreadStartString.csproj - MyStringHere - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartUInt.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartUInt.csproj index 7bbbce0..5671571 100644 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartUInt.csproj +++ b/tests/src/baseservices/threading/paramthreadstart/ThreadStartUInt.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + 0 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartUInt_3.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartUInt_3.csproj deleted file mode 100644 index 3361fd2..0000000 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartUInt_3.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - ThreadStartUInt.csproj - 0 - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartULong.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartULong.csproj index 7868a0c..2113bec 100644 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartULong.csproj +++ b/tests/src/baseservices/threading/paramthreadstart/ThreadStartULong.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + max 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartULong_3.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartULong_3.csproj deleted file mode 100644 index 0a5308f6..0000000 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartULong_3.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - ThreadStartULong.csproj - max - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartUShort.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartUShort.csproj index e914686..b019195 100644 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartUShort.csproj +++ b/tests/src/baseservices/threading/paramthreadstart/ThreadStartUShort.csproj @@ -15,7 +15,7 @@ 7a9bfb7d true false - BuildOnly + max 1 @@ -45,4 +45,4 @@ - \ No newline at end of file + diff --git a/tests/src/baseservices/threading/paramthreadstart/ThreadStartUShort_3.csproj b/tests/src/baseservices/threading/paramthreadstart/ThreadStartUShort_3.csproj deleted file mode 100644 index 76da38e..0000000 --- a/tests/src/baseservices/threading/paramthreadstart/ThreadStartUShort_3.csproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Debug - AnyCPU - 2.0 - {95DFC527-4DC1-495E-97D7-E94EE1F7140D} - Properties - 512 - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - $(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages - ..\..\ - 7a9bfb7d - true - RunOnly - 1 - ThreadStartUShort.csproj - max - - - - - - - - - False - - - - - - - - - - - - - - - - \ No newline at end of file -- 2.7.4