This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: PATCH: Build test .po files during test runs
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: mark at codesourcery dot com, libstdc++ at gcc dot gnu dot org
- Date: Thu, 24 Mar 2005 22:34:55 -0600
- Subject: Re: PATCH: Build test .po files during test runs
- Organization: Red Hat / Chicago
- References: <200503250133.j2P1Xk4K020306@sethra.codesourcery.com>
> I've not attempted any other simplifications (like changing
> testsuite_flags not to pass LOCALEDIR, or like changing po/Makefile.am
> not to build the .mo files), as I didn't want to perturb the other
> existing scripts yet. Once they've been assimilated into DejaGNU,
> then we could consider those cleanups.
I think you should kill testsuite_flags passing LOCALEDIR, and do a
complete transition.
This define is only used in 22_locale messages tests. Thus, it has no impact on
check-performance. For check-compile, you can just add
Index: check_compile
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/scripts/check_compile,v
retrieving revision 1.1
diff -c -p -r1.1 check_compile
*** check_compile 20 Jan 2005 20:28:40 -0000 1.1
--- check_compile 25 Mar 2005 04:32:09 -0000
*************** flags_script=$BUILD_DIR/scripts/testsuit
*** 26,32 ****
INCLUDES=`$flags_script --build-includes`
PCH_FLAGS=`$flags_script --cxxpchflags`
FLAGS=`$flags_script --cxxflags`
! TEST_FLAGS="-S"
COMPILER=`$flags_script --build-cxx`
CXX="$COMPILER $INCLUDES $PCH_FLAGS $FLAGS $TEST_FLAGS"
--- 26,32 ----
INCLUDES=`$flags_script --build-includes`
PCH_FLAGS=`$flags_script --cxxpchflags`
FLAGS=`$flags_script --cxxflags`
! TEST_FLAGS="-S -DLOCALEDIR=."
COMPILER=`$flags_script --build-cxx`
CXX="$COMPILER $INCLUDES $PCH_FLAGS $FLAGS $TEST_FLAGS"
best,
benjamin