aboutsummaryrefslogtreecommitdiff
path: root/stdio-common
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-07-25 10:06:51 +0000
committerAndreas Jaeger <aj@suse.de>2000-07-25 10:06:51 +0000
commit5cb798252fd5d95e19e1ac212333d07606699b5e (patch)
treecb0f1ff3d56e13b3fd696c1141739fbbfe78ea01 /stdio-common
parent11fd973a1f9e5321580c35d13e9ba25217a003e8 (diff)
downloadglibc-5cb798252fd5d95e19e1ac212333d07606699b5e.zip
glibc-5cb798252fd5d95e19e1ac212333d07606699b5e.tar.gz
glibc-5cb798252fd5d95e19e1ac212333d07606699b5e.tar.bz2
* stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
according to changes in test program, run also with static only builds. ($(objpfx)tst-printf.out): Likewise. * stdio-common/tst-unbputc.sh: Likewise. * stdio-common/tst-printf.sh: Likewise.
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/Makefile8
-rw-r--r--stdio-common/tst-printf.sh3
-rwxr-xr-xstdio-common/tst-unbputc.sh3
3 files changed, 7 insertions, 7 deletions
diff --git a/stdio-common/Makefile b/stdio-common/Makefile
index cef34f4..62289fe 100644
--- a/stdio-common/Makefile
+++ b/stdio-common/Makefile
@@ -28,7 +28,7 @@ routines := \
_itoa _itowa _i18n_itoa _i18n_itowa itoa-digits itowa-digits \
vfprintf vprintf printf_fp reg-printf printf-prs printf_fphex \
printf_size fprintf printf snprintf sprintf asprintf dprintf \
- vfscanf \
+ vfscanf \
fscanf scanf sscanf \
perror psignal \
tmpfile tmpfile64 tmpnam tmpnam_r tempnam tempname \
@@ -60,18 +60,16 @@ test-srcs = tst-unbputc tst-printf
include ../Rules
-ifeq (yes,$(build-shared))
.PHONY: do-tst-unbputc do-tst-printf
tests: do-tst-unbputc do-tst-printf
do-tst-unbputc: $(objpfx)tst-unbputc.out
$(objpfx)tst-unbputc.out: $(objpfx)tst-unbputc tst-unbputc.sh
- $(SHELL) -e tst-unbputc.sh $(common-objpfx)
+ $(SHELL) -e tst-unbputc.sh $(common-objpfx) '$(run-program-prefix)'
do-tst-printf: $(objpfx)tst-printf.out
$(objpfx)tst-printf.out: $(objpfx)tst-printf tst-printf.sh
- $(SHELL) -e tst-printf.sh $(common-objpfx)
-endif
+ $(SHELL) -e tst-printf.sh $(common-objpfx) '$(run-program-prefix)'
CFLAGS-vfprintf.c = -Wno-uninitialized
CFLAGS-tst-printf.c = -Wno-format
diff --git a/stdio-common/tst-printf.sh b/stdio-common/tst-printf.sh
index 7023cfc..dbf15d4 100644
--- a/stdio-common/tst-printf.sh
+++ b/stdio-common/tst-printf.sh
@@ -19,11 +19,12 @@
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
common_objpfx=$1; shift
+run_program_prefix=$1; shift
status=0
LOCPATH=${common_objpfx}localedata GCONV_PATH=${common_objpfx}iconvdata \
-${common_objpfx}elf/ld.so --library-path $common_objpfx \
+${run_program_prefix} \
${common_objpfx}stdio-common/tst-printf \
> ${common_objpfx}stdio-common/tst-printf.out || status=1
diff --git a/stdio-common/tst-unbputc.sh b/stdio-common/tst-unbputc.sh
index efc0777..89e0259 100755
--- a/stdio-common/tst-unbputc.sh
+++ b/stdio-common/tst-unbputc.sh
@@ -19,10 +19,11 @@
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
common_objpfx=$1; shift
+run_program_prefix=$1; shift
status=0
-${common_objpfx}elf/ld.so --library-path $common_objpfx \
+${run_program_prefix} \
${common_objpfx}stdio-common/tst-unbputc \
2> ${common_objpfx}stdio-common/tst-unbputc.out || status=1