diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-01-13 11:07:44 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-01-13 11:07:44 +0000 |
commit | 10c05c9684775cb1d911801238e36d1ef98e4e8a (patch) | |
tree | 6b247dd8a2499b56b07d69f4ca296190151f264d /libstdc++-v3/testsuite/Makefile.in | |
parent | 7b76dcb9d8a0a1542d23bde7d2b241983f928c6e (diff) | |
download | gcc-10c05c9684775cb1d911801238e36d1ef98e4e8a.tar.gz |
2010-01-13 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/Makefile.am (check-debug): Add.
* testsuite/Makefile.in: Regenerate.
* config.h.in: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155854 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/Makefile.in')
-rw-r--r-- | libstdc++-v3/testsuite/Makefile.in | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/Makefile.in b/libstdc++-v3/testsuite/Makefile.in index b66c27ba462..e6f437e8566 100644 --- a/libstdc++-v3/testsuite/Makefile.in +++ b/libstdc++-v3/testsuite/Makefile.in @@ -289,6 +289,9 @@ compile_script = ${glibcxx_srcdir}/scripts/check_compile # XXX Need to add dependency on libtestc++.a check_performance_script = ${glibcxx_srcdir}/scripts/check_performance +# Runs the testsuite in debug mode. +debug_flags = "unix/-D_GLIBCXX_DEBUG" + # Runs the testsuite in parallel mode. libgomp_dir = ${glibcxx_builddir}/../libgomp libgomp_flags = -B${glibcxx_builddir}/../libgomp \ @@ -626,6 +629,15 @@ check-performance: testsuite_files_performance ${performance_script} -@(chmod + ${check_performance_script}; \ ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir}) +check-debug: site.exp + outputdir=debug; export outputdir; \ + if test ! -d $${outputdir}; then \ + mkdir $${outputdir}; \ + fi; \ + srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \ + EXPECT=$(EXPECT); export EXPECT; \ + $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) conformance.exp --outdir $${outputdir} --objdir $${outputdir} --target_board=$(debug_flags)" check-DEJAGNU; + check-parallel: site.exp -@(if test ! -d $${libgomp_dir}; then \ echo "Testing parallel mode failed as libgomp not present."; \ @@ -658,7 +670,7 @@ check-profile: site.exp # To remove directories. clean-local: - rm -rf parallel profile + rm -rf debug parallel profile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. |