On Wed, Jul 22, 2020 at 11:09:06AM +0200, Thomas Schwinge wrote: > So I suppose you'll either have to put these testcases into 'libgomp', or > we'll have to invent something else?
Indeed. > Jakub, is there a reason why for > build-tree testing we can't just add '-I[build-tree]/libgomp' etc. in > 'gcc.dg/gomp/gomp.exp' etc.? I guess historic reasons. E.g. g++.dg/ adds those and -L for libstdc++ too, but then most of the C++ tests that test primarily the compiler and sometimes use headers and even more often the runtime library are there. On the gomp side, libgomp/testsuite has been used for both compile and link/runtime tests that need the runtime library and its headers, while gcc/testsuite/*/gomp/ has been left for tests that don't need any of those. Jakub