On Fri, Mar 25, 2011 at 10:00:32AM +0000, Jukka Ruohonen wrote: > Module Name: src > Committed By: jruoho > Date: Fri Mar 25 10:00:32 UTC 2011 > > Modified Files: > src/tests/include/sys: t_bitops.c > src/tests/lib/libm: t_ceil.c t_floor.c > > Log Message: > Bluntly skip the tests that fail under QEMU. XXX: system(3) is used for this?
Skipping them is not the right solution IMO. I would expect them to fail if run under QEMU: if (system("cpuctl identify 0 | grep -q QEMU") == 0) atf_tc_expect_fail("PR misc/44767: floating point support broken in QEMU"); > To generate a diff of this commit: > cvs rdiff -u -r1.4 -r1.5 src/tests/include/sys/t_bitops.c > cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libm/t_ceil.c > cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libm/t_floor.c > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. -- Nicolas Joly Projects and Developments in Bioinformatics Institut Pasteur, Paris.