[Scummvm-git-logs] scummvm master -> 72b6d90e2e2bc518a334f33473db4260b7683747
sev-
noreply at scummvm.org
Wed May 22 15:33:40 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
72b6d90e2e DIRECTOR: LINGOTESTS: Fix reference.lingo test, wrapped compile-only tests
Commit: 72b6d90e2e2bc518a334f33473db4260b7683747
https://github.com/scummvm/scummvm/commit/72b6d90e2e2bc518a334f33473db4260b7683747
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-05-22T17:32:54+02:00
Commit Message:
DIRECTOR: LINGOTESTS: Fix reference.lingo test, wrapped compile-only tests
Changed paths:
engines/director/lingo/tests/reference.lingo
diff --git a/engines/director/lingo/tests/reference.lingo b/engines/director/lingo/tests/reference.lingo
index 075dae6832a..b7fb00555ec 100644
--- a/engines/director/lingo/tests/reference.lingo
+++ b/engines/director/lingo/tests/reference.lingo
@@ -26,19 +26,25 @@ scummvmAssert(not the loaded of cast 500)
set test to cast 500
scummvmAssert(not the loaded of test)
-scummvmAssertError put the loaded of cast "fake"
-scummvmAssertError set test to cast "fake"
-
--- user-defined handlers/factories w/ reference name
--- (mainly to test grammar, so no factory definition)
-set theWindow = Window(mNew,#noGrowDoc,"Window " & windowNumber)
-
--- other weird stuff with reference name
--- FIXME: We need to find a way of clean execution of these
---put window("test")
---set window = 1
---put window
---window("test")
---window "test"
---window cast
+put the loaded of cast "fake"
+set test to cast "fake"
+
+-- the following test should not be executed
+-- we are testing only compilation
+if scummvmCompileOnly = 1337 then
+
+ -- user-defined handlers/factories w/ reference name
+ -- (mainly to test grammar, so no factory definition)
+ set theWindow = Window(mNew,#noGrowDoc,"Window " & windowNumber)
+
+ -- other weird stuff with reference name
+ -- FIXME: We need to find a way of clean execution of these
+ put window("test")
+ set window = 1
+ put window
+ window("test")
+ window "test"
+ window cast
+fi
+
put cast cast
More information about the Scummvm-git-logs
mailing list