From: j8takagi <j8takagi@nifty.com>
Date: Mon, 6 Aug 2018 08:48:34 +0000 (+0900)
Subject: スモークテストを実行するmake smokeを追加
X-Git-Tag: v0.5p1~4
X-Git-Url: https://www.j8takagi.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=782e7ca8648bd7d9ed6016a896a71ea2293e8719;p=YACASL2.git

スモークテストを実行するmake smokeを追加
---

diff --git a/Makefile b/Makefile
index bff31db..df6cab7 100644
--- a/Makefile
+++ b/Makefile
@@ -60,6 +60,9 @@ doc_inner:
 check:
 	$(MAKE) -sC test/system
 
+smoke:
+	$(MAKE) -sC test/system smoke
+
 valgrind:
 	$(MAKE) -sC test/system valgrind
 
diff --git a/test/system/Makefile b/test/system/Makefile
index 74f8a4a..833b8fe 100644
--- a/test/system/Makefile
+++ b/test/system/Makefile
@@ -4,11 +4,14 @@ define make_dirs
     $(foreach d,$1,$(MAKE) -sC $d $2)
 endef
 
-.PHONY: check valgrind clean
+.PHONY: check smoke valgrind clean
 
 check:
 	@$(call make_dirs,$(CMD),$@; )
 
+smoke:
+	$(MAKE) -sC casl2_smoke check
+
 valgrind:
 	@$(call make_dirs,$(CMD),$@; )