[PATCH] ubsan: Do not run the testsuite if ubsan does not work at all

Eric Botcazou ebotcazou@adacore.com
Tue Jan 6 12:06:00 GMT 2015


> I normally build with --disable-libsanitizer, because the sanitizers
> testresults are very unreproducable, so just annoying noise.  This however
> makes most (all?) ubsan testcases fail, since they want to load a shared
> library that does not exist.

Same here, but I also have the problem with tsan testcases.

> gcc/testsuite/
> 	* lib/ubsan-dg.exp (check_effective_target_fsanitize_undefined):
> 	Check if testcases run without errors, not just if they compile.

I additionally need:

        * lib/tsan-dg.exp (check_effective_target_fsanitize_thread):
        Check if testcases run without errors, not just if they compile.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 435 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150106/e124422f/attachment.bin>


More information about the Gcc-patches mailing list