This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix debug testcases


Running the glibc CVS testsuite I noticed that a number of the debug
tests failed.  The problem was the the de_DE.UTF-8 locale was not
found.  We should pass it - as we do in other tests - via the
environment.  The appended patch let's me pass all tests.

Ok to commit?

Andreas

2005-07-15  Andreas Jaeger  <aj@suse.de>

	* debug/Makefile (tst-lfschk3-ENV): New, set locale.
	(tst-lfschk2-ENV): New.
	(tst-lfschk1-ENV): New.
	(tst-chk3-ENV): New.
	(tst-chk2-ENV): New.
	(tst-chk1-ENV): New.

============================================================
Index: debug/Makefile
--- debug/Makefile	13 Jul 2005 06:09:13 -0000	1.27
+++ debug/Makefile	15 Jul 2005 09:56:49 -0000
@@ -54,6 +54,13 @@ CFLAGS-pread64_chk.c = -fexceptions -fas
 CFLAGS-recv_chk.c = -fexceptions -fasynchronous-unwind-tables
 CFLAGS-recvfrom_chk.c = -fexceptions -fasynchronous-unwind-tables
 
+tst-chk1-ENV = LOCPATH=$(common-objpfx)localedata
+tst-chk2-ENV = LOCPATH=$(common-objpfx)localedata
+tst-chk3-ENV = LOCPATH=$(common-objpfx)localedata
+tst-lfschk1-ENV = LOCPATH=$(common-objpfx)localedata
+tst-lfschk2-ENV = LOCPATH=$(common-objpfx)localedata
+tst-lfschk3-ENV = LOCPATH=$(common-objpfx)localedata
+
 tests = backtrace-tst tst-chk1 tst-chk2 tst-chk3 \
 	tst-lfschk1 tst-lfschk2 tst-lfschk3 test-strcpy_chk test-stpcpy_chk
 

-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]