Index: Makefile.in =================================================================== --- Makefile.in (revision 138933) +++ Makefile.in (working copy) @@ -564,6 +564,22 @@ -@(chmod + ${check_performance_script}; \ ${check_performance_script} ${glibcxx_srcdir} ${glibcxx_builddir}) +# Run test suite with a std::allocator that uses a non-std pointer +# (ext/pointer.h) to verify support for non-std pointers +check-nonstd-pointer: + -@(outputdir=${glibcxx_builddir}/testsuite/nonstd_pointer; export outputdir; \ + if test ! -d $${outputdir}; then \ + mkdir $${outputdir}; \ + fi; \ + if test ! -d $${outputdir}/bits; then \ + mkdir $${outputdir}/bits; \ + fi; \ + patch ${glibcxx_srcdir}/include/bits/allocator.h -o $${outputdir}/bits/allocator.h < ${glibcxx_srcdir}/scripts/nonstd_allocator.patch; \ + srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \ + EXPECT=$(EXPECT); export EXPECT; \ + $(MAKE) CXXFLAGS="-I$${outputdir}" RUNTESTFLAGS="$(RUNTESTFLAGS) --outdir $${outputdir} --objdir $${outputdir}" check-DEJAGNU; ) + + check-parallel: site.exp -@(if test ! -d $${libgomp_dir}; then \ echo "Testing parallel mode failed as libgomp not present."; \