]> granicus.if.org Git - onig/commitdiff
add test_uchar in test process for detect UChar in oniguruma.h
authorK.Kosako <kosako@sofnec.co.jp>
Thu, 22 Mar 2018 01:23:09 +0000 (10:23 +0900)
committerK.Kosako <kosako@sofnec.co.jp>
Thu, 22 Mar 2018 01:23:09 +0000 (10:23 +0900)
test/Makefile.am

index 6559a77f9fd29db81073aabd070bb8e04cfcd73c..2dde7d65bc11c708588cd7bc9cf8370c23264890 100644 (file)
@@ -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)