Граф коммитов

28 Коммитов

Автор SHA1 Сообщение Дата
Alexander Köplinger 41de6d4994
WASM: Pump timer queue in xharness when running unit tests (#40278)
* WASM: Pump timer queue in xharness when running unit tests

We only pumped the threadpool but we didn't pump the timer queue inside the xharness runner, so in the case of Task.Delay() it'll schedule a callback on the timer queue and that will never happen which leads to the infinite loop waiting for the test to finish.
To fix that we call an internal method to pump the timer queue like we do for the threadpool.

Requires an xharness bump to include https://github.com/dotnet/xharness/pull/290

Fixes https://github.com/dotnet/runtime/issues/38931

* Don't nullref if no timers were started
2020-08-04 11:39:15 +02:00
Jan Jahoda 5c274f699d
Suppress credscan false positives (#38026)
* Suppress initial cred issues

* Another bunch of supresses

* Clean up

* Another bunch of supresses

* Revert to suppression messages

* Clean up

* Apply suggestions from code review

Co-authored-by: Jeremy Barton <jbarton@microsoft.com>

* Revert passwords literals

* Fix suppression justification comment

Co-authored-by: Jan Jahoda <jajahoda@.microsoft.com>
Co-authored-by: Jeremy Barton <jbarton@microsoft.com>
2020-07-23 11:59:00 +02:00
Alexander Köplinger a92f4f02dc
Bump xharness to bring in https://github.com/dotnet/xharness/pull/282 (#38706) 2020-07-02 16:22:18 +02:00
Alexander Köplinger c691379f8e
Update xharness to latest version with WASM fixes (#38576)
Addresses an issue that caused the testResult.xml to be empty on Helix runs.

Adds options to only execute a specific class/method to the WASM runner.
2020-06-30 01:58:08 +02:00
Alexander Köplinger 33be17f200
Run WASM tests with xharness (#37346)
Uses the xharness tool to drive the test execution rather than calling v8 directly.
Also includes a fix for running the tests in JavaScriptCore which doesn't provide performance.now().
2020-06-03 16:28:31 +02:00
Viktor Hofer 83aed2c4c7
Update coverlet version to fix coverage exceptions (#37217)
* Update coverlet version to fix coverage FNFEs

Changelog: https://github.com/coverlet-coverage/coverlet/blob/master/Documentation/Changelog.md#release-date-2020-05-30

-Fix 'The process cannot access the file...because it is being used by another process' due to double flush for collectors driver #https://github.com/coverlet-coverage/coverlet/pull/835

* Update dotnet-tools.json
2020-05-31 10:44:26 -07:00
Alexander Köplinger 2ef008e29b
Bump to updated WebAssembly runner from xharness (#37178) 2020-05-30 10:02:50 +02:00
Egor Bogatov d422b0fba5
Reduce app size for iOS (#36902)
We did the same mistake for Android - `libmonosgen-2.0.dylib` shouldn't be copied to bundle (we already have a mono runtime there)
2020-05-27 15:57:20 +02:00
Egor Bogatov cd4607ee38
[mono] Enable System.Runtime.Tests on Android (#36655) 2020-05-19 14:08:03 +03:00
Santiago Fernandez Madero e6ed360121
Update XHarness for latest fixes (#36484)
This includes a couple of fixes in xharness.
2020-05-15 15:00:19 +02:00
Egor Bogatov 0cc1ac858f
[mono] Shrink Android APK size (#36437)
* Shrink Android apk size

* bump xharness cli, use cmake config
2020-05-14 16:56:11 +00:00
Viktor Hofer 85bfbfcf54
Re-enable xunit.console code coverage (#35894)
Re-enable xunit console code coverage measurement until
https://github.com/coverlet-coverage/coverlet/issues/834 is fixed.
2020-05-06 19:03:55 +02:00
Egor Bogatov 3fb3d01b46
[mono] Enable XHarness CLI for Android tests (#35786) 2020-05-06 15:43:57 +03:00
Viktor Hofer 200b197559
Enable dotnet test in libraries (#35285)
* Enable dotnet test

* Update docs

* Use vstest in F5 scenarios

* Make dotnet test without framework switch work

* Code cleanup

* Only run code coverage conditionally

* Fix F5 condition for netcoreapp

* Downgrade sdk to check for helix submission failures

* Fix wrong conditions

* Add blame data collector
2020-05-04 11:57:51 +02:00
Egor Bogatov 683508940d
[mono] Pass category=failing and category=outerloop to Android and iOS (#35665) 2020-05-01 17:09:36 +03:00
Egor Bogatov 1736761d71
[mono] Integrate xharness tool (iOS) (#35316)
* Integrate xharness
2020-04-29 01:50:34 +03:00
Egor Bogatov 34685241a2
[mono] iOS Test runner (#34976) 2020-04-17 15:55:41 +03:00
Kevin Jones 29df078d1b
Enable importing PEM-formatted keys into AsymmetricAlgorithm values 2020-04-09 09:23:17 -07:00
Santiago Fernandez Madero 1ce4d72529
Add EccSecurityTransforms to credscan suppresions to unblock code-mirror (#34735) 2020-04-08 22:22:37 -07:00
Kevin Jones 6d395de48a
Support ECParameters that contain only D on Windows and Linux
If D (private key) is supplied but not the public key (Q), permit
this and allow the platform to re-calculate the public key from
the private key.

* Windows uses CNG blobs with the Q.X and Q.Y values set to (0,0).
* LInux uses the ECC math module to recompute Q from D and G.
* macOS is TBD.
2020-04-05 12:11:43 -07:00
Viktor Hofer 57e9a3955b
Update reportgenerator version used (#34059)
v4.5.1 brings improvements to the output logging which are nice for the local developer flow.
2020-03-25 13:55:32 +01:00
Viktor Hofer 33f2807fc6
Remove BuildAndTest and RebuildAndTest target in favor of Test (#33151)
* Implicitly build when invoking the test target

To get closer to the VSTest behavior this changes the Test target to
implicitly invoke the Build target unless /p:TestNoBuild is passed in.
(VSTest uses VSTestNoBuild which is controlled by the
dotnet test --no-build flag)

* Fix error logging for test outputs

* Update dotnet msbuild to build docs

* Update ReportGenerator global tool version

Updating ReportGenerator's version to 4.5.0 which removes unnecessary
logging (args passed in).
2020-03-04 19:40:19 +01:00
Jan Kotas 722cf301be
Delete System.Data.SqlClient package (#2275)
* Delete System.Data.SqlClient package

* Delete unnecessary SqlClient references

* Unify System.Data.SqlClient package reference

* Add System.Data facade test

* Add System.Data.SqlClient references
- Add System.Data.SqlClient package references for tests that need it
- Use System.Data.SqlClient reference assembly to build the System.Data shim
- Disable ILLinker for the shims since it does not work well with incremental builds and it is not necessary anyway

* Disable tests on Mono

Fixes https://github.com/dotnet/corefx/issues/40846
2020-02-05 10:51:03 -08:00
Marie Píchová 96c79db0b5
Config for CredScan suppresions (#2212) 2020-01-27 11:54:22 +01:00
Viktor Hofer ac68cdeeea
Update ReportGenerator to 4.4.2 (#1778) 2020-01-15 23:58:18 +01:00
Marco Rossignoli 5182dadd4a Update dotnet-tools.json (#1773) 2020-01-15 21:45:48 +01:00
Viktor Hofer 1d5de1533a
Libraries testing (#178)
* Add Libraries Testing framework package as inline

The existing package Microsoft.DotNet.CoreFxTesting lived in Arcade
because of no infrastructure being available to compile local tasks in
the repository. As the runtime repository now offers that we can inline
the testing framework.

* Hardcode configuration for installer.tasks

* Update ReportGenerator global tool version

* Add vstest support

* Update binary serialization blobs
2019-11-21 23:13:26 +01:00
dotnet-bot 381372f6f1 Initial runtime repository structure 2019-11-14 01:26:19 +01:00