This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/4][PR 71931] Fix target lib tests --with-build-sysroot


The dejagnu find_gcc function cannot handle if CC needs extra flags
like --sysroot. So for testing target libraries use the same CC that
was used for building the target libs.

New patch works even if runtest is not invoked from make as discussed
https://gcc.gnu.org/ml/gcc-patches/2016-07/msg01320.html

Szabolcs Nagy (4):
  [PR 71931] Fix libatomic tests
  [PR 71931] Fix libgomp tests
  [PR 71931] Fix libitm tests
  [RFC][PR 71931] Fix libvtv tests

 libatomic/configure                               |    5 +++-
 libatomic/configure.ac                            |    1 +
 libatomic/testsuite/Makefile.am                   |    2 ++
 libatomic/testsuite/Makefile.in                   |   33 ++++++++++++---------
 libatomic/testsuite/lib/libatomic.exp             |    5 ++++
 libatomic/testsuite/libatomic-test-support.exp.in |    1 +
 libgomp/testsuite/lib/libgomp.exp                 |    3 ++
 libgomp/testsuite/libgomp-test-support.exp.in     |    2 ++
 libitm/configure                                  |    7 +++--
 libitm/configure.ac                               |    1 +
 libitm/testsuite/Makefile.am                      |    2 ++
 libitm/testsuite/Makefile.in                      |   33 ++++++++++++---------
 libitm/testsuite/lib/libitm.exp                   |    5 ++++
 libitm/testsuite/libitm-test-support.exp.in       |    1 +
 libvtv/Makefile.am                                |    4 +--
 libvtv/Makefile.in                                |    4 +--
 libvtv/configure                                  |    3 ++
 libvtv/configure.ac                               |    1 +
 libvtv/testsuite/Makefile.am                      |    2 ++
 libvtv/testsuite/Makefile.in                      |   33 ++++++++++++---------
 libvtv/testsuite/lib/libvtv.exp                   |    5 ++++
 libvtv/testsuite/libvtv-test-support.exp.in       |    1 +
 22 files changed, 105 insertions(+), 49 deletions(-)
 create mode 100644 libatomic/testsuite/libatomic-test-support.exp.in
 create mode 100644 libitm/testsuite/libitm-test-support.exp.in
 create mode 100644 libvtv/testsuite/libvtv-test-support.exp.in

-- 
1.7.9.5


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]