As reported in the PR, with the addition of all those OpenACC tests, libgomp make check times have skyrocketed since the testsuite is still run sequentially. Even on a reasonably fast x86 machine (4 x 2.0 Ghz Xeon E7450) the run takes 4286 seconds. On slower sparc boxes (1.2 GHz UltraSPARC-T2) we're at 29406 seconds, compared to 7825 seconds on the 4.9 branch. Thus, the libgomp tests massively slow down the whole testsuite run, being the last part to finish. Fixing this proved trivial: I managed to almost literally copy the solution from libstdc++-v3/testsuite/Makefile.am, with a minimal change to libgomp.exp so the generated libgomp-test-support.exp file is found in both the sequential and parallel cases. This isn't an issue in libstdc++ since all necessary variables are stored in a single site.exp. Tested with make (1:13:53.80) and make -j128 (4:58.78) on i386-pc-solaris2.11 (4 x 2.0 Ghz Xeon E7-4850), no differences in results according to contrib/dg-cmp-results.sh. Ok for mainline and gcc-5 branch after some soak time? Rainer 2015-05-06 Rainer Orth PR libgomp/66005 * testsuite/Makefile.am (PWD_COMMAND): New variable. (%/site.exp): New target. (check_p_numbers0, check_p_numbers1, check_p_numbers2) (check_p_numbers3, check_p_numbers4, check_p_numbers5) (check_p_numbers6, check_p_numbers, check_p_subdirs) (check_DEJAGNU_normal_targets): New variables. ($(check_DEJAGNU_normal_targets)): New target. ($(check_DEJAGNU_normal_targets)): New dependency. (check-DEJAGNU $(check_DEJAGNU_normal_targets)): New targets. * testsuite/Makefile.in: Regenerate. * testsuite/lib/libgomp.exp: Also search in .. for libgomp-test-support.exp.