diff options
author | Kunal Pathak <Kunal.Pathak@microsoft.com> | 2021-04-20 04:34:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-20 04:34:06 +0300 |
commit | f17e018186667666531c721ebf265bbdac7edd1c (patch) | |
tree | fda99e1353ecc65a052203d2ef4965cc24f67a19 /src/coreclr/ToolBox | |
parent | 17506ca9c713d09049cc9fc831d19fc076d01dea (diff) |
Enable superpmi collection for libraries tests (#51507)
* Run SPMI collection on libraries-tests
* Only run for libraries-tests and change GUID
* fix error
* fix the collection name
* fix the timeoutInMinutes
* Download libraries test artifacts
* try to fix the libs+tests artifacts name
* Use artifacts name as is
* Fix the libraries test artifacts name
* Use librares_test.zip
* Modify the filter to unzip all *Tests.dll files
* Revert "Modify the filter to unzip all *Tests.dll files"
This reverts commit b62f7132ec084453495a92a3e336688585366908.
* Try to unzip libraries_zipped
* overwriteExistingFiles=true
* Fix the asset extension
- Also exclude files present in core_root
* fix artifacts name
* remove extra .
* Ignore permission error
* Copy common test files in CORE_ROOT
- And do not copy not *.Tests.dll" for PMI
* Perform collection for all libraries_tests assets
* Add UnicodeEncodeError EH
* Add PermissionError for copy2
* Copy all the test assests to core_root
* Make input_directory readonly
* make ch_mod recursive
* Add option of error_limit to superpmi.py
* Pass -failureLimit flag to parallel mode
* Revert "Only run for libraries-tests and change GUID"
This reverts commit 7f4cdda9cf4f49fc21a354f616a67554f65cd6ea.
Diffstat (limited to 'src/coreclr/ToolBox')
-rw-r--r-- | src/coreclr/ToolBox/superpmi/superpmi/parallelsuperpmi.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/coreclr/ToolBox/superpmi/superpmi/parallelsuperpmi.cpp b/src/coreclr/ToolBox/superpmi/superpmi/parallelsuperpmi.cpp index 1eb1a7c2f51..71ba365a0bd 100644 --- a/src/coreclr/ToolBox/superpmi/superpmi/parallelsuperpmi.cpp +++ b/src/coreclr/ToolBox/superpmi/superpmi/parallelsuperpmi.cpp @@ -539,6 +539,12 @@ int doParallelSuperPMI(CommandLine::Options& o) arrDiffMCListPath[i]); } + if (o.failureLimit > 0) + { + bytesWritten += sprintf_s(cmdLine + bytesWritten, MAX_CMDLINE_SIZE - bytesWritten, " -failureLimit %d", + o.failureLimit); + } + bytesWritten += sprintf_s(cmdLine + bytesWritten, MAX_CMDLINE_SIZE - bytesWritten, " -v ewmin %s", spmiArgs); SECURITY_ATTRIBUTES sa; |