Previous Thread
Next Thread
Print Thread
Software lists test #78176 03/21/12 01:26 PM
Joined: Mar 2004
Posts: 109
bobz Offline OP
Senior Member
OP Offline
Senior Member
Joined: Mar 2004
Posts: 109
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
Joined: Jul 2007
Posts: 4,625
A
Anna Wu Offline
Very Senior Member
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
Joined: Mar 2001
Posts: 16,348
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,348
That's really cool! smile

Re: Software lists test [Re: bobz] #78228 03/25/12 07:35 PM
Joined: Sep 2001
Posts: 534
F
Firewave Offline
Senior Member
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
Joined: Mar 2004
Posts: 109
bobz Offline OP
Senior Member
OP Offline
Senior Member
Joined: Mar 2004
Posts: 109
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
Joined: Feb 2008
Posts: 326
M
Micko Offline
Senior Member
Offline
Senior Member
M
Joined: Feb 2008
Posts: 326
Thanks, submited to SVN.


Who's Online Now
3 registered members (Sharkpuncher, hal3000, Vas Crabb), 115 guests, and 1 spider.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,696
Posts114,319
Members4,865
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3