Skip to content

Commit 2532025

Browse files
committed
fixup: chore: skip unity shader errors on webgl smoke test
1 parent 78cf31e commit 2532025

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/smoke-test-webgl.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ class RequestVerifier:
3030
__testNumber = 0
3131

3232
def Capture(self, info, body):
33-
if re.match('"exception":{"values":[{"type":"The resource [^ ]+ could not be loaded from the resource file!"', body):
33+
if re.search('"exception":{"values":\[{"type":"The resource [^ ]+ could not be loaded from the resource file!"', body):
3434
print(
3535
"TEST: Skipping the received HTTP Request because it's an unrelated unity bug:\n{}".format(body))
36+
return
3637

3738
print("TEST: Received HTTP Request #{} = {}\n{}".format(
3839
len(self.__requests), info, body), flush=True)

0 commit comments

Comments
 (0)