mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-10 05:03:06 +03:00
testsuite: Make stdio-common/tst-printf-format-*-mem UNSUPPORTED if the mtrace output does not exist
When gawk was not built with MPFR, there's no mtrace output and those tests FAIL. But we should make them UNSUPPORTED like other tst-printf-format-* tests in the case. Signed-off-by: Xi Ruoyao <xry111@xry111.site> Reviewed-by: Sam James <sam@gentoo.org> Reviewed-by: Andreas K Hüttel <dilfridge@gentoo.org>
This commit is contained in:
committed by
Andreas K. Hüttel
parent
8d55f2fb17
commit
b31ed9581b
@@ -599,8 +599,11 @@ $(objpfx)tst-%-mem.out: $(objpfx)tst-%.out
|
||||
$(common-objpfx)malloc/mtrace $(objpfx)tst-$*.mtrace > $@; \
|
||||
$(evaluate-test)
|
||||
$(objpfx)tst-printf-format-%-mem.out: $(objpfx)tst-printf-format-%.out
|
||||
$(common-objpfx)malloc/mtrace \
|
||||
$(objpfx)tst-printf-format-$*.mtrace > $@; \
|
||||
{ test -r $(objpfx)tst-printf-format-$*.mtrace \
|
||||
|| ( echo "$(objpfx)tst-printf-format-$*.mtrace does not exist"; \
|
||||
exit 77; ) \
|
||||
&& $(common-objpfx)malloc/mtrace \
|
||||
$(objpfx)tst-printf-format-$*.mtrace; } > $@; \
|
||||
$(evaluate-test)
|
||||
|
||||
errlist-h = $(firstword $(wildcard $(addsuffix /errlist.h,$(sysdirs) .)))
|
||||
|
Reference in New Issue
Block a user