WERROR = @WERROR@
XMLLINT = @XMLLINT@
XSLTPROC = @XSLTPROC@
+XSL_STYLE_DIR = @XSL_STYLE_DIR@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
am__tar = @am__tar@
am__untar = @am__untar@
baseline_dir = @baseline_dir@
+baseline_subdir_switch = @baseline_subdir_switch@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
glibcxx_localedir = @glibcxx_localedir@
glibcxx_prefixdir = @glibcxx_prefixdir@
glibcxx_srcdir = @glibcxx_srcdir@
-glibcxx_thread_h = @glibcxx_thread_h@
glibcxx_toolexecdir = @glibcxx_toolexecdir@
glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
gxx_include_dir = @gxx_include_dir@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
+toplevel_builddir = @toplevel_builddir@
toplevel_srcdir = @toplevel_srcdir@
AUTOMAKE_OPTIONS = nostdinc
RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
# These bits are all figured out from configure. Look in acinclude.m4
# or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
CONFIG_CXXFLAGS = \
- $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
+ $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS) -frandom-seed=$@
WARN_CXXFLAGS = \
$(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
testsuite_files_performance
extract_symvers = $(glibcxx_builddir)/scripts/extract_symvers
-baseline_subdir := $(shell $(CXX) --print-multi-dir)
-check_DEJAGNU_normal_targets = $(patsubst %,check-DEJAGNUnormal%,0 1 2 3)
+baseline_subdir := $(shell $(CXX) $(baseline_subdir_switch))
+check_DEJAGNU_normal_targets = $(patsubst %,check-DEJAGNUnormal%,0 1 2 3 4 5 6 7 8 9)
# Runs the testsuite, but in compile only mode.
# Can be used to test sources with non-GNU FE's at various warning
# By adding these files here, automake will remove them for 'make clean'
CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \
testsuite_* site.exp abi_check baseline_symbols *TEST* *.dat \
- *.ii *.s *.o *.cc *.x *.a *.so *.xml
+ *.ii *.s *.o *.cc *.x *.a *.so *.xml *.raw *.out
all: all-am
@echo 'set target_triplet $(target_triplet)' >>site.tmp
@echo 'set libiconv "$(LIBICONV)"' >>site.tmp
@echo 'set baseline_dir "$(baseline_dir)"' >> site.tmp
+ @echo 'set baseline_subdir_switch "$(baseline_subdir_switch)"' >> site.tmp
@echo '## All variables above are generated by configure. Do Not Edit ##' >>site.tmp
@test ! -f site.exp || \
sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
RANLIB="$(RANLIB)"; export RANLIB; \
if [ -z "$*$(filter-out --target_board=%, $(RUNTESTFLAGS))" ] \
&& [ "$(filter -j, $(MFLAGS))" = "-j" ]; then \
- $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNUnormal0 check-DEJAGNUnormal1 \
- check-DEJAGNUnormal2 check-DEJAGNUnormal3; \
- for idx in 0 1 2 3; do \
+ $(MAKE) $(AM_MAKEFLAGS) $(check_DEJAGNU_normal_targets); \
+ for idx in 0 1 2 3 4 5 6 7 8 9; do \
mv -f normal$$idx/libstdc++.sum normal$$idx/libstdc++.sum.sep; \
mv -f normal$$idx/libstdc++.log normal$$idx/libstdc++.log.sep; \
done; \
mv -f libstdc++.sum libstdc++.sum.sep; \
mv -f libstdc++.log libstdc++.log.sep; \
$(SHELL) $(srcdir)/../../contrib/dg-extract-results.sh \
- libstdc++.sum.sep normal0/libstdc++.sum.sep \
- normal1/libstdc++.sum.sep normal2/libstdc++.sum.sep \
- normal3/libstdc++.sum.sep > libstdc++.sum; \
+ libstdc++.sum.sep normal[0-9]/libstdc++.sum.sep > libstdc++.sum; \
$(SHELL) $(srcdir)/../../contrib/dg-extract-results.sh -L \
- libstdc++.log.sep normal0/libstdc++.log.sep \
- normal1/libstdc++.log.sep normal2/libstdc++.log.sep \
- normal3/libstdc++.log.sep > libstdc++.log; \
+ libstdc++.log.sep normal[0-9]/libstdc++.log.sep > libstdc++.log; \
exit 0; \
fi; \
srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
$(RUNTESTFLAGS) abi.exp; \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi; \
- dirs="`cd $$srcdir; echo [013-9][0-9]_*/* [ab]* de* [ep]*/*`";; \
+ dirs="`cd $$srcdir; echo [013-9][0-9]_*/*`";; \
normal1) \
- dirs="`cd $$srcdir; echo 2[0-2]_*/*`";; \
+ dirs="`cd $$srcdir; echo [ab]* de* [ep]*/*`";; \
normal2) \
- dirs="`cd $$srcdir; echo 2[4-9]_*/*`";; \
+ dirs="`cd $$srcdir; echo 2[01]_*/*`";; \
normal3) \
- dirs="`cd $$srcdir; echo 23_*/* t*/*`";; \
+ dirs="`cd $$srcdir; echo 22_*/*`";; \
+ normal4) \
+ dirs="`cd $$srcdir; echo 23_*/[a-km-tw-z]*`";; \
+ normal5) \
+ dirs="`cd $$srcdir; echo 23_*/[luv]*`";; \
+ normal6) \
+ dirs="`cd $$srcdir; echo 2[459]_*/*`";; \
+ normal7) \
+ dirs="`cd $$srcdir; echo 2[68]_*/*`";; \
+ normal8) \
+ dirs="`cd $$srcdir; echo 27_*/*`";; \
+ normal9) \
+ dirs="`cd $$srcdir; echo t*/*`";; \
esac; \
if [ -n "$*" ]; then cd "$*"; fi; \
if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
# To remove directories.
clean-local:
- rm -rf de fr debug parallel profile binaries
+ rm -rf de fr debug parallel profile binaries normal*
# 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.