This repository has been archived by the owner on Jun 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
/
run_hc_hive.sh
executable file
·64 lines (51 loc) · 1.58 KB
/
run_hc_hive.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/bin/sh -x
div=$1
db=$2
sid=$3
if [ -z "$JAVA_OPTS" ]; then
JAVA_OPTS=-Xmx15g
fi
export JAVA_OPTS
report_dir=$(dirname $0)/hc_reports/$div/$sid
mkdir -p $report_dir
echo "Running HCs on $div:$db in session $sid to $report_dir/$db.out"
div=${div,,}
if [[ $db =~ core ]] || [[ $db =~ otherfeatures ]]; then
./run-configurable-testrunner.sh \
-T ProteinTranslation MultiDbStableId MultiDbCompareNames \
-t MySQLStorageEngine \
-g EGCore \
-c staging.properties output.properties \
-R Database --output.database healthchecks_${div} \
-d $db \
--sessionID $sid >& $report_dir/$db.out
elif [[ $db =~ compara ]]; then
./run-configurable-testrunner.sh \
-T CheckSynteny MultiDbStableId MultiDbCompareNames \
-t MySQLStorageEngine \
-g EGCompara \
-c staging.properties output.properties \
-R Database --output.database healthchecks_${div} \
-d $db \
--sessionID $sid >& $report_dir/$db.out
elif [[ $db =~ variation ]]; then
./run-configurable-testrunner.sh \
-T MultiDbStableId MultiDbCompareNames \
-t MySQLStorageEngine \
-g EGVariation \
-c staging.properties output.properties \
-R Database --output.database healthchecks_${div} \
-d $db \
--sessionID $sid >& $report_dir/$db.out
elif [[ $db =~ funcgen ]]; then
./run-configurable-testrunner.sh \
-T MultiDbStableId MultiDbCompareNames \
-t MySQLStorageEngine \
-g EGFuncgen \
-c staging.properties output.properties \
-R Database --output.database healthchecks_${div} \
-d $db \
--sessionID $sid >& $report_dir/$db.out
else
echo "Do not know how to handle database $db - skipping"
fi