e71e94fff952fcc0a569e3c89a687a3250396f97 gperez2 Wed Jul 29 09:44:31 2026 -0700 Excluding the clade field from hubApi list27/list27b test comparison due to the cron complaining, No RM diff --git src/hg/hubApi/tests/makefile src/hg/hubApi/tests/makefile index 8ef1032fbb2..c81e16564f9 100644 --- src/hg/hubApi/tests/makefile +++ src/hg/hubApi/tests/makefile @@ -73,31 +73,31 @@ err41 err42 err43 err44 err45 err46 err47 err48 err49 err50 \ err51 err52 err53 notSupported: notSup01 notSup02 notSup03 notSup07 notSup10 bugReports: redmine24089a redmine24089b redmine24666 redmine25840 setOutput: @if [ ! -d testOutput ]; then mkdir testOutput; fi clean:: rm -f testOutput/*.gz rmdir testOutput # exclude these lines from the JSON output for comparison with expected -excludeLines = downloadTime|dataTime|priority +excludeLines = downloadTime|dataTime|priority|clade # testing /list/noSubCommand, /list/publicHubs and /list/ucscGenomes test0: setOutput @./jsonConsumer.pl -serverName="${SERVERNAME}" -test0 2>&1 | sed -e 's#https://.*/list#/list#;' | egrep -v "${excludeLines}" | gzip -c > testOutput/$@.gz @zdiff expected/$@.gz testOutput/$@.gz @echo '### test0: ./jsonConsumer.pl -serverName="${SERVERNAME}" -test0 - OK' ################################################### list functions ########### # testing /list/hubGenomes list01: setOutput @printf "### $@ '${SERVERNAME}/cgi-bin/hubApi/list/hubGenomes?hubUrl=http://genome-test.gi.ucsc.edu/~hiram/hubs/Plants/hub.txt'\n" "${SERVERNAME}" @./jsonConsumer.pl -serverName="${SERVERNAME}" -hubUrl=http://genome-test.gi.ucsc.edu/~hiram/hubs/Plants/hub.txt -endpoint="/list/hubGenomes" 2>&1 | egrep -v "${excludeLines}" | sed -e 's#https://.*/list#/list#;' | gzip -c > testOutput/$@.gz @zdiff expected/$@.gz testOutput/$@.gz # testing /list/tracks? hubUrl genome=araTha1 trackLeavesOnly