Skip to content

Commit ea14f2f

Browse files
authored
test: Limit platforms until all the other platforms are ready (#2021)
1 parent 20304f1 commit ea14f2f

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

testproject/Assets/Tests/Runtime/MultiprocessRuntime/TestCoordinator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,10 @@ public void Awake()
124124
}
125125

126126

127-
// if we've tried all the configuration types and none of them are correct then we should throw an exception
127+
// if we've tried all the configuration types and none of them are correct then we should log it and just go with the default values
128128
if (ConfigurationType == ConfigurationType.Unknown)
129129
{
130-
// throw new Exception("Unable to determine configuration for NetworkManager via commandline, webapi or config file");
130+
MultiprocessLogger.Log("Unable to determine configuration for NetworkManager via commandline, webapi or config file");
131131
}
132132

133133
if (Instance != null)

testproject/Assets/Tests/Runtime/MultiprocessRuntime/testproject.multiprocesstests.asmdef

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,13 @@
1111
"UnityEngine.TestRunner",
1212
"UnityEditor.TestRunner"
1313
],
14-
"includePlatforms": [],
14+
"includePlatforms": [
15+
"Editor",
16+
"macOSStandalone",
17+
"LinuxStandalone64",
18+
"WindowsStandalone32",
19+
"WindowsStandalone64"
20+
],
1521
"excludePlatforms": [],
1622
"allowUnsafeCode": true,
1723
"overrideReferences": false,

0 commit comments

Comments
 (0)