<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
I commited something here.<BR>
<BR>
<BR>
The function in m3tests/m3makefile is "mixed_portability_test".<BR>
p227 uses it.<BR>
<BR>
<BR>
The test can be run with no parameters, in which case the output is "fully portable" (the<BR>
same on all targets) and the output is compared with the "unadorned" stdout.pgm, etc.<BR>
<BR>
And it can be run with the flag -include-less-portable-output, in which case we probe<BR>
for, e.g.:<BR>
<BR>
stdout.pgm32<BR>
stdout.pgm-little_endian32<BR>
stdout.pgm-little_endian<BR>
<BR>
(or "64" or "big")<BR>
<BR>
<BR>
The automated tests will run both variations.<BR>
<BR>
<BR>
As well, the preexisting recent default was to probe, as we had a few<BR>
cases that needed "stdout.pgm64". We should clean this up so those<BR>
are called out specifically.<BR>
<BR>
<BR>
This way, e.g. PPC can be compared to SPARC, I386_* can<BR>
be compared amongst each other, with more coverage than<BR>
might be had if just all platforms compared against all platforms<BR>
and the coverage constrained.<BR>
<BR>
<BR>
- Jay<BR><BR> <BR>
<HR id=stopSpelling>
From: jay.krell@cornell.edu<BR>To: m3devel@elegosoft.com<BR>Subject: portable/less portable test variations<BR>Date: Wed, 24 Feb 2010 12:41:12 +0000<BR><BR>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>
I'd like to write tests that, given different command line parameters,<BR>will either output totally portable results, or only somewhat portable, where "somewhat"<BR>probably means either portable to particular wordsize or portable to wordsize+endian.<BR>Worst case, completely platform specific.<BR> <BR>We'd have 1, 3, or 5 checked in expected results.<BR> Or possibly 1+n (portable + n platforms).<BR> This case is less useful, because it takes away the ability to compare, e.g. LINUXLIBC6 to NT386.<BR> <BR>The test would run twice, with and without the command line option.<BR> <BR>I guess it is about as much work to implement as to describe, but I've let it drag out.<BR> <BR>I have tests that would benefit from this.<BR> <BR> - Jay<BR><BR> </body>
</html>