[PATCH] Don't run tsan tests if a trivial test doesn't work

2014-01-31 Thread Jakub Jelinek
Hi! Apparently tsan doesn't work e.g. under setarch x86_64 -R, at which point all tests fail. This patch just disables the tests in that case. Tested on x86_64-linux both under setarch x86_64 -R and without, committed to trunk as obvious. Of course it would be nicer if libtsan actually

Re: [PATCH] Don't run tsan tests if a trivial test doesn't work

2014-01-31 Thread Jakub Jelinek
On Fri, Jan 31, 2014 at 12:34:46PM +0100, Jakub Jelinek wrote: Apparently tsan doesn't work e.g. under setarch x86_64 -R, at which point all tests fail. This patch just disables the tests in that case. Tested on x86_64-linux both under setarch x86_64 -R and without, committed to trunk as

Re: [PATCH] Don't run tsan tests if a trivial test doesn't work

2014-01-31 Thread Richard Biener
On Fri, 31 Jan 2014, Jakub Jelinek wrote: On Fri, Jan 31, 2014 at 12:34:46PM +0100, Jakub Jelinek wrote: Apparently tsan doesn't work e.g. under setarch x86_64 -R, at which point all tests fail. This patch just disables the tests in that case. Tested on x86_64-linux both under setarch

Re: [PATCH] Don't run tsan tests if a trivial test doesn't work

2014-01-31 Thread Jakub Jelinek
On Fri, Jan 31, 2014 at 02:57:14PM +0100, Richard Biener wrote: Ok (you remove one target selector - was that spurious) Yes, tsan is supported on x86_64-linux only anyway, so tsan_init fails everywhere else. Jakub