Debian Codegraph @

tools/testing/reporting/scripts/cronMkDerbyTestIndex_all

raw
1 #!/bin/bash
2
3 # Licensed to the Apache Software Foundation (ASF) under one or more
4 # contributor license agreements. See the NOTICE file distributed with
5 # this work for additional information regarding copyright ownership.
6 # The ASF licenses this file to you under the Apache License, Version 2.0
7 # (the "License"); you may not use this file except in compliance with
8 # the License. You may obtain a copy of the License at
9 #
10 # http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17
18 echo "THIS IS SITE SPECIFIC! FIX!"
19 exit
20
21 export USER="derbytester"
22 export HOME="/home/${USER}"
23
24 JOB=mkDerbyTestIndex_all
25
26 echo "----------------------------------------------------" > ${HOME}/cron/${JOB}.log
27 echo "----------------------------------------------------" > ${HOME}/cron/${JOB}.err
28 /bin/date >> ${HOME}/cron/${JOB}.log
29 /bin/date >> ${HOME}/cron/${JOB}.err
30
31 . ${HOME}/.bashrc >> ${HOME}/cron/${JOB}.log 2>>${HOME}/cron/${JOB}.err
32 TOOLDIR="${DERBYDIR}/${BRANCH_DIR}/tools/testing/reporting/scripts"
33
34
35 export DERBYDIR="${HOME}/Apache/Derby/trunk_JDK15"
36 echo "${DERBYDIR} ----------------------------------" >> ${HOME}/cron/${JOB}.log
37 . ${DERBYDIR}/env.sh >> ${HOME}/cron/${JOB}.log 2>>${HOME}/cron/${JOB}.err
38 . ${TOOLDIR}/env
39 ${TOOLDIR}/${JOB} details >> ${HOME}/cron/${JOB}.log 2>>${HOME}/cron/${JOB}.err
40 ${TOOLDIR}/${JOB} >> ${HOME}/cron/${JOB}.log 2>>${HOME}/cron/${JOB}.err
41
42 export DERBYDIR="${HOME}/Apache/Derby/tinderbox_trunk_JDK15"
43 echo "${DERBYDIR} ----------------------------------" >> ${HOME}/cron/${JOB}.log
44 . ${DERBYDIR}/env.sh >> ${HOME}/cron/${JOB}.log 2>>${HOME}/cron/${JOB}.err
45 . ${TOOLDIR}/env
46 ${TOOLDIR}/${JOB} details >> ${HOME}/cron/${JOB}.log 2>>${HOME}/cron/${JOB}.err
47 ${TOOLDIR}/${JOB} >> ${HOME}/cron/${JOB}.log 2>>${HOME}/cron/${JOB}.err
48
49 export DERBYDIR="${HOME}/Apache/Derby/10.1_JDK15"
50 echo "${DERBYDIR} ----------------------------------" >> ${HOME}/cron/${JOB}.log
51 . ${DERBYDIR}/env.sh >> ${HOME}/cron/${JOB}.log 2>>${HOME}/cron/${JOB}.err
52 . ${TOOLDIR}/env
53 ${TOOLDIR}/${JOB} details >> ${HOME}/cron/${JOB}.log 2>>${HOME}/cron/${JOB}.err
54 ${TOOLDIR}/${JOB} >> ${HOME}/cron/${JOB}.log 2>>${HOME}/cron/${JOB}.err
55
56 export DERBYDIR="${HOME}/Apache/Derby/trunk_JDK16"
57 echo "${DERBYDIR} ----------------------------------" >> ${HOME}/cron/${JOB}.log
58 . ${DERBYDIR}/env.sh >> ${HOME}/cron/${JOB}.log 2>>${HOME}/cron/${JOB}.err
59 . ${TOOLDIR}/env
60 ${TOOLDIR}/${JOB} details >> ${HOME}/cron/${JOB}.log 2>>${HOME}/cron/${JOB}.err
61 ${TOOLDIR}/${JOB} >> ${HOME}/cron/${JOB}.log 2>>${HOME}/cron/${JOB}.err
62
63 export DERBYDIR="${HOME}/Apache/Derby/tinderbox_10.1_JDK15"
64 echo "${DERBYDIR} ----------------------------------" >> ${HOME}/cron/${JOB}.log
65 . ${DERBYDIR}/env.sh >> ${HOME}/cron/${JOB}.log 2>>${HOME}/cron/${JOB}.err
66 . ${TOOLDIR}/env
67 ${TOOLDIR}/${JOB} details >> ${HOME}/cron/${JOB}.log 2>>${HOME}/cron/${JOB}.err
68 ${TOOLDIR}/${JOB} >> ${HOME}/cron/${JOB}.log 2>>${HOME}/cron/${JOB}.err
69
70
71 /bin/date >> ${HOME}/cron/${JOB}.log
72 /bin/date >> ${HOME}/cron/${JOB}.err