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
@@ -1,93 +1,100 @@
 # Build all directories in makeDb 
 
 kentSrc = ../..
 
 include ${kentSrc}/inc/localEnvironment.mk
 include ${kentSrc}/inc/common.mk
 
 BADDIRS = \
         correctEst
 
 # List of directories to build for userApps
 UTILS_APPLIST = \
 	axtChain \
 	axtSort \
 	axtSwap \
 	axtToMaf \
 	axtToPsl \
 	bedCoverage \
 	chainAntiRepeat \
 	chainFilter \
 	chainMergeSort \
 	chainNet \
 	chainPreNet \
 	chainSort \
 	chainSplit \
 	chainStitchId \
 	chainSwap \
 	chainToAxt \
 	chainToPsl \
 	lavToAxt \
 	lavToPsl \
 	mafCoverage \
 	mafFetch \
 	mafRanges \
 	mafToAxt \
 	mafToPsl \
 	netChainSubset \
 	netClass \
 	netFilter \
 	netSplit \
 	netSyntenic \
 	netToAxt \
 	netToBed \
 	pslMrnaCover
 
 # List of directories to build at UCSC
 DIRS = \
 	axtAndBed \
 	axtBest \
 	axtCalcMatrix \
 	axtDropOverlap \
 	axtDropSelf \
 	axtFilter \
 	axtIndex \
 	axtPretty \
 	axtQueryCount \
 	axtRecipBest \
 	axtRescore \
 	axtSplitByTarget \
 	axtToBed \
 	axtToChain \
 	calcGap \
 	chainDbToFile \
 	chainStats \
 	gcForBed \
 	knownVsBlat \
 	libScan \
 	mousePoster \
 	netStats \
 	netToBedWithId \
         orthologBySynteny \
 	phToPsl \
 	regionPicker \
 	rikenBestInCluster \
 	simpleChain \
 	splitSim \
 	subsetAxt \
 	subsetTraces \
 	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