From: K.Kosako Date: Thu, 22 Mar 2018 01:23:09 +0000 (+0900) Subject: add test_uchar in test process for detect UChar in oniguruma.h X-Git-Tag: v6.8.2^2~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=86ee12457a65999f0f2b82b06d70a5920b9bfaab;p=onig add test_uchar in test process for detect UChar in oniguruma.h --- diff --git a/test/Makefile.am b/test/Makefile.am index 6559a77..2dde7d6 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -9,7 +9,7 @@ TESTS = test_utf8 testc testp testcu check_PROGRAMS = test_utf8 testc testp testcu -test: test_utf8 testc testp testcu +test: test_uchar test_utf8 testc testp testcu @echo "[Oniguruma API, UTF-8 check]" @./test_utf8 | grep RESULT @echo "[Oniguruma API, ASCII/EUC-JP check]" @@ -19,6 +19,11 @@ test: test_utf8 testc testp testcu @echo "[Oniguruma API, UTF-16 check]" @./testcu | grep RESULT +test_uchar: + @echo "[UChar in oniguruma.h check]" + @grep "\(^\|[^g]\)UChar" $(top_srcdir)/src/oniguruma.h + @echo "" + test_utf8_SOURCES = test_utf8.c test_utf8_LDADD = $(lib_onig)