annotate tck7/build_all.sh @ 7:3db8bad5b608 draft

Added three scripts used to rerun compiler tests for all three tested JDKs.
author Pavel Tisnovsky <ptisnovs@redhat.com>
date Wed, 09 Apr 2014 13:18:08 +0200
parents 574668224fd1
children 7577d55a0e30
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
574668224fd1 Fixed issue with wrong path to BASH.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents: 4
diff changeset
1 #!/usr/bin/env bash
3
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
2
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
3 # Daily test builder.
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
4 #
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
5 # Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014 Red Hat
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
6 #
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
7 # This tool is free software; you can redistribute it and/or modify
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
8 # it under the terms of the GNU General Public License as published by
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
9 # the Free Software Foundation; either version 2, or (at your option)
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
10 # any later version.
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
11 #
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
12 # This tool is distributed in the hope that it will be useful, but
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
15 # General Public License for more details.
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
16 #
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
17 # You should have received a copy of the GNU General Public License
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
18 # along with IcedTea; see the file COPYING. If not, write to the
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
19 # Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
20 # 02110-1301 USA.
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
21 #
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
22 # Linking this library statically or dynamically with other modules is
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
23 # making a combined work based on this library. Thus, the terms and
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
24 # conditions of the GNU General Public License cover the whole
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
25 # combination.
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
26 #
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
27 # As a special exception, the copyright holders of this library give you
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
28 # permission to link this library with independent modules to produce an
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
29 # executable, regardless of the license terms of these independent
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
30 # modules, and to copy and distribute the resulting executable under
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
31 # terms of your choice, provided that you also meet, for each linked
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
32 # independent module, the terms and conditions of the license of that
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
33 # module. An independent module is a module which is not derived from
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
34 # or based on this library. If you modify this library, you may extend
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
35 # this exception to your version of the library, but you are not
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
36 # obligated to do so. If you do not wish to do so, delete this
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
37 # exception statement from your version.
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
38 #
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
39 # Builds all JDKs that need to be tested.
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
40 #
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
41 # Author: Pavel Tisnovsky
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
42 # e-mail: ptisnovs@redhat.com
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
43
4
a9fd0830352b Scripts should not use absolute path names.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents: 3
diff changeset
44 JCK_DIR=`cat jck.dir`
a9fd0830352b Scripts should not use absolute path names.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents: 3
diff changeset
45 DAILY_TESTS_DIR=`cat dailytests.dir`
a9fd0830352b Scripts should not use absolute path names.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents: 3
diff changeset
46
3
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
47 TESTS="compiler devtools runtime"
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
48 JCKVERSION=7
4
a9fd0830352b Scripts should not use absolute path names.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents: 3
diff changeset
49 WORKROOT=${JCK_DIR}/work
a9fd0830352b Scripts should not use absolute path names.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents: 3
diff changeset
50 JCKROOT==${JCK_DIR}/7
3
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
51 DATE=`date +%Y%m%d`
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
52
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
53 exec > logs/build_$DATE.log 2>&1
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
54
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
55 function run_tck()
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
56 {
4
a9fd0830352b Scripts should not use absolute path names.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents: 3
diff changeset
57 REPORTDIR=${JCK_DIR}/results/${DATE}-${1}
3
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
58 export DISPLAY=:0.0
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
59 for tst in ${TESTS}
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
60 do
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
61 test_name=JCK-${tst}-${JCKVERSION}
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
62 workdir=${WORKROOT}/${DATE}-${1}/${tst}
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
63 mkdir -p ${REPORTDIR}/${tst}
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
64 mkdir -p ${workdir}
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
65
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
66 ORIG_PATH="${PATH}"
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
67 export PATH="${JCKROOT}/${test_name}/linux/bin;${ORIG_PATH}"
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
68
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
69 java -Xms128m -Xmx512m -XX:PermSize=256m -XX:MaxPermSize=512m -jar ${JCKROOT}/${test_name}/lib/javatest.jar \
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
70 -workdir ${workdir} \
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
71 -open ${JCKROOT}/${tst}-config.jti \
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
72 -verbose:progress -runtests \
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
73 -writeReport ${REPORTDIR}/${tst}
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
74 rc=$?
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
75 if [ $rc -ne 0 ]; then
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
76 log "${RED}test failed ${BLUE}${tst}${RESET}"
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
77 else
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
78 log "${GREEN}test passed ${BLUE}${tst}${RESET}"
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
79 fi
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
80
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
81 export PATH="${ORIG_PATH}"
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
82 done
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
83 }
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
84
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
85 function finish_tck()
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
86 {
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
87 REPORTDIR=${JCKROOT}/results/${DATE}-${1}
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
88 echo "Processing ${REPORTDIR}"
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
89 for tst in ${TESTS}
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
90 do
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
91 echo " Test: ${tst}"
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
92 WORKDIR=${JCKROOT}/work/${DATE}-${1}/${tst}
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
93 CONFIG=${JCKROOT}/${tst}-config.jti
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
94 java -Xms128m -Xmx512m -XX:PermSize=256m -XX:MaxPermSize=512m -jar ${JCKROOT}/7/JCK-${tst}-7/lib/javatest.jar \
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
95 -workDir ${WORKDIR} \
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
96 -config ${CONFIG} \
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
97 -verbose:progress \
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
98 -priorStatus passed,fail,error \
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
99 -writeReport ${REPORTDIR}/${tst}
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
100 done
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
101 }
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
102
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
103 function remove_other_dirs()
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
104 {
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
105 rm -rf $1/corba
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
106 rm -rf $1/generated.build
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
107 rm -rf $1/hotspot
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
108 rm -rf $1/jaxp
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
109 rm -rf $1/jaxws
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
110 rm -rf $1/jdk
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
111 rm -rf $1/langtools
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
112 rm -rf $1/make
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
113 rm -rf $1/test
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
114 rm -rf $1/build/linux-amd64/bin
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
115 rm -rf $1/build/linux-amd64/btbins
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
116 rm -rf $1/build/linux-amd64/btclasses
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
117 rm -rf $1/build/linux-amd64/btjars
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
118 rm -rf $1/build/linux-amd64/bundles
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
119 rm -rf $1/build/linux-amd64/classes
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
120 rm -rf $1/build/linux-amd64/corba
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
121 rm -rf $1/build/linux-amd64/demo
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
122 rm -rf $1/build/linux-amd64/democlasses
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
123 rm -rf $1/build/linux-amd64/demos-bundles
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
124 rm -rf $1/build/linux-amd64/docs
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
125 rm -rf $1/build/linux-amd64/gennativesrc
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
126 rm -rf $1/build/linux-amd64/hotspot
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
127 rm -rf $1/build/linux-amd64/impsrc
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
128 rm -rf $1/build/linux-amd64/include
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
129 rm -rf $1/build/linux-amd64/jaxp
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
130 rm -rf $1/build/linux-amd64/jaxws
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
131 rm -rf $1/build/linux-amd64/langtools
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
132 rm -rf $1/build/linux-amd64/lib
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
133 rm -rf $1/build/linux-amd64/sample
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
134 rm -rf $1/build/linux-amd64/source-bundles
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
135 rm -rf $1/build/linux-amd64/symbols
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
136 rm -rf $1/build/linux-amd64/tmp
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
137 rm -rf $1/build/linux-amd64/j2re-image
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
138 rm -rf $1/build/linux-amd64/j2sdk-server-image
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
139 }
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
140
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
141 cp cfg/repo_url_icedtea7_forest.txt cfg/repo_urls.txt
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
142 ./run.lua
4
a9fd0830352b Scripts should not use absolute path names.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents: 3
diff changeset
143 remove_other_dirs ${DAILY_TESTS_DIR}/builds/Icedtea7_forest/openjdk
3
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
144
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
145 cp cfg/repo_url_icedtea7_forest_2_3.txt cfg/repo_urls.txt
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
146 ./run.lua
4
a9fd0830352b Scripts should not use absolute path names.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents: 3
diff changeset
147 remove_other_dirs ${DAILY_TESTS_DIR}/builds/Icedtea7_forest_2_3/openjdk
3
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
148
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
149 cp cfg/repo_url_icedtea7_forest_2_4.txt cfg/repo_urls.txt
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
150 ./run.lua
4
a9fd0830352b Scripts should not use absolute path names.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents: 3
diff changeset
151 remove_other_dirs ${DAILY_TESTS_DIR}/builds/Icedtea7_forest_2_4/openjdk
3
e0c800ba69f7 Added scripts for building JDKs and creating .jtr list for failed tests.
Pavel Tisnovsky <ptisnovs@redhat.com>
parents:
diff changeset
152