6a6d7a78f1de5456925fc8f4f675795cbb61ee35
max
  Tue Nov 29 03:16:02 2022 -0800
adding tests for bigGuessDb, refs #30316

diff --git src/utils/bigGuessDb/makefile src/utils/bigGuessDb/makefile
index c4972aa..acca80c 100644
--- src/utils/bigGuessDb/makefile
+++ src/utils/bigGuessDb/makefile
@@ -1,14 +1,18 @@
 kentSrc = ../..
 include ../../inc/common.mk
 
 compile:
 	cp -p bigGuessDb ${DESTBINDIR}/bigGuessDb
 
-check:
+lint:
 	pylint bigGuessDb
 
 clean:
-	#cd tests && ${MAKE} clean
+	cd tests && ${MAKE} clean
 
-#test:
-	#cd tests && ${MAKE}
+test:
+	cd tests && ${MAKE}
+
+# big test, takes almost an hour, not doing during build
+gbdbTest:
+	for i in /gbdb/*; do db=`basename $$i`; if [ ! -f /gbdb/$$db/$$db.2bit ] ; then continue; fi; find /gbdb/$$db/ | egrep 'bb$$|bigWig$$|bw$$|bigBed$$' | while true; read fname; do guessedDb=`./bigGuessDb --best $$fname`; if [ "$$db" != "$$guessedDb" -a "$$guessedDb" != "emptyFile" ] ; then echo $$fname $$db $$guessedDb; fi ; done; done;