[Tests] Ignore a number of tests that fail on a VM. Update README. (#12597)

This commit is contained in:
Manuel de la Pena 2021-08-31 17:45:14 -04:00 коммит произвёл GitHub
Родитель ef0667dcb0
Коммит cda8808fa2
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
9 изменённых файлов: 14 добавлений и 0 удалений

Просмотреть файл

@ -1,5 +1,11 @@
# Various tests to be executed prior to releases
## Test permissions
There are a number of tests that acccess the file system and the bluetooh. For these tests to correctly execute you have to ensure that
the terminal application that you are using to execute the tests has access to the full filesystem and the bluetooth. If you do not do this
step the macOS tests will crash.
## Test solutions
Many of the test solutions and test projects are generated, and will

Просмотреть файл

@ -33,6 +33,7 @@ namespace MonoTouchFixtures.MetalPerformanceShaders {
{
TestRuntime.AssertDevice ();
TestRuntime.AssertXcodeVersion (10, 0);
TestRuntime.AssertNotVirtualMachine ();
device = MTLDevice.SystemDefault;
// some older hardware won't have a default

Просмотреть файл

@ -31,6 +31,7 @@ namespace MonoTouchFixtures.MetalPerformanceShaders {
{
TestRuntime.AssertDevice ();
TestRuntime.AssertXcodeVersion (10, 0);
TestRuntime.AssertNotVirtualMachine ();
device = MTLDevice.SystemDefault;
// some older hardware won't have a default

Просмотреть файл

@ -30,6 +30,7 @@ namespace MonoTouchFixtures.MetalPerformanceShaders
Assert.Inconclusive ("Metal Performance Shaders is not supported in the simulator");
#else
TestRuntime.AssertXcodeVersion (9, 0);
TestRuntime.AssertNotVirtualMachine ();
#endif
device = MTLDevice.SystemDefault;

Просмотреть файл

@ -30,6 +30,7 @@ namespace MonoTouchFixtures.MetalPerformanceShaders
Assert.Inconclusive ("Metal Performance Shaders is not supported in the simulator");
#else
TestRuntime.AssertXcodeVersion (9, 0);
TestRuntime.AssertNotVirtualMachine ();
#endif
device = MTLDevice.SystemDefault;

Просмотреть файл

@ -30,6 +30,7 @@ namespace MonoTouchFixtures.MetalPerformanceShaders
Assert.Inconclusive ("Metal Performance Shaders is not supported in the simulator");
#else
TestRuntime.AssertXcodeVersion (9, 0);
TestRuntime.AssertNotVirtualMachine ();
#endif
device = MTLDevice.SystemDefault;

Просмотреть файл

@ -30,6 +30,7 @@ namespace MonoTouchFixtures.MetalPerformanceShaders {
{
TestRuntime.AssertDevice ();
TestRuntime.AssertXcodeVersion (10, 0);
TestRuntime.AssertNotVirtualMachine ();
device = MTLDevice.SystemDefault;
// some older hardware won't have a default

Просмотреть файл

@ -31,6 +31,7 @@ namespace MonoTouchFixtures.MetalPerformanceShaders {
{
TestRuntime.AssertDevice ();
TestRuntime.AssertXcodeVersion (10, 0);
TestRuntime.AssertNotVirtualMachine ();
device = MTLDevice.SystemDefault;
// some older hardware won't have a default

Просмотреть файл

@ -30,6 +30,7 @@ namespace MonoTouchFixtures.MetalPerformanceShaders {
{
TestRuntime.AssertDevice ();
TestRuntime.AssertXcodeVersion (10, 0);
TestRuntime.AssertNotVirtualMachine ();
device = MTLDevice.SystemDefault;
// some older hardware won't have a default