Bug#493728: [warzone2100] --selftest output

Giel van Schijndel me at mortis.eu
Sun Aug 10 22:23:35 UTC 2008


Matthias Krüger schreef:
> Package: warzone2100
> Version: 2.1.0~1.beta4-1
> Severity: minor
> 
> --- Please enter the report below this line. ---
> When I run "warzone2100 --selftest" following output appears:
> 
>> Carrying out self-test:
>> 	NETtypes self-test: PASSED
>> 	Tagfile self-test: PASSED
>> 	Parsing self-test...
>> 		[t1000] Testing parsing of valid file "test1: empty file"
>> error   : [lev_error] Level File parse error: `Unexpected end of file` at line `1` text ``
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 			[t1000] Failure while parsing valid test file "test1: empty file".
>> 		[t1000] Testing parsing of valid file "test2: fully commented out"
>> error   : [lev_error] Level File parse error: `Unexpected end of file` at line `1` text ``
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 			[t1000] Failure while parsing valid test file "test2: fully commented out".
>> 		[t1000] Testing parsing of valid file "test3: single level entry"
>> 		[t1000] Testing parsing of valid file "test4: Custom type number"
>> 		[t1000] Testing parsing of valid file "test5: Custom player count"
>> 		[t1000] Testing parsing of valid file "test6: Custom player count and level type (1)"
>> 		[t1000] Testing parsing of valid file "test7: Custom player count and level type (2)"
>> 		[t1000] Testing parsing of valid file "test8: Assign a game to a non-`campaign` dataset"
>> 		[t1000] Testing parsing of invalid file "test1: wrongly ordered level_entry (1)" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Syntax Error` at line `3` text `players`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test2: wrongly ordered level_entry (2)" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Syntax Error` at line `5` text `type`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test3: wrongly ordered level_entry (3)" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Syntax Error` at line `8` text `players`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test4: wrongly ordered level_entry (4)" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Syntax Error` at line `11` text `type`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test5: Bad type number" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `invalid type number` at line `12` text `10`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test6: Changing type of non-`level` dataset  (1)" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Syntax Error` at line `14` text `type`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test7: Changing type of non-`level` dataset  (2)" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Syntax Error` at line `15` text `type`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test8: Changing type of non-`level` dataset  (3)" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Invalid data set name for cam change` at line `15` text `PROG`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test9: Changing type of non-`level` dataset  (4)" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Syntax Error` at line `17` text `type`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test10: Changing type of non-`level` dataset (5)" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Syntax Error` at line `18` text `type`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test11: Changing type of non-`level` dataset (6)" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Syntax Error` at line `19` text `type`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test12: Changing type of non-`level` dataset (7)" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Syntax Error` at line `20` text `type`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test13: Changing type of non-`level` dataset (8)" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Syntax Error` at line `21` text `type`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test14: Changing type of non-`level` dataset (9)" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Syntax Error` at line `22` text `type`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test15: Changing player count of non-`level` dataset (1)" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Syntax Error` at line `23` text `players`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test16: Changing player count of non-`level` dataset (2)" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Syntax Error` at line `24` text `players`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test17: Changing player count of non-`level` dataset (3)" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Invalid data set name for cam change` at line `24` text `PROG`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test18: Changing player count of non-`level` dataset (4)" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Syntax Error` at line `26` text `players`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test19: Changing player count of non-`level` dataset (5)" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Syntax Error` at line `27` text `players`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test20: Changing player count of non-`level` dataset (6)" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Syntax Error` at line `28` text `players`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test21: Changing player count of non-`level` dataset (7)" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Syntax Error` at line `29` text `players`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test22: Changing player count of non-`level` dataset (8)" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Syntax Error` at line `30` text `players`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test23: Changing player count of non-`level` dataset (9)" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Syntax Error` at line `31` text `players`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test24: Assign a game to a `campaign` dataset" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Syntax Error` at line `32` text `game`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 		[t1000] Testing parsing of invalid file "test25: Assign multiple games to a dataset" (expect error debug-messages)
>> error   : [lev_error] Level File parse error: `Syntax Error` at line `34` text `game`
>> error   : [lev_error] Assert in Warzone: levels.c:133 (!"level parse error"), last script event: ''
>> 	Parsing self-test: FAILED
>> 	Levels self-test...
>> 		Loaded: CAM_1A
>> 		Saved: selftest/CAM_1A.gam
>> 		Loaded: CAM_2A
>> 		Saved: selftest/CAM_2A.gam
>> 		Loaded: CAM_3A
>> 		Saved: selftest/CAM_3A.gam
>> 		Loaded: FASTPLAY
>> 		Saved: selftest/FASTPLAY.gam
>> 		Loaded: TUTORIAL3
>> 		Saved: selftest/TUTORIAL3.gam
>> 		Loaded: BeggarsKanyon-T1
>> 		Saved: selftest/BeggarsKanyon-T1.gam
>> 	Levels self-test: PASSED
>> 	Map self-test...
>> 		Path-finding timing BeggarsKanyon-T1: 5.59 (22 nodes, 8 iterations)
>> 		Path-finding timing MizaMaze-T3: 5.18 (27 nodes, 8 iterations)
>> 	Map self-test: PASSED
>> All tests PASSED!
>> AL lib: alSource.c:2291: alcDestroyContext(): 8 Source(s) NOT deleted
>> AL lib: alBuffer.c:1097: exit() 5 Buffer(s) NOT deleted
> 
> 
> I'm confused about this lines:
> 
> "Parsing self-test: FAILED"
> [...]
> "All tests PASSED!"
> 
> 
> Thank you for your fine work! 	 Matthias Krüger
> --- System information. ---
> Architecture: amd64
> Kernel:       Linux 2.6.25-2-amd64
> 
> Debian Release: lenny/sid
>   500 testing         security.debian.org
>   500 testing         141.76.2.4
> 
> --- Package information. ---
> Depends                         (Version) | Installed
> =========================================-+-=====================
> libc6                          (>= 2.7-1) | 2.7-10
> libgcc1                      (>= 1:4.1.1) | 1:4.3.1-2
> libgl1-mesa-glx                           | 7.0.3-5
>  OR libgl1                                |
> libglc0                                   | 0.7.1-2
> libglu1-mesa                              | 7.0.3-5
>  OR libglu1                               |
> libogg0                       (>= 1.0rc3) | 1.1.3-4
> libopenal1                                | 1:1.4.272-1
> libphysfs-1.0-0                           | 1.0.0-5
> libpng12-0                  (>= 1.2.13-4) | 1.2.27-1
> libpopt0                        (>= 1.14) | 1.14-4
> libsdl-net1.2                             | 1.2.7-2
> libsdl1.2debian             (>= 1.2.10-1) | 1.2.13-2
> libstdc++6                     (>= 4.2.1) | 4.3.1-2
> libvorbis0a                    (>= 1.1.2) | 1.2.0.dfsg-3.1
> libvorbisfile3                 (>= 1.1.2) | 1.2.0.dfsg-3.1
> libx11-6                                  | 2:1.1.4-2
> warzone2100-data       (>= 2.1.0~1.beta4) | 2.1.0~1.beta4-1
> warzone2100-data     (<= 2.1.0~1.beta4-1) | 2.1.0~1.beta4-1
> 

Thanks for reporting this, I just fixed this upstream in revision 5790
[1]. This fix will be part of the next beta or release candidate
(whatever it is that we'll release).

[1] http://developer.wz2100.net/changeset/5790

-- 
Giel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20080811/418f16f0/attachment.pgp 


More information about the Pkg-games-devel mailing list