Last active
December 24, 2015 06:59
-
-
Save fukata/6760406 to your computer and use it in GitHub Desktop.
ALL go tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# see http://d.hatena.ne.jp/holidays-l/20110823/p1 | |
define MAKETEST | |
for pkg in $$(for f in $$(find ./adstir -name *_test.go); do echo $${f%/*}; done |sort -u) | |
do | |
gom test $$pkg | |
done | |
endef | |
export MAKETEST | |
test: | |
@echo "$${MAKETEST}" > /tmp/$$$$ ; $(SHELL) /tmp/$$$$ ; rm -f /tmp/$$$$ | |
# vim:set noexpandtab : |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment