[Tests] Ignore a number of tests that fail on a VM. Update README. (#12597)
This commit is contained in:
Родитель
ef0667dcb0
Коммит
cda8808fa2
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче