* except.c (expand_fixup_region_end): New fn.
[official-gcc.git] / libstdc++ / tests / configure.in
blobebcef863523380538bb57a2a84ca30e9ca20b521
1 # This file is a shell script fragment that supplies the information
2 # necessary for a configure script to process the program in
3 # this directory.  For more information, look at ../../configure.
5 configdirs=
6 srctrigger=tcomplex.cc
7 srcname="tests for ANSI C++ library"
8 package_makefile_frag=Make.pack
10 # per-host:
12 # per-target:
14 target_makefile_frag=../target-mkfrag
16 TO_TOPDIR=../../
17 ALL=' '
18 XCXXINCLUDES="-I${srcdir}/.. -I${srcdir}/../stl -I${TO_TOPDIR}libio -I${srcdir}/${TO_TOPDIR}libio"
19 SIMPLE_TESTS='tstring tlist tmap tvector'
20 TESTS="tcomplex ${SIMPLE_TESTS}"
21 MOSTLYCLEAN="*.o core ${TESTS} *.out"
22 (. ${srcdir}/${TO_TOPDIR}libio/config.shared) >${package_makefile_frag}
24 # post-target:
26 CHECK=""
28 for TEST in ${SIMPLE_TESTS} ; do
29   echo "${TEST}: ${TEST}.o" '$(DEPLIBS)
30         $(CXX) $(CXXFLAGS) -o' "${TEST} ${TEST}.o" '$(LDLIBS)
31 ' >> Makefile
32 done
34 for TEST in ${TESTS} ; do
35   echo ".PHONY: check-${TEST}" >>Makefile
36   if [ -f ${srcdir}/${TEST}.inp ] ; then
37     echo "check-${TEST}: ${TEST}" '$(srcdir)'"/${TEST}.inp
38         ./${TEST} < "'$(srcdir)'"/${TEST}.inp > ${TEST}.out 2>&1" >>Makefile
39   else
40     echo "check-${TEST}: ${TEST}
41         ./${TEST} > ${TEST}.out 2>&1"  >>Makefile
42   fi
43   echo '        diff -c $(srcdir)/'"${TEST}.exp ${TEST}.out"  >>Makefile
44   CHECK="${CHECK} check-${TEST}"
45 done
46 echo "
47 check:
48 check-old: ${CHECK}" >>Makefile