Previous Thread
Next Thread
Print Thread
Software lists test #78176
03/21/12 01:26 PM
03/21/12 01:26 PM
Joined: Mar 2004
Posts: 109
France
bobz Offline OP
Senior Member
bobz  Offline OP
Senior Member
Joined: Mar 2004
Posts: 109
France
I have made this for fun, I share it if someone can found this useful...

http://bobz38.free.fr/mess_test/index.php

It has been (poorly) coded in shell script and php (for the web site).

Not sure I will test other Mess versions because testing is *very* long (145 is still running while I'm writting) and because output is huge (I expect more than 2 Go for 145) and my web site has only 10 Go disk space.
So don't expect too much from it now.


Re: Software lists test [Re: bobz] #78179
03/21/12 03:21 PM
03/21/12 03:21 PM
Joined: Jul 2007
Posts: 4,625
A
Anna Wu Offline
Very Senior Member
Anna Wu  Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
Nice smile

Re: Software lists test [Re: bobz] #78180
03/21/12 03:40 PM
03/21/12 03:40 PM
Joined: Mar 2001
Posts: 16,231
USA
R
R. Belmont Online content
Very Senior Member
R. Belmont  Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,231
USA
That's really cool! smile

Re: Software lists test [Re: bobz] #78228
03/25/12 07:35 PM
03/25/12 07:35 PM
Joined: Sep 2001
Posts: 534
F
Firewave Offline
Senior Member
Firewave  Offline
Senior Member
F
Joined: Sep 2001
Posts: 534
Not to be a bitch, but mame_regtest has been able to do this for years sans usable HTML reports...

Now we have the third or forth batch testing thing out there.

Re: Software lists test [Re: bobz] #78243
03/27/12 07:57 AM
03/27/12 07:57 AM
Joined: Mar 2004
Posts: 109
France
bobz Offline OP
Senior Member
bobz  Offline OP
Senior Member
Joined: Mar 2004
Posts: 109
France
As mentioned on the first page of this site, MESS seems to output invalid xml in sage2 software list, as reported by xmllint in my scripts.
I have filled a bugzilla weeks ago but it has gone with the server crash I guess.
So this is the description of this small bug:

The two incorrect lines are in "sage2" software list for "cpm68k" software.
flop2 and flop3 have part_id containing the "&" character which should appear "escaped" in XML output:

Code:
                <software name="cpm68k">
                        <description>CP/M 68K v1.1</description>
                        <year>1983</year>
                        <publisher>Stride Micro</publisher>
                        <part name="flop1" interface="floppy_5_25">
                                <feature name="part_id" value="Release Disk (C)" />
                                <dataarea name="flop" size="536201">
                                        <rom name="master-c.imd" size="536201" crc="bf30bd39" sha1="832620f71444c24c755dba83ce675b7af87248f4"/>
                                </dataarea>
                        </part>
                        <part name="flop2" interface="floppy_5_25">
                                <feature name="part_id" value="Release Disk 1&2&4" />
                                <dataarea name="flop" size="611310">
                                        <rom name="master-a.imd" size="611310" crc="4b197ce0" sha1="6fed9530e71535f10c51b0a0e49f4ac5cb0e3bd3"/>
                                </dataarea>
                        </part>
                        <part name="flop3" interface="floppy_5_25">
                                <feature name="part_id" value="Release Disk 3&5" />
                                <dataarea name="flop" size="472315">
                                        <rom name="master-b.imd" size="472315" crc="97be282a" sha1="0dd3ad00b40c1c1f57fe513140603a0f4b4cbc40"/>
                                </dataarea>
                        </part>
                </software>


I have fixed this locally by adding a call to xml_normalize_string function at line 1134 of emu/clifront.c :

Code:
fprintf( out, "\t\t\t\t<feature name=\"%s\" value=\"%s\" />\n", flist->name, xml_normalize_string(flist->value) );


So that the 2 lines are displayed correctly:

Code:
<feature name="part_id" value="Release Disk 1&amp;2&amp;4" />
<feature name="part_id" value="Release Disk 3&amp;5" />


I hope this helps

Re: Software lists test [Re: bobz] #78257
03/28/12 07:36 AM
03/28/12 07:36 AM
Joined: Feb 2008
Posts: 326
Serbia
M
Micko Offline
Senior Member
Micko  Offline
Senior Member
M
Joined: Feb 2008
Posts: 326
Serbia
Thanks, submited to SVN.


Who's Online Now
4 registered members (R. Belmont, Stick, Praxis, mfm005), 154 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,664
Posts113,575
Members4,848
Most Online324
Dec 20th, 2018
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.038s Queries: 14 (0.018s) Memory: 5.6264 MB (Peak: 5.8143 MB) Zlib enabled. Server Time: 2019-07-15 18:02:08 UTC