Re: [Patch] testsuite: Avoid TCL errors when rootme or ASAN/TSAN/UBSAN is not available (was: Re: [Patch] testsuite: Avoid TCL errors when ASAN/TSAN/UBSAN is not available)

2020-11-06 Thread Jeff Law via Gcc-patches
On 10/19/20 10:03 AM, Tobias Burnus wrote: > Thomas Schwinge and Joseph convinced me that 'rootme' only makes sense > for in-tree testing and, hence, does not need (or: should not) be set in > site.exp. > > Thus, if it is not set, we have to check its existence before using it – > to avoid simila

*PING* RE: [Patch] testsuite: Avoid TCL errors when rootme or ASAN/TSAN/UBSAN is not available (was: Re: [Patch] testsuite: Avoid TCL errors when ASAN/TSAN/UBSAN is not available)

2020-10-26 Thread Burnus, Tobias
TCL errors when ASAN/TSAN/UBSAN is not available) Thomas Schwinge and Joseph convinced me that 'rootme' only makes sense for in-tree testing and, hence, does not need (or: should not) be set in site.exp. Thus, if it is not set, we have to check its existence before using it - to avoid s

[Patch] testsuite: Avoid TCL errors when rootme or ASAN/TSAN/UBSAN is not available (was: Re: [Patch] testsuite: Avoid TCL errors when ASAN/TSAN/UBSAN is not available)

2020-10-19 Thread Tobias Burnus
Thomas Schwinge and Joseph convinced me that 'rootme' only makes sense for in-tree testing and, hence, does not need (or: should not) be set in site.exp. Thus, if it is not set, we have to check its existence before using it – to avoid similar TCL errors. Hence, I updated the patch to check also

[Patch] testsuite: Avoid TCL errors when ASAN/TSAN/UBSAN is not available

2020-10-19 Thread Tobias Burnus
In a --disable-libsanitizer build, I see errors such as: g++.sum:ERROR: can't read "asan_saved_library_path": no such variable I believe the following patch is the right way to solve this. OK? Tobias - Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germa