20 lines
1.0 KiB
Plaintext
20 lines
1.0 KiB
Plaintext
$OpenBSD: patch-tests_Makefile_in,v 1.2 2011/09/03 10:57:07 naddy Exp $
|
|
|
|
If SEPARATE_BUILD is enabled,
|
|
check-stateless . FOO
|
|
will check for a nonexistent ./FOO.IRREVERSIBLE.TXT and fail to take
|
|
$(srcdir)/FOO.IRREVERSIBLE.TXT into consideration.
|
|
|
|
--- tests/Makefile.in.orig Wed Nov 24 03:24:03 2010
|
|
+++ tests/Makefile.in Fri Sep 2 22:24:26 2011
|
|
@@ -128,7 +128,9 @@ check : all table-from table-to ../src/iconv_no_i18n t
|
|
$(srcdir)/check-stateless $(srcdir) CP936
|
|
$(CC) $(LDFLAGS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(srcdir)/gengb18030z.c ../srclib/libicrt.a -o gengb18030z && \
|
|
{ cat $(srcdir)/GB18030-BMP.TXT ; ./gengb18030z ; } | sort > GB18030.TXT && \
|
|
+ { test $(srcdir) = . || cp $(srcdir)/GB18030.IRREVERSIBLE.TXT GB18030.IRREVERSIBLE.TXT; } && \
|
|
$(srcdir)/check-stateless . GB18030 && \
|
|
+ { test $(srcdir) = . || $(RM) GB18030.IRREVERSIBLE.TXT; } && \
|
|
$(RM) -r gengb18030z@EXEEXT@ gengb18030z.dSYM GB18030.TXT
|
|
$(srcdir)/check-stateful $(srcdir) ISO-2022-CN
|
|
$(srcdir)/check-stateful $(srcdir) ISO-2022-CN-EXT
|