re PR boehm-gc/11412 (boehm-gc testing problems)
authorRainer Orth <ro@gcc.gnu.org>
Fri, 25 Mar 2011 17:04:16 +0000 (17:04 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Fri, 25 Mar 2011 17:04:16 +0000 (17:04 +0000)
commit94ea609ab3bfbb3ccba25af4f8575a330ec2753e
treebca5a11be904a41f7a02366de822a87a8d289f46
parent6c4e299723b232528d96b081ddb816aeb7ea8497
re PR boehm-gc/11412 (boehm-gc testing problems)

PR boehm-gc/11412
* configure.ac (THREADCFLAGS): New variable.
Use it instead of INCLUDES, AM_CPPFLAGS.
<*-*-kfreebsd*-gnu> (THREADDLLIBS): Rename to THREADLIBS.
Remove DG/UX support.
(AC_CONFIG_FILES): Add testsuite/Makefile.
* Makefile.am (AUTOMAKE_OPTIONS): Use foreign instead of cygnus.
(SUBDIRS): Add testsuite.
(libgcjgc_la_LIBADD): Remove $(UNWINDLIBS).
(AM_CXXFLAGS): Add $(THREADCFLAGS).
(AM_CFLAGS): Likewise.
Remove TESTS related variables.
* Makefile.in: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.am: New file.
* testsuite/Makefile.in: New file.
* testsuite/lib/boehm-gc.exp: New file.
* testsuite/config/default.exp: New file.
* testsuite/boehm-gc.c/c.exp: New file.
* testsuite/boehm-gc.lib/lib.exp: New file.
* tests/test.c: Move ...
* testsuite/boehm-gc.c/gctest.c: ... here.
* tests/leak_test.c, tests/middle.c, tests/thread_leak_test.c,
tests/trace_test.c: Move ...
* testsuite/boehm-gc.c: ... here.
* testsuite/boehm-gc.c/trace_test.c: Skip everywhere.
* tests/staticrootslib.c, tests/staticrootstest.c: Move ...
* testsuite/boehm-gc.lib: ... here.
* testsuite/boehm-gc.lib/staticrootstest.c: Use dg-add-shlib
staticrootslib.c.
* tests/test_cpp.cc: Move ...
* testsuite/boehm-gc.c++: ... here.

From-SVN: r171514
27 files changed:
boehm-gc/Makefile.am
boehm-gc/Makefile.in
boehm-gc/configure
boehm-gc/configure.ac
boehm-gc/include/Makefile.in
boehm-gc/tests/leak_test.c [deleted file]
boehm-gc/tests/middle.c [deleted file]
boehm-gc/tests/staticrootslib.c [deleted file]
boehm-gc/tests/staticrootstest.c [deleted file]
boehm-gc/tests/test.c [deleted file]
boehm-gc/tests/test_cpp.cc [deleted file]
boehm-gc/tests/thread_leak_test.c [deleted file]
boehm-gc/tests/trace_test.c [deleted file]
boehm-gc/testsuite/Makefile.am [new file with mode: 0644]
boehm-gc/testsuite/Makefile.in [new file with mode: 0644]
boehm-gc/testsuite/boehm-gc.c++/test_cpp.cc [new file with mode: 0644]
boehm-gc/testsuite/boehm-gc.c/c.exp [new file with mode: 0644]
boehm-gc/testsuite/boehm-gc.c/gctest.c [new file with mode: 0644]
boehm-gc/testsuite/boehm-gc.c/leak_test.c [new file with mode: 0644]
boehm-gc/testsuite/boehm-gc.c/middle.c [new file with mode: 0644]
boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c [new file with mode: 0644]
boehm-gc/testsuite/boehm-gc.c/trace_test.c [new file with mode: 0644]
boehm-gc/testsuite/boehm-gc.lib/lib.exp [new file with mode: 0644]
boehm-gc/testsuite/boehm-gc.lib/staticrootslib.c [new file with mode: 0644]
boehm-gc/testsuite/boehm-gc.lib/staticrootstest.c [new file with mode: 0644]
boehm-gc/testsuite/config/default.exp [new file with mode: 0644]
boehm-gc/testsuite/lib/boehm-gc.exp [new file with mode: 0644]