blob: 9faf4936f5719dc57d8da3538ccccfe59e4423df (
plain)
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
63
|
- job:
name: linaro-art-tip-microbenchmarks-presubmit-test
project-type: freestyle
defaults: global
description: >
Runs the
<a href="https://android-git.linaro.org/gitweb/linaro/art-testing.git/blob/HEAD:test/test.py">Presubmit Tests</a>
for the benchmarks. Make sure this script passes locally before checking in a new benchmark.
properties:
- authorization:
anonymous:
- job-discover
linaro-android-builders:
- job-read
- job-extended-read
- job-workspace
linaro-art:
- job-build
- job-read
- job-extended-read
- job-workspace
- build-discarder:
days-to-keep: 60
num-to-keep: 60
disabled: false
display-name: 'ART - Tip - Microbenchmarks Presubmit Test'
concurrent: true
node: docker-utopic-art-test
triggers:
- gerrit:
server-name: android-review.linaro.org
override-votes: true
gerrit-build-successful-verified-value: 1
gerrit-build-failed-verified-value: -1
trigger-on:
- patchset-created-event
projects:
- project-compare-type: 'PLAIN'
project-pattern: 'linaro/art-testing'
branches:
- branch-pattern: 'master'
wrappers:
- timestamps
- timeout:
timeout: 500
builders:
- shell: |
set -xe
rm -rf art-testing
git clone https://android-git.linaro.org/git/linaro/art-testing.git
cd art-testing
if git pull "http://${GERRIT_HOST}/${GERRIT_PROJECT}" "${GERRIT_REFSPEC}" | grep -q "Automatic merge failed"; then
git reset --hard
echo "Error: *** Error patch merge failed"
exit 1
fi
./test/test.py 2>&1 | tee "${WORKSPACE}/logs.txt"
if grep -q "Tests FAILED" "${WORKSPACE}/logs.txt"; then
exit 1
fi
|