Debian Codegraph @

tools/testing/reporting/scripts/mkAllDerbyTestInfo

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 TOOLDIR="${DERBYDIR}/${BRANCH_DIR}/tools/testing/reporting/scripts" # then add
19 . ${TOOLDIR}/env
20
21 # Run only when all platforms are ready (test completed).
22 # if [ "$1" = "" ]
23 # then
24 # echo "Usage: $0 [details]"
25 # # exit
26 # fi
27
28 echo "*** Start mkAllDerbyTestInfo"
29
30 DETAILS="$1"
31 DETAILS="details"
32
33 ${TOOLDIR}/testSummariesDerby current ${DETAILS} # May be overkill, but .....
34 ${TOOLDIR}/testSummariesDerby previous ${DETAILS}
35
36 # Get the list of revisions, look for the latest update/build:
37 LATESTREVISION=`gawk '{ print $1 }' ${REVISIONLIST} | grep -v "^#" | head -1`
38 echo "${TOOLDIR}/testSummariesDerby ${LATESTREVISION} ${DETAILS}"
39 ${TOOLDIR}/testSummariesDerby ${LATESTREVISION} ${DETAILS}
40
41 # Next needed when new test is started before latest info has been created (e.g. Tinderbox...)
42 PREVIOUSREVISION=`gawk '{ print $1 }' ${REVISIONLIST} | grep -v "^#" | head -2 | tail -1`
43 echo "${TOOLDIR}/testSummariesDerby ${PREVIOUSREVISION} ${DETAILS}"
44 ${TOOLDIR}/testSummariesDerby ${PREVIOUSREVISION} ${DETAILS}
45
46 echo "${TOOLDIR}/testHistoriesDerby ${DETAILS}"
47 ${TOOLDIR}/testHistoriesDerby ${DETAILS}
48
49 # echo "${TOOLDIR}/testPlatformsDerby ${DETAILS}"
50 # ${TOOLDIR}/testPlatformsDerby ${DETAILS}
51
52 echo "${TOOLDIR}/mkDerbyTestIndex ${DETAILS}"
53 ${TOOLDIR}/mkDerbyTestIndex ${DETAILS}
54
55 echo "*** Done mkAllDerbyTestInfo"