File: test_integration.sh

package info (click to toggle)
anbox 0.0~git20190124-1
  • links: PTS, VCS
  • area: contrib
  • in suites: buster
  • size: 22,000 kB
  • sloc: cpp: 76,190; ansic: 7,434; sh: 1,350; xml: 818; java: 780; python: 390; makefile: 35; lisp: 7
file content (80 lines) | stat: -rwxr-xr-x 1,876 bytes parent folder | download
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
source "$(dirname -- "$0")"/run_integration.sh

# Toolchains for little-endian, 64-bit ARMv8 for GNU/Linux systems
function set_aarch64-linux-gnu() {
  TOOLCHAIN=LINARO
  TARGET=aarch64-linux-gnu
  QEMU_ARCH=aarch64
}

# Toolchains for little-endian, hard-float, 32-bit ARMv7 (and earlier) for GNU/Linux systems 
function set_arm-linux-gnueabihf() {
  TOOLCHAIN=LINARO
  TARGET=arm-linux-gnueabihf
  QEMU_ARCH=arm
}

# Toolchains for little-endian, 32-bit ARMv8 for GNU/Linux systems
function set_armv8l-linux-gnueabihf() {
  TOOLCHAIN=LINARO
  TARGET=armv8l-linux-gnueabihf
  QEMU_ARCH=arm
}

# Toolchains for little-endian, soft-float, 32-bit ARMv7 (and earlier) for GNU/Linux systems
function set_arm-linux-gnueabi() {
  TOOLCHAIN=LINARO
  TARGET=arm-linux-gnueabi
  QEMU_ARCH=arm
}

# Toolchains for big-endian, 64-bit ARMv8 for GNU/Linux systems
function set_aarch64_be-linux-gnu() {
  TOOLCHAIN=LINARO
  TARGET=aarch64_be-linux-gnu
  QEMU_ARCH="DISABLED"
}

# Toolchains for big-endian, hard-float, 32-bit ARMv7 (and earlier) for GNU/Linux systems
function set_armeb-linux-gnueabihf() {
  TOOLCHAIN=LINARO
  TARGET=armeb-linux-gnueabihf
  QEMU_ARCH="DISABLED"
}

# Toolchains for big-endian, soft-float, 32-bit ARMv7 (and earlier) for GNU/Linux systems
function set_armeb-linux-gnueabi() {
  TOOLCHAIN=LINARO
  TARGET=armeb-linux-gnueabi
  QEMU_ARCH="DISABLED"
}


function set_mips() {
  TOOLCHAIN=CODESCAPE
  TARGET=mips-mti-linux-gnu
  QEMU_ARCH="DISABLED"
}

function set_native() {
  TOOLCHAIN=NATIVE
  TARGET=native
  QEMU_ARCH=""
}

ENVIRONMENTS="
  set_aarch64-linux-gnu
  set_arm-linux-gnueabihf
  set_armv8l-linux-gnueabihf
  set_arm-linux-gnueabi
  set_aarch64_be-linux-gnu
  set_armeb-linux-gnueabihf
  set_armeb-linux-gnueabi
  set_native
  set_mips
"

for SET_ENVIRONMENT in ${ENVIRONMENTS}; do
  ${SET_ENVIRONMENT}
  expand_environment_and_integrate
done