[tests] Remove assert that fails on M1 on Rosetta. (#12641)

Fixes this error when running on M1 (and Rosetta):

    MonoTouchFixtures.CoreFoundation.BundleTest.TestGetBundleIdNull : 0.9134 ms
        [FAIL] TestIsArchitectureLoadable :   arm64 Expected => false
            Expected: False
            But was:  True
                at MonoTouchFixtures.CoreFoundation.BundleTest.TestIsArchitectureLoadable() in xamarin-macios/tests/monotouch-test/CoreFoundation/BundleTest.cs:line 375
This commit is contained in:
Rolf Bjarne Kvinge 2021-09-07 18:52:53 +02:00 коммит произвёл GitHub
Родитель 88cf80da2d
Коммит e707c7cda8
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 2 удалений

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

@ -371,8 +371,7 @@ namespace MonoTouchFixtures.CoreFoundation {
bool loadable_arm64 = CFBundle.IsArchitectureLoadable (CFBundle.Architecture.ARM64);
if (isArm64Executable)
Assert.IsTrue (loadable_arm64, "arm64 Expected => true");
else
Assert.IsFalse (loadable_arm64, "arm64 Expected => false");
// Due to Rosetta, we can't determine whether ARM64 is loadable or not if we're an X64 executable ourselves.
}
[Test]