Commit a1af4623 by Andreas Jaeger

Makefile.am (new-abi-baseline): Create baseline directory.

	* testsuite/Makefile.am (new-abi-baseline): Create baseline
	directory.
	(baseline_file): Use baseline_dir.
	(baseline_dir): New.
	(mkinstalldirs): New.

	* acinclude.m4: Rename baseline_file to baseline_dir, strip
	filename from baseline_dir.

	* testsuite/Makefile.in: Regenerated.
	* Makefile.in: Regenerated.
	* aclocal.m4: Regenerated.
	* configure: Regenerated.

From-SVN: r68136
parent 2f934953
...@@ -121,7 +121,7 @@ USE_NLS = @USE_NLS@ ...@@ -121,7 +121,7 @@ USE_NLS = @USE_NLS@
VERSION = @VERSION@ VERSION = @VERSION@
WARN_FLAGS = @WARN_FLAGS@ WARN_FLAGS = @WARN_FLAGS@
WERROR = @WERROR@ WERROR = @WERROR@
baseline_file = @baseline_file@ baseline_dir = @baseline_dir@
check_msgfmt = @check_msgfmt@ check_msgfmt = @check_msgfmt@
enable_shared = @enable_shared@ enable_shared = @enable_shared@
enable_static = @enable_static@ enable_static = @enable_static@
......
...@@ -2059,8 +2059,8 @@ AC_DEFUN(GLIBCPP_CONFIGURE_TESTSUITE, [ ...@@ -2059,8 +2059,8 @@ AC_DEFUN(GLIBCPP_CONFIGURE_TESTSUITE, [
fi fi
# Export file names for ABI checking. # Export file names for ABI checking.
baseline_file="${glibcpp_srcdir}/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)/baseline_symbols.txt" baseline_dir="${glibcpp_srcdir}/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
AC_SUBST(baseline_file) AC_SUBST(baseline_dir)
# Determine if checking the ABI is desirable. # Determine if checking the ABI is desirable.
if test x$enable_symvers = xno; then if test x$enable_symvers = xno; then
......
...@@ -2071,8 +2071,8 @@ AC_DEFUN(GLIBCPP_CONFIGURE_TESTSUITE, [ ...@@ -2071,8 +2071,8 @@ AC_DEFUN(GLIBCPP_CONFIGURE_TESTSUITE, [
fi fi
# Export file names for ABI checking. # Export file names for ABI checking.
baseline_file="${glibcpp_srcdir}/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)/baseline_symbols.txt" baseline_dir="${glibcpp_srcdir}/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
AC_SUBST(baseline_file) AC_SUBST(baseline_dir)
# Determine if checking the ABI is desirable. # Determine if checking the ABI is desirable.
if test x$enable_symvers = xno; then if test x$enable_symvers = xno; then
......
...@@ -23607,7 +23607,7 @@ done ...@@ -23607,7 +23607,7 @@ done
fi fi
# Export file names for ABI checking. # Export file names for ABI checking.
baseline_file="${glibcpp_srcdir}/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)/baseline_symbols.txt" baseline_dir="${glibcpp_srcdir}/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
# Determine if checking the ABI is desirable. # Determine if checking the ABI is desirable.
...@@ -24095,7 +24095,7 @@ s%@WERROR@%$WERROR%g ...@@ -24095,7 +24095,7 @@ s%@WERROR@%$WERROR%g
s%@SYMVER_MAP@%$SYMVER_MAP%g s%@SYMVER_MAP@%$SYMVER_MAP%g
s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
s%@baseline_file@%$baseline_file%g s%@baseline_dir@%$baseline_dir%g
s%@GLIBCPP_TEST_WCHAR_T_TRUE@%$GLIBCPP_TEST_WCHAR_T_TRUE%g s%@GLIBCPP_TEST_WCHAR_T_TRUE@%$GLIBCPP_TEST_WCHAR_T_TRUE%g
s%@GLIBCPP_TEST_WCHAR_T_FALSE@%$GLIBCPP_TEST_WCHAR_T_FALSE%g s%@GLIBCPP_TEST_WCHAR_T_FALSE@%$GLIBCPP_TEST_WCHAR_T_FALSE%g
s%@GLIBCPP_TEST_ABI_TRUE@%$GLIBCPP_TEST_ABI_TRUE%g s%@GLIBCPP_TEST_ABI_TRUE@%$GLIBCPP_TEST_ABI_TRUE%g
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
AUTOMAKE_OPTIONS = cygnus dejagnu AUTOMAKE_OPTIONS = cygnus dejagnu
mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
DEJATOOL = libstdc++-v3 DEJATOOL = libstdc++-v3
EXPECT = `if [ -f @glibcpp_builddir@/../../expect/expect ] ; then \ EXPECT = `if [ -f @glibcpp_builddir@/../../expect/expect ] ; then \
...@@ -83,8 +85,9 @@ check-am: ...@@ -83,8 +85,9 @@ check-am:
check-local: check-abi check-local: check-abi
baseline_file = @baseline_file@ baseline_dir = @baseline_dir@
extract_symvers = @glibcpp_srcdir@/scripts/extract_symvers baseline_file = ${baseline_dir}/baseline_symbols.txt
extract_symvers = @glibcpp_srcdir@/config/abi/extract_symvers
current_symbols.txt: ${extract_symvers} ../src/.libs/libstdc++.so current_symbols.txt: ${extract_symvers} ../src/.libs/libstdc++.so
-@(${extract_symvers} ../src/.libs/libstdc++.so current_symbols.txt) -@(${extract_symvers} ../src/.libs/libstdc++.so current_symbols.txt)
...@@ -99,6 +102,7 @@ baseline_symbols: ...@@ -99,6 +102,7 @@ baseline_symbols:
touch baseline_symbols) touch baseline_symbols)
new-abi-baseline: new-abi-baseline:
-@$(mkinstalldirs) ${baseline_dir}
-@(output=${baseline_file}; \ -@(output=${baseline_file}; \
if test -f $${output}; then \ if test -f $${output}; then \
output=$${output}.new; \ output=$${output}.new; \
......
...@@ -137,6 +137,8 @@ toplevel_srcdir = @toplevel_srcdir@ ...@@ -137,6 +137,8 @@ toplevel_srcdir = @toplevel_srcdir@
AUTOMAKE_OPTIONS = cygnus dejagnu AUTOMAKE_OPTIONS = cygnus dejagnu
mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
DEJATOOL = libstdc++-v3 DEJATOOL = libstdc++-v3
EXPECT = `if [ -f @glibcpp_builddir@/../../expect/expect ] ; then \ EXPECT = `if [ -f @glibcpp_builddir@/../../expect/expect ] ; then \
...@@ -177,7 +179,8 @@ libv3test_a_SOURCES = testsuite_hooks.cc testsuite_allocator.cc ...@@ -177,7 +179,8 @@ libv3test_a_SOURCES = testsuite_hooks.cc testsuite_allocator.cc
@GLIBCPP_TEST_ABI_FALSE@noinst_PROGRAMS = @GLIBCPP_TEST_ABI_FALSE@noinst_PROGRAMS =
abi_check_SOURCES = abi_check.cc abi_check_SOURCES = abi_check.cc
baseline_file = @baseline_file@ baseline_dir = @baseline_dir@
baseline_file = ${baseline_dir}/baseline_symbols.txt
extract_symvers = @glibcpp_srcdir@/scripts/extract_symvers extract_symvers = @glibcpp_srcdir@/scripts/extract_symvers
# These two special 'check-script' rules use the bash script 'check' # These two special 'check-script' rules use the bash script 'check'
...@@ -197,7 +200,6 @@ check_performance = ${glibcpp_srcdir}/scripts/check_performance ...@@ -197,7 +200,6 @@ check_performance = ${glibcpp_srcdir}/scripts/check_performance
CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \ CLEANFILES = *.txt *.tst *.exe core* filebuf_* tmp* ostream_* *.log *.sum \
testsuite_* site.exp abi_check baseline_symbols testsuite_* site.exp abi_check baseline_symbols
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
CONFIG_HEADER = ../config.h CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES = CONFIG_CLEAN_FILES =
LIBRARIES = $(noinst_LIBRARIES) LIBRARIES = $(noinst_LIBRARIES)
...@@ -507,6 +509,7 @@ baseline_symbols: ...@@ -507,6 +509,7 @@ baseline_symbols:
touch baseline_symbols) touch baseline_symbols)
new-abi-baseline: new-abi-baseline:
-@$(mkinstalldirs) ${baseline_dir}
-@(output=${baseline_file}; \ -@(output=${baseline_file}; \
if test -f $${output}; then \ if test -f $${output}; then \
output=$${output}.new; \ output=$${output}.new; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment