summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2018-11-01 12:49:42 -0700
committerGitHub <noreply@github.com>2018-11-01 12:49:42 -0700
commit4b62cc115f3decdaee7033e1f192f50e53592730 (patch)
tree0dd26c7bbc3094c6133eff7ae0ff43556d4f63f5 /tests
parent30502d93f08941313d0b7d0138521fee017fccf8 (diff)
parent9b240c6ab12a312d206118b3e3009bd78c68f3d5 (diff)
downloadcoreclr-4b62cc115f3decdaee7033e1f192f50e53592730.tar.gz
coreclr-4b62cc115f3decdaee7033e1f192f50e53592730.tar.bz2
coreclr-4b62cc115f3decdaee7033e1f192f50e53592730.zip
Merge pull request #20750 from BruceForstall/ReduceExpectedTestCount
Fix expected Pri-1 test count
Diffstat (limited to 'tests')
-rw-r--r--tests/runtest.proj8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/runtest.proj b/tests/runtest.proj
index 9c541f67cf..81b09be9f8 100644
--- a/tests/runtest.proj
+++ b/tests/runtest.proj
@@ -57,9 +57,9 @@
<!-- Target to check the test build, to see if it looks ok. We've had several cases where a change inadvertently and drastically changes
the set of tests that are built, and that change is unnoticed. The most common case is for a build of the Priority 1 tests
to only build the Priority 0 tests. This target is run after a test build to verify that the basic number of tests that were
- built is basically what was expected. When this was written, there were about 2500 Priority 0 tests and about 12270 Priority 1
- tests (differing slightly based on platform). We currently check that the number of Priority 0 tests is greater than 2000 and
- less than 3000, and the number of Priority 1 tests is greater than 10000.
+ built is basically what was expected. When this was written, there were about 2500 Priority 0 tests and about 10268 Priority 1
+ tests on Windows, 9976 on Ubuntu (it differs slightly based on platform). We currently check that the number of Priority 0 tests
+ is greater than 2000 and less than 3000, and the number of Priority 1 tests is greater than 9000.
-->
<Target Name="CheckTestBuild" DependsOnTargets="GetListOfTestCmds">
<Error Condition="!Exists('$(XunitTestBinBase)')"
@@ -73,7 +73,7 @@
<Error Condition="'$(CLRTestPriorityToBuild)' == '0' and '$(TestCount)' &lt;= 2000" Text="Unexpected test count. Expected &gt; 2000, found $(TestCount).'" />
<Error Condition="'$(CLRTestPriorityToBuild)' == '0' and '$(TestCount)' &gt;= 3000" Text="Unexpected test count. Expected &lt; 3000, found $(TestCount).'" />
- <Error Condition="'$(CLRTestPriorityToBuild)' == '1' and '$(TestCount)' &lt;= 10000" Text="Unexpected test count. Expected &gt; 10000, found $(TestCount).'" />
+ <Error Condition="'$(CLRTestPriorityToBuild)' == '1' and '$(TestCount)' &lt;= 9000" Text="Unexpected test count. Expected &gt; 9000, found $(TestCount).'" />
<Error Condition="'$(CLRTestPriorityToBuild)' != '0' and '$(CLRTestPriorityToBuild)' != '1'" Text="Unknown priority $(CLRTestPriorityToBuild)" />
</Target>