[tests][intro] Fix Phase tests on macOS 12 and iOS devices (#12376)

It's a `Phase` vs `PHASE` lookup that make the tests checking for
fields fail.

```
FieldExists: 3 errors found in 6603 fields validated: PHASESpatialCategoryDirectPathTransmission, PHASESpatialCategoryEarlyReflections, PHASESpatialCategoryLateReverb
```
This commit is contained in:
Sebastien Pouliot 2021-08-06 16:28:04 -04:00 коммит произвёл GitHub
Родитель 1330597435
Коммит ecad9d9667
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -239,6 +239,9 @@ namespace Introspection {
// generated code uses CoreMIDI correctly // generated code uses CoreMIDI correctly
libname = "CoreMIDI"; libname = "CoreMIDI";
break; break;
case "Phase":
libname = "PHASE";
break;
default: default:
if (requiresFullPath && (Path.GetDirectoryName (libname).Length == 0)) if (requiresFullPath && (Path.GetDirectoryName (libname).Length == 0))
ReportError ("[FAIL] Library '{0}' is specified without a path", libname); ReportError ("[FAIL] Library '{0}' is specified without a path", libname);