Christophe Lyon wrote:
On 18 May 2015 at 20:25, Mike Stump <mikest...@comcast.net> wrote:
On May 18, 2015, at 8:01 AM, Alan Lawrence <alan.lawre...@arm.com> wrote:
Simulators such as qemu report the presence of fork (it's in glibc) but 
generally do not support synchronization primitives between threads, so any 
tests using fork are unreliable.
Hum, I have a simulator (binutils/sim) that has fork.  All those tests pass for 
me. They seem to be reliable for me.  I didn’t do anything special as I recall. 
 ?

Thanks for having a look at this problem.
I thought about this a while ago, and was wondering whether the guard
shouldn't be "are we using qemu?". Indeed as Mike, other simulators
might support fork and threads quite well.

Indeed they might. Is there a reasonable way to detect qemu? Or some acceptable mechanism to look for it, or tell the testsuite we are running under qemu?

--Alan

Reply via email to