db6bd7a057246ca8cb680934c65f5ca251509a06
hiram
  Thu Dec 19 15:30:07 2013 -0800
adding mouseStuff to the test target refs #12260
diff --git src/hg/mouseStuff/makefile src/hg/mouseStuff/makefile
index 2a3911f..4af0e6e 100644
--- src/hg/mouseStuff/makefile
+++ src/hg/mouseStuff/makefile
@@ -79,15 +79,22 @@
 	whyConserved 
 
 # List of directories to build
 USE_DIRS = $(DIRS) $(UTILS_APPLIST)
 
 all: ${USE_DIRS:%=%.all}
 %.all:
 	cd $* && echo $* && ${MAKE}
 
 userApps: $(UTILS_APPLIST:%=%.userApp)
 %.userApp:
 	cd $* && echo $* && $(MAKE)
 
 clean::
 	cd simpleChain && ${MAKE} clean
+
+testAll: $(USE_DIRS:%=%.testAll)
+
+%.testAll:
+	@test -s $*/tests/makefile && (echo $*; cd $* && $(MAKE) test) || true
+
+test:: testAll