aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile.am
diff options
context:
space:
mode:
authorK.Kosako <kosako@sofnec.co.jp>2018-03-22 10:23:09 +0900
committerK.Kosako <kosako@sofnec.co.jp>2018-03-22 10:23:09 +0900
commit86ee12457a65999f0f2b82b06d70a5920b9bfaab (patch)
tree4e063b4373f53d432ac79a089bf54b0052a65bbf /test/Makefile.am
parent4637685ea9ffd163adabe4e8fd6babf165c6d5e9 (diff)
downloadoniguruma-86ee12457a65999f0f2b82b06d70a5920b9bfaab.zip
oniguruma-86ee12457a65999f0f2b82b06d70a5920b9bfaab.tar.gz
oniguruma-86ee12457a65999f0f2b82b06d70a5920b9bfaab.tar.bz2
add test_uchar in test process for detect UChar in oniguruma.h
Diffstat (limited to 'test/Makefile.am')
-rw-r--r--test/Makefile.am7
1 files changed, 6 insertions, 1 deletions
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)