[icedtea-web] RFC: Change test output format to be more jtreg-like
Omair Majid
omajid at redhat.com
Thu Mar 10 08:17:42 PST 2011
On 03/09/2011 07:52 PM, Dr Andrew John Hughes wrote:
> On 17:27 Tue 08 Mar , Omair Majid wrote:
>> Hi,
>>
>> The attached patch changes the output format of "make
>> check-pack-functions" to be more jtreg like:
>>
>> $ make check
>> make check-local
>> make[1]: Entering directory `/home/omajid/workspace/icedtea-web/build'
>> ./jrunscript
>> /home/omajid/workspace/icedtea-web/build/../tests/netx/pac/pac-funcs-test.js
>> \
>> $(readlink -f
>> /home/omajid/workspace/icedtea-web/build/../netx/net/sourceforge/jnlp/runtime/pac-funcs.js)
>> loading needed files
>>
>> finished loaded needed files
>>
>> Passed: isPlainHostName(icedtea.classpath.org)
>> Passed: isPlainHostName(classpath.org)
>> Passed: isPlainHostName(org)
>> ... snip....
>> Passed: timeRange(17, 25, -7, 17, 25, 3)
>> Passed: timeRange(17, 25, 3, 17, 24, 3)
>> Test results: passed: 193; failed: 0;
>>
>> This should make it easier for the buildbot to parse the test results.
>>
>> Any thoughts or comments?
>
> Fine by me if it makes life easier for the build bot.
>
Thanks. I have pushed the changeset.
> If we split out jtreg from IcedTea6 as proposed, you may even be able to use it in IcedTea-Web.
>
I am not sure if jtreg would be appropriate - it's meant for regression
tests while we are more interested in unit tests/functional tests right
now. Still, it would be nice to have it available as an option in case
we do decide to use it.
Cheers,
Omair
More information about the distro-pkg-dev
mailing list