mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
travis/gitlab/azure: Use --board buildman flag with test.py
The current method of selecting the board to build with test.py is a bit error-prone, e.g. with "^sandbox$" it actually builds 5 boards (all of those in the sandbox architecture). Use the (newish) --board flag instead, to get the same result. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
bf0a81330d
commit
38806650fe
|
@ -159,102 +159,102 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
sandbox:
|
sandbox:
|
||||||
TEST_PY_BD: "sandbox"
|
TEST_PY_BD: "sandbox"
|
||||||
BUILDMAN: "^sandbox$"
|
BUILDMAN: "sandbox"
|
||||||
sandbox_clang:
|
sandbox_clang:
|
||||||
TEST_PY_BD: "sandbox"
|
TEST_PY_BD: "sandbox"
|
||||||
BUILDMAN: "^sandbox$"
|
BUILDMAN: "sandbox"
|
||||||
OVERRIDE: "-O clang-7"
|
OVERRIDE: "-O clang-7"
|
||||||
sandbox_spl:
|
sandbox_spl:
|
||||||
TEST_PY_BD: "sandbox_spl"
|
TEST_PY_BD: "sandbox_spl"
|
||||||
TEST_PY_TEST_SPEC: "test_ofplatdata"
|
TEST_PY_TEST_SPEC: "test_ofplatdata"
|
||||||
BUILDMAN: "^sandbox_spl$"
|
BUILDMAN: "sandbox_spl"
|
||||||
sandbox_flattree:
|
sandbox_flattree:
|
||||||
TEST_PY_BD: "sandbox_flattree"
|
TEST_PY_BD: "sandbox_flattree"
|
||||||
BUILDMAN: "^sandbox_flattree$"
|
BUILDMAN: "sandbox_flattree"
|
||||||
evb_ast2500:
|
evb_ast2500:
|
||||||
TEST_PY_BD: "evb-ast2500"
|
TEST_PY_BD: "evb-ast2500"
|
||||||
TEST_PY_ID: "--id qemu"
|
TEST_PY_ID: "--id qemu"
|
||||||
BUILDMAN: "^evb-ast2500$"
|
BUILDMAN: "evb-ast2500"
|
||||||
vexpress_ca15_tc2:
|
vexpress_ca15_tc2:
|
||||||
TEST_PY_BD: "vexpress_ca15_tc2"
|
TEST_PY_BD: "vexpress_ca15_tc2"
|
||||||
TEST_PY_ID: "--id qemu"
|
TEST_PY_ID: "--id qemu"
|
||||||
BUILDMAN: "^vexpress_ca15_tc2$"
|
BUILDMAN: "vexpress_ca15_tc2"
|
||||||
vexpress_ca9x4:
|
vexpress_ca9x4:
|
||||||
TEST_PY_BD: "vexpress_ca9x4"
|
TEST_PY_BD: "vexpress_ca9x4"
|
||||||
TEST_PY_ID: "--id qemu"
|
TEST_PY_ID: "--id qemu"
|
||||||
BUILDMAN: "^vexpress_ca9x4$"
|
BUILDMAN: "vexpress_ca9x4"
|
||||||
integratorcp_cm926ejs:
|
integratorcp_cm926ejs:
|
||||||
TEST_PY_BD: "integratorcp_cm926ejs"
|
TEST_PY_BD: "integratorcp_cm926ejs"
|
||||||
TEST_PY_ID: "--id qemu"
|
TEST_PY_ID: "--id qemu"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^integratorcp_cm926ejs$"
|
BUILDMAN: "integratorcp_cm926ejs"
|
||||||
qemu_arm:
|
qemu_arm:
|
||||||
TEST_PY_BD: "qemu_arm"
|
TEST_PY_BD: "qemu_arm"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu_arm$"
|
BUILDMAN: "qemu_arm"
|
||||||
qemu_arm64:
|
qemu_arm64:
|
||||||
TEST_PY_BD: "qemu_arm64"
|
TEST_PY_BD: "qemu_arm64"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu_arm64$"
|
BUILDMAN: "qemu_arm64"
|
||||||
qemu_mips:
|
qemu_mips:
|
||||||
TEST_PY_BD: "qemu_mips"
|
TEST_PY_BD: "qemu_mips"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu_mips$"
|
BUILDMAN: "qemu_mips"
|
||||||
qemu_mipsel:
|
qemu_mipsel:
|
||||||
TEST_PY_BD: "qemu_mipsel"
|
TEST_PY_BD: "qemu_mipsel"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu_mipsel$"
|
BUILDMAN: "qemu_mipsel"
|
||||||
qemu_mips64:
|
qemu_mips64:
|
||||||
TEST_PY_BD: "qemu_mips64"
|
TEST_PY_BD: "qemu_mips64"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu_mips64$"
|
BUILDMAN: "qemu_mips64"
|
||||||
qemu_mips64el:
|
qemu_mips64el:
|
||||||
TEST_PY_BD: "qemu_mips64el"
|
TEST_PY_BD: "qemu_mips64el"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu_mips64el$"
|
BUILDMAN: "qemu_mips64el"
|
||||||
qemu_ppce500:
|
qemu_ppce500:
|
||||||
TEST_PY_BD: "qemu-ppce500"
|
TEST_PY_BD: "qemu-ppce500"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu-ppce500$"
|
BUILDMAN: "qemu-ppce500"
|
||||||
qemu_riscv32:
|
qemu_riscv32:
|
||||||
TEST_PY_BD: "qemu-riscv32"
|
TEST_PY_BD: "qemu-riscv32"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu-riscv32$"
|
BUILDMAN: "qemu-riscv32"
|
||||||
qemu_riscv64:
|
qemu_riscv64:
|
||||||
TEST_PY_BD: "qemu-riscv64"
|
TEST_PY_BD: "qemu-riscv64"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu-riscv64$"
|
BUILDMAN: "qemu-riscv64"
|
||||||
qemu_riscv32_spl:
|
qemu_riscv32_spl:
|
||||||
TEST_PY_BD: "qemu-riscv32_spl"
|
TEST_PY_BD: "qemu-riscv32_spl"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu-riscv32_spl$"
|
BUILDMAN: "qemu-riscv32_spl"
|
||||||
qemu_riscv64_spl:
|
qemu_riscv64_spl:
|
||||||
TEST_PY_BD: "qemu-riscv64_spl"
|
TEST_PY_BD: "qemu-riscv64_spl"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu-riscv64_spl$"
|
BUILDMAN: "qemu-riscv64_spl"
|
||||||
qemu_x86:
|
qemu_x86:
|
||||||
TEST_PY_BD: "qemu-x86"
|
TEST_PY_BD: "qemu-x86"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu-x86$"
|
BUILDMAN: "qemu-x86"
|
||||||
qemu_x86_64:
|
qemu_x86_64:
|
||||||
TEST_PY_BD: "qemu-x86_64"
|
TEST_PY_BD: "qemu-x86_64"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu-x86_64$"
|
BUILDMAN: "qemu-x86_64"
|
||||||
xilinx_zynq_virt:
|
xilinx_zynq_virt:
|
||||||
TEST_PY_BD: "xilinx_zynq_virt"
|
TEST_PY_BD: "xilinx_zynq_virt"
|
||||||
TEST_PY_ID: "--id qemu"
|
TEST_PY_ID: "--id qemu"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^xilinx_zynq_virt$"
|
BUILDMAN: "xilinx_zynq_virt"
|
||||||
xilinx_versal_virt:
|
xilinx_versal_virt:
|
||||||
TEST_PY_BD: "xilinx_versal_virt"
|
TEST_PY_BD: "xilinx_versal_virt"
|
||||||
TEST_PY_ID: "--id qemu"
|
TEST_PY_ID: "--id qemu"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^xilinx_versal_virt$"
|
BUILDMAN: "xilinx_versal_virt"
|
||||||
xtfpga:
|
xtfpga:
|
||||||
TEST_PY_BD: "xtfpga"
|
TEST_PY_BD: "xtfpga"
|
||||||
TEST_PY_ID: "--id qemu"
|
TEST_PY_ID: "--id qemu"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^xtfpga$"
|
BUILDMAN: "xtfpga"
|
||||||
steps:
|
steps:
|
||||||
- script: |
|
- script: |
|
||||||
cat << EOF > test.sh
|
cat << EOF > test.sh
|
||||||
|
@ -291,9 +291,9 @@ jobs:
|
||||||
cd ${WORK_DIR}
|
cd ${WORK_DIR}
|
||||||
if [[ "${BUILDMAN}" != "" ]]; then
|
if [[ "${BUILDMAN}" != "" ]]; then
|
||||||
ret=0;
|
ret=0;
|
||||||
tools/buildman/buildman -o /tmp -P -E ${BUILDMAN} ${OVERRIDE} || ret=$?;
|
tools/buildman/buildman -o /tmp -P -E --board ${BUILDMAN} ${OVERRIDE} || ret=$?;
|
||||||
if [[ $ret -ne 0 && $ret -ne 129 ]]; then
|
if [[ $ret -ne 0 && $ret -ne 129 ]]; then
|
||||||
tools/buildman/buildman -o /tmp -sdeP ${BUILDMAN};
|
tools/buildman/buildman -o /tmp -sdeP --board ${BUILDMAN};
|
||||||
exit $ret;
|
exit $ret;
|
||||||
fi;
|
fi;
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -40,9 +40,10 @@ stages:
|
||||||
# use clang only do one configuration.
|
# use clang only do one configuration.
|
||||||
- if [[ "${BUILDMAN}" != "" ]]; then
|
- if [[ "${BUILDMAN}" != "" ]]; then
|
||||||
ret=0;
|
ret=0;
|
||||||
tools/buildman/buildman -o /tmp -P -E ${BUILDMAN} ${OVERRIDE}|| ret=$?;
|
tools/buildman/buildman -o /tmp -P -E --board ${BUILDMAN} ${OVERRIDE}
|
||||||
|
|| ret=$?;
|
||||||
if [[ $ret -ne 0 && $ret -ne 129 ]]; then
|
if [[ $ret -ne 0 && $ret -ne 129 ]]; then
|
||||||
tools/buildman/buildman -o /tmp -sdeP ${BUILDMAN};
|
tools/buildman/buildman -o /tmp -sdeP --board ${BUILDMAN};
|
||||||
exit $ret;
|
exit $ret;
|
||||||
fi;
|
fi;
|
||||||
fi
|
fi
|
||||||
|
@ -191,14 +192,14 @@ sandbox test.py:
|
||||||
tags: [ 'all' ]
|
tags: [ 'all' ]
|
||||||
variables:
|
variables:
|
||||||
TEST_PY_BD: "sandbox"
|
TEST_PY_BD: "sandbox"
|
||||||
BUILDMAN: "^sandbox$"
|
BUILDMAN: "sandbox"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
sandbox with clang test.py:
|
sandbox with clang test.py:
|
||||||
tags: [ 'all' ]
|
tags: [ 'all' ]
|
||||||
variables:
|
variables:
|
||||||
TEST_PY_BD: "sandbox"
|
TEST_PY_BD: "sandbox"
|
||||||
BUILDMAN: "^sandbox$"
|
BUILDMAN: "sandbox"
|
||||||
OVERRIDE: "-O clang-7"
|
OVERRIDE: "-O clang-7"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
|
@ -206,7 +207,7 @@ sandbox_spl test.py:
|
||||||
tags: [ 'all' ]
|
tags: [ 'all' ]
|
||||||
variables:
|
variables:
|
||||||
TEST_PY_BD: "sandbox_spl"
|
TEST_PY_BD: "sandbox_spl"
|
||||||
BUILDMAN: "^sandbox_spl$"
|
BUILDMAN: "sandbox_spl"
|
||||||
TEST_PY_TEST_SPEC: "test_ofplatdata"
|
TEST_PY_TEST_SPEC: "test_ofplatdata"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
|
@ -215,14 +216,14 @@ evb-ast2500 test.py:
|
||||||
variables:
|
variables:
|
||||||
TEST_PY_BD: "evb-ast2500"
|
TEST_PY_BD: "evb-ast2500"
|
||||||
TEST_PY_ID: "--id qemu"
|
TEST_PY_ID: "--id qemu"
|
||||||
BUILDMAN: "^evb-ast2500$"
|
BUILDMAN: "evb-ast2500"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
sandbox_flattree test.py:
|
sandbox_flattree test.py:
|
||||||
tags: [ 'all' ]
|
tags: [ 'all' ]
|
||||||
variables:
|
variables:
|
||||||
TEST_PY_BD: "sandbox_flattree"
|
TEST_PY_BD: "sandbox_flattree"
|
||||||
BUILDMAN: "^sandbox_flattree$"
|
BUILDMAN: "sandbox_flattree"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
vexpress_ca15_tc2 test.py:
|
vexpress_ca15_tc2 test.py:
|
||||||
|
@ -230,7 +231,7 @@ vexpress_ca15_tc2 test.py:
|
||||||
variables:
|
variables:
|
||||||
TEST_PY_BD: "vexpress_ca15_tc2"
|
TEST_PY_BD: "vexpress_ca15_tc2"
|
||||||
TEST_PY_ID: "--id qemu"
|
TEST_PY_ID: "--id qemu"
|
||||||
BUILDMAN: "^vexpress_ca15_tc2$"
|
BUILDMAN: "vexpress_ca15_tc2"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
vexpress_ca9x4 test.py:
|
vexpress_ca9x4 test.py:
|
||||||
|
@ -238,7 +239,7 @@ vexpress_ca9x4 test.py:
|
||||||
variables:
|
variables:
|
||||||
TEST_PY_BD: "vexpress_ca9x4"
|
TEST_PY_BD: "vexpress_ca9x4"
|
||||||
TEST_PY_ID: "--id qemu"
|
TEST_PY_ID: "--id qemu"
|
||||||
BUILDMAN: "^vexpress_ca9x4$"
|
BUILDMAN: "vexpress_ca9x4"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
integratorcp_cm926ejs test.py:
|
integratorcp_cm926ejs test.py:
|
||||||
|
@ -247,7 +248,7 @@ integratorcp_cm926ejs test.py:
|
||||||
TEST_PY_BD: "integratorcp_cm926ejs"
|
TEST_PY_BD: "integratorcp_cm926ejs"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
TEST_PY_ID: "--id qemu"
|
TEST_PY_ID: "--id qemu"
|
||||||
BUILDMAN: "^integratorcp_cm926ejs$"
|
BUILDMAN: "integratorcp_cm926ejs"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
qemu_arm test.py:
|
qemu_arm test.py:
|
||||||
|
@ -255,7 +256,7 @@ qemu_arm test.py:
|
||||||
variables:
|
variables:
|
||||||
TEST_PY_BD: "qemu_arm"
|
TEST_PY_BD: "qemu_arm"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu_arm$"
|
BUILDMAN: "qemu_arm"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
qemu_arm64 test.py:
|
qemu_arm64 test.py:
|
||||||
|
@ -263,7 +264,7 @@ qemu_arm64 test.py:
|
||||||
variables:
|
variables:
|
||||||
TEST_PY_BD: "qemu_arm64"
|
TEST_PY_BD: "qemu_arm64"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu_arm64$"
|
BUILDMAN: "qemu_arm64"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
qemu_mips test.py:
|
qemu_mips test.py:
|
||||||
|
@ -271,7 +272,7 @@ qemu_mips test.py:
|
||||||
variables:
|
variables:
|
||||||
TEST_PY_BD: "qemu_mips"
|
TEST_PY_BD: "qemu_mips"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu_mips$"
|
BUILDMAN: "qemu_mips"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
qemu_mipsel test.py:
|
qemu_mipsel test.py:
|
||||||
|
@ -279,7 +280,7 @@ qemu_mipsel test.py:
|
||||||
variables:
|
variables:
|
||||||
TEST_PY_BD: "qemu_mipsel"
|
TEST_PY_BD: "qemu_mipsel"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu_mipsel$"
|
BUILDMAN: "qemu_mipsel"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
qemu_mips64 test.py:
|
qemu_mips64 test.py:
|
||||||
|
@ -287,7 +288,7 @@ qemu_mips64 test.py:
|
||||||
variables:
|
variables:
|
||||||
TEST_PY_BD: "qemu_mips64"
|
TEST_PY_BD: "qemu_mips64"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu_mips64$"
|
BUILDMAN: "qemu_mips64"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
qemu_mips64el test.py:
|
qemu_mips64el test.py:
|
||||||
|
@ -295,7 +296,7 @@ qemu_mips64el test.py:
|
||||||
variables:
|
variables:
|
||||||
TEST_PY_BD: "qemu_mips64el"
|
TEST_PY_BD: "qemu_mips64el"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu_mips64el$"
|
BUILDMAN: "qemu_mips64el"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
qemu-ppce500 test.py:
|
qemu-ppce500 test.py:
|
||||||
|
@ -303,7 +304,7 @@ qemu-ppce500 test.py:
|
||||||
variables:
|
variables:
|
||||||
TEST_PY_BD: "qemu-ppce500"
|
TEST_PY_BD: "qemu-ppce500"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu-ppce500$"
|
BUILDMAN: "qemu-ppce500"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
qemu-riscv32 test.py:
|
qemu-riscv32 test.py:
|
||||||
|
@ -311,7 +312,7 @@ qemu-riscv32 test.py:
|
||||||
variables:
|
variables:
|
||||||
TEST_PY_BD: "qemu-riscv32"
|
TEST_PY_BD: "qemu-riscv32"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu-riscv32$"
|
BUILDMAN: "qemu-riscv32"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
qemu-riscv64 test.py:
|
qemu-riscv64 test.py:
|
||||||
|
@ -319,7 +320,7 @@ qemu-riscv64 test.py:
|
||||||
variables:
|
variables:
|
||||||
TEST_PY_BD: "qemu-riscv64"
|
TEST_PY_BD: "qemu-riscv64"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu-riscv64$"
|
BUILDMAN: "qemu-riscv64"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
qemu-riscv32_spl test.py:
|
qemu-riscv32_spl test.py:
|
||||||
|
@ -327,7 +328,7 @@ qemu-riscv32_spl test.py:
|
||||||
variables:
|
variables:
|
||||||
TEST_PY_BD: "qemu-riscv32_spl"
|
TEST_PY_BD: "qemu-riscv32_spl"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu-riscv32_spl$"
|
BUILDMAN: "qemu-riscv32_spl"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
qemu-riscv64_spl test.py:
|
qemu-riscv64_spl test.py:
|
||||||
|
@ -335,7 +336,7 @@ qemu-riscv64_spl test.py:
|
||||||
variables:
|
variables:
|
||||||
TEST_PY_BD: "qemu-riscv64_spl"
|
TEST_PY_BD: "qemu-riscv64_spl"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu-riscv64_spl$"
|
BUILDMAN: "qemu-riscv64_spl"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
qemu-x86 test.py:
|
qemu-x86 test.py:
|
||||||
|
@ -343,7 +344,7 @@ qemu-x86 test.py:
|
||||||
variables:
|
variables:
|
||||||
TEST_PY_BD: "qemu-x86"
|
TEST_PY_BD: "qemu-x86"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu-x86$"
|
BUILDMAN: "qemu-x86"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
qemu-x86_64 test.py:
|
qemu-x86_64 test.py:
|
||||||
|
@ -351,7 +352,7 @@ qemu-x86_64 test.py:
|
||||||
variables:
|
variables:
|
||||||
TEST_PY_BD: "qemu-x86_64"
|
TEST_PY_BD: "qemu-x86_64"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
BUILDMAN: "^qemu-x86_64$"
|
BUILDMAN: "qemu-x86_64"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
xilinx_zynq_virt test.py:
|
xilinx_zynq_virt test.py:
|
||||||
|
@ -360,7 +361,7 @@ xilinx_zynq_virt test.py:
|
||||||
TEST_PY_BD: "xilinx_zynq_virt"
|
TEST_PY_BD: "xilinx_zynq_virt"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
TEST_PY_ID: "--id qemu"
|
TEST_PY_ID: "--id qemu"
|
||||||
BUILDMAN: "^xilinx_zynq_virt$"
|
BUILDMAN: "xilinx_zynq_virt"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
xilinx_versal_virt test.py:
|
xilinx_versal_virt test.py:
|
||||||
|
@ -369,7 +370,7 @@ xilinx_versal_virt test.py:
|
||||||
TEST_PY_BD: "xilinx_versal_virt"
|
TEST_PY_BD: "xilinx_versal_virt"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
TEST_PY_ID: "--id qemu"
|
TEST_PY_ID: "--id qemu"
|
||||||
BUILDMAN: "^xilinx_versal_virt$"
|
BUILDMAN: "xilinx_versal_virt"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
xtfpga test.py:
|
xtfpga test.py:
|
||||||
|
@ -378,5 +379,5 @@ xtfpga test.py:
|
||||||
TEST_PY_BD: "xtfpga"
|
TEST_PY_BD: "xtfpga"
|
||||||
TEST_PY_TEST_SPEC: "not sleep"
|
TEST_PY_TEST_SPEC: "not sleep"
|
||||||
TEST_PY_ID: "--id qemu"
|
TEST_PY_ID: "--id qemu"
|
||||||
BUILDMAN: "^xtfpga$"
|
BUILDMAN: "xtfpga"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
55
.travis.yml
55
.travis.yml
|
@ -237,10 +237,11 @@ script:
|
||||||
cp ~/grub_riscv64.efi $UBOOT_TRAVIS_BUILD_DIR/;
|
cp ~/grub_riscv64.efi $UBOOT_TRAVIS_BUILD_DIR/;
|
||||||
fi;
|
fi;
|
||||||
ret=0;
|
ret=0;
|
||||||
tools/buildman/buildman -o ${UBOOT_TRAVIS_BUILD_DIR} -w -E ${BUILDMAN}
|
tools/buildman/buildman -o ${UBOOT_TRAVIS_BUILD_DIR} -w -E
|
||||||
${OVERRIDE}|| ret=$?;
|
--board ${BUILDMAN} ${OVERRIDE}|| ret=$?;
|
||||||
if [[ $ret -ne 0 && $ret -ne 129 ]]; then
|
if [[ $ret -ne 0 && $ret -ne 129 ]]; then
|
||||||
tools/buildman/buildman -sde -o ${UBOOT_TRAVIS_BUILD_DIR} -w ${BUILDMAN};
|
tools/buildman/buildman -sde -o ${UBOOT_TRAVIS_BUILD_DIR} -w
|
||||||
|
--board ${BUILDMAN};
|
||||||
exit $ret;
|
exit $ret;
|
||||||
fi;
|
fi;
|
||||||
virtualenv -p /usr/bin/python3 /tmp/venv;
|
virtualenv -p /usr/bin/python3 /tmp/venv;
|
||||||
|
@ -498,131 +499,131 @@ matrix:
|
||||||
- name: "test/py sandbox"
|
- name: "test/py sandbox"
|
||||||
env:
|
env:
|
||||||
- TEST_PY_BD="sandbox"
|
- TEST_PY_BD="sandbox"
|
||||||
BUILDMAN="^sandbox$"
|
BUILDMAN="sandbox"
|
||||||
TOOLCHAIN="i386"
|
TOOLCHAIN="i386"
|
||||||
- name: "test/py sandbox with clang"
|
- name: "test/py sandbox with clang"
|
||||||
env:
|
env:
|
||||||
- TEST_PY_BD="sandbox"
|
- TEST_PY_BD="sandbox"
|
||||||
BUILDMAN="^sandbox$"
|
BUILDMAN="sandbox"
|
||||||
OVERRIDE="-O clang-7"
|
OVERRIDE="-O clang-7"
|
||||||
- name: "test/py sandbox_spl"
|
- name: "test/py sandbox_spl"
|
||||||
env:
|
env:
|
||||||
- TEST_PY_BD="sandbox_spl"
|
- TEST_PY_BD="sandbox_spl"
|
||||||
TEST_PY_TEST_SPEC="test_ofplatdata"
|
TEST_PY_TEST_SPEC="test_ofplatdata"
|
||||||
BUILDMAN="^sandbox$"
|
BUILDMAN="sandbox"
|
||||||
TOOLCHAIN="i386"
|
TOOLCHAIN="i386"
|
||||||
TEST_PY_TOOLS="yes"
|
TEST_PY_TOOLS="yes"
|
||||||
- name: "test/py sandbox_flattree"
|
- name: "test/py sandbox_flattree"
|
||||||
env:
|
env:
|
||||||
- TEST_PY_BD="sandbox_flattree"
|
- TEST_PY_BD="sandbox_flattree"
|
||||||
BUILDMAN="^sandbox_flattree$"
|
BUILDMAN="sandbox_flattree"
|
||||||
TOOLCHAIN="i386"
|
TOOLCHAIN="i386"
|
||||||
- name: "test/py evb-ast2500"
|
- name: "test/py evb-ast2500"
|
||||||
env:
|
env:
|
||||||
- TEST_PY_BD="evb-ast2500"
|
- TEST_PY_BD="evb-ast2500"
|
||||||
TEST_PY_ID="--id qemu"
|
TEST_PY_ID="--id qemu"
|
||||||
QEMU_TARGET="arm-softmmu"
|
QEMU_TARGET="arm-softmmu"
|
||||||
BUILDMAN="^evb-ast2500$"
|
BUILDMAN="evb-ast2500"
|
||||||
- name: "test/py vexpress_ca15_tc2"
|
- name: "test/py vexpress_ca15_tc2"
|
||||||
env:
|
env:
|
||||||
- TEST_PY_BD="vexpress_ca15_tc2"
|
- TEST_PY_BD="vexpress_ca15_tc2"
|
||||||
TEST_PY_ID="--id qemu"
|
TEST_PY_ID="--id qemu"
|
||||||
QEMU_TARGET="arm-softmmu"
|
QEMU_TARGET="arm-softmmu"
|
||||||
BUILDMAN="^vexpress_ca15_tc2$"
|
BUILDMAN="vexpress_ca15_tc2"
|
||||||
- name: "test/py vexpress_ca9x4"
|
- name: "test/py vexpress_ca9x4"
|
||||||
env:
|
env:
|
||||||
- TEST_PY_BD="vexpress_ca9x4"
|
- TEST_PY_BD="vexpress_ca9x4"
|
||||||
TEST_PY_ID="--id qemu"
|
TEST_PY_ID="--id qemu"
|
||||||
QEMU_TARGET="arm-softmmu"
|
QEMU_TARGET="arm-softmmu"
|
||||||
BUILDMAN="^vexpress_ca9x4$"
|
BUILDMAN="vexpress_ca9x4"
|
||||||
- name: "test/py integratorcp_cm926ejs"
|
- name: "test/py integratorcp_cm926ejs"
|
||||||
env:
|
env:
|
||||||
- TEST_PY_BD="integratorcp_cm926ejs"
|
- TEST_PY_BD="integratorcp_cm926ejs"
|
||||||
TEST_PY_TEST_SPEC="not sleep"
|
TEST_PY_TEST_SPEC="not sleep"
|
||||||
TEST_PY_ID="--id qemu"
|
TEST_PY_ID="--id qemu"
|
||||||
QEMU_TARGET="arm-softmmu"
|
QEMU_TARGET="arm-softmmu"
|
||||||
BUILDMAN="^integratorcp_cm926ejs$"
|
BUILDMAN="integratorcp_cm926ejs"
|
||||||
- name: "test/py qemu_arm"
|
- name: "test/py qemu_arm"
|
||||||
env:
|
env:
|
||||||
- TEST_PY_BD="qemu_arm"
|
- TEST_PY_BD="qemu_arm"
|
||||||
TEST_PY_TEST_SPEC="not sleep"
|
TEST_PY_TEST_SPEC="not sleep"
|
||||||
QEMU_TARGET="arm-softmmu"
|
QEMU_TARGET="arm-softmmu"
|
||||||
BUILDMAN="^qemu_arm$"
|
BUILDMAN="qemu_arm"
|
||||||
- name: "test/py qemu_arm64"
|
- name: "test/py qemu_arm64"
|
||||||
env:
|
env:
|
||||||
- TEST_PY_BD="qemu_arm64"
|
- TEST_PY_BD="qemu_arm64"
|
||||||
TEST_PY_TEST_SPEC="not sleep"
|
TEST_PY_TEST_SPEC="not sleep"
|
||||||
QEMU_TARGET="aarch64-softmmu"
|
QEMU_TARGET="aarch64-softmmu"
|
||||||
BUILDMAN="^qemu_arm64$"
|
BUILDMAN="qemu_arm64"
|
||||||
- name: "test/py qemu_mips"
|
- name: "test/py qemu_mips"
|
||||||
env:
|
env:
|
||||||
- TEST_PY_BD="qemu_mips"
|
- TEST_PY_BD="qemu_mips"
|
||||||
TEST_PY_TEST_SPEC="not sleep"
|
TEST_PY_TEST_SPEC="not sleep"
|
||||||
QEMU_TARGET="mips-softmmu"
|
QEMU_TARGET="mips-softmmu"
|
||||||
BUILDMAN="^qemu_mips$"
|
BUILDMAN="qemu_mips"
|
||||||
TOOLCHAIN="mips"
|
TOOLCHAIN="mips"
|
||||||
- name: "test/py qemu_mipsel"
|
- name: "test/py qemu_mipsel"
|
||||||
env:
|
env:
|
||||||
- TEST_PY_BD="qemu_mipsel"
|
- TEST_PY_BD="qemu_mipsel"
|
||||||
TEST_PY_TEST_SPEC="not sleep"
|
TEST_PY_TEST_SPEC="not sleep"
|
||||||
QEMU_TARGET="mipsel-softmmu"
|
QEMU_TARGET="mipsel-softmmu"
|
||||||
BUILDMAN="^qemu_mipsel$"
|
BUILDMAN="qemu_mipsel"
|
||||||
TOOLCHAIN="mips"
|
TOOLCHAIN="mips"
|
||||||
- name: "test/py qemu_mips64"
|
- name: "test/py qemu_mips64"
|
||||||
env:
|
env:
|
||||||
- TEST_PY_BD="qemu_mips64"
|
- TEST_PY_BD="qemu_mips64"
|
||||||
TEST_PY_TEST_SPEC="not sleep"
|
TEST_PY_TEST_SPEC="not sleep"
|
||||||
QEMU_TARGET="mips64-softmmu"
|
QEMU_TARGET="mips64-softmmu"
|
||||||
BUILDMAN="^qemu_mips64$"
|
BUILDMAN="qemu_mips64"
|
||||||
TOOLCHAIN="mips"
|
TOOLCHAIN="mips"
|
||||||
- name: "test/py qemu_mips64el"
|
- name: "test/py qemu_mips64el"
|
||||||
env:
|
env:
|
||||||
- TEST_PY_BD="qemu_mips64el"
|
- TEST_PY_BD="qemu_mips64el"
|
||||||
TEST_PY_TEST_SPEC="not sleep"
|
TEST_PY_TEST_SPEC="not sleep"
|
||||||
QEMU_TARGET="mips64el-softmmu"
|
QEMU_TARGET="mips64el-softmmu"
|
||||||
BUILDMAN="^qemu_mips64el$"
|
BUILDMAN="qemu_mips64el"
|
||||||
TOOLCHAIN="mips"
|
TOOLCHAIN="mips"
|
||||||
- name: "test/py qemu-ppce500"
|
- name: "test/py qemu-ppce500"
|
||||||
env:
|
env:
|
||||||
- TEST_PY_BD="qemu-ppce500"
|
- TEST_PY_BD="qemu-ppce500"
|
||||||
TEST_PY_TEST_SPEC="not sleep"
|
TEST_PY_TEST_SPEC="not sleep"
|
||||||
QEMU_TARGET="ppc-softmmu"
|
QEMU_TARGET="ppc-softmmu"
|
||||||
BUILDMAN="^qemu-ppce500$"
|
BUILDMAN="qemu-ppce500"
|
||||||
TOOLCHAIN="powerpc"
|
TOOLCHAIN="powerpc"
|
||||||
- name: "test/py qemu-riscv32"
|
- name: "test/py qemu-riscv32"
|
||||||
env:
|
env:
|
||||||
- TEST_PY_BD="qemu-riscv32"
|
- TEST_PY_BD="qemu-riscv32"
|
||||||
TEST_PY_TEST_SPEC="not sleep"
|
TEST_PY_TEST_SPEC="not sleep"
|
||||||
QEMU_TARGET="riscv32-softmmu"
|
QEMU_TARGET="riscv32-softmmu"
|
||||||
BUILDMAN="^qemu-riscv32$"
|
BUILDMAN="qemu-riscv32"
|
||||||
TOOLCHAIN="riscv"
|
TOOLCHAIN="riscv"
|
||||||
- name: "test/py qemu-riscv64"
|
- name: "test/py qemu-riscv64"
|
||||||
env:
|
env:
|
||||||
- TEST_PY_BD="qemu-riscv64"
|
- TEST_PY_BD="qemu-riscv64"
|
||||||
TEST_PY_TEST_SPEC="not sleep"
|
TEST_PY_TEST_SPEC="not sleep"
|
||||||
QEMU_TARGET="riscv64-softmmu"
|
QEMU_TARGET="riscv64-softmmu"
|
||||||
BUILDMAN="^qemu-riscv64$"
|
BUILDMAN="qemu-riscv64"
|
||||||
TOOLCHAIN="riscv"
|
TOOLCHAIN="riscv"
|
||||||
- name: "test/py qemu-riscv32_spl"
|
- name: "test/py qemu-riscv32_spl"
|
||||||
env:
|
env:
|
||||||
- TEST_PY_BD="qemu-riscv32_spl"
|
- TEST_PY_BD="qemu-riscv32_spl"
|
||||||
TEST_PY_TEST_SPEC="not sleep"
|
TEST_PY_TEST_SPEC="not sleep"
|
||||||
QEMU_TARGET="riscv32-softmmu"
|
QEMU_TARGET="riscv32-softmmu"
|
||||||
BUILDMAN="^qemu-riscv32_spl$"
|
BUILDMAN="qemu-riscv32_spl"
|
||||||
TOOLCHAIN="riscv"
|
TOOLCHAIN="riscv"
|
||||||
- name: "test/py qemu-riscv64_spl"
|
- name: "test/py qemu-riscv64_spl"
|
||||||
env:
|
env:
|
||||||
- TEST_PY_BD="qemu-riscv64_spl"
|
- TEST_PY_BD="qemu-riscv64_spl"
|
||||||
TEST_PY_TEST_SPEC="not sleep"
|
TEST_PY_TEST_SPEC="not sleep"
|
||||||
QEMU_TARGET="riscv64-softmmu"
|
QEMU_TARGET="riscv64-softmmu"
|
||||||
BUILDMAN="^qemu-riscv64_spl$"
|
BUILDMAN="qemu-riscv64_spl"
|
||||||
TOOLCHAIN="riscv"
|
TOOLCHAIN="riscv"
|
||||||
- name: "test/py qemu-x86"
|
- name: "test/py qemu-x86"
|
||||||
env:
|
env:
|
||||||
- TEST_PY_BD="qemu-x86"
|
- TEST_PY_BD="qemu-x86"
|
||||||
TEST_PY_TEST_SPEC="not sleep"
|
TEST_PY_TEST_SPEC="not sleep"
|
||||||
QEMU_TARGET="i386-softmmu"
|
QEMU_TARGET="i386-softmmu"
|
||||||
BUILDMAN="^qemu-x86$"
|
BUILDMAN="qemu-x86"
|
||||||
TOOLCHAIN="i386"
|
TOOLCHAIN="i386"
|
||||||
BUILD_ROM="yes"
|
BUILD_ROM="yes"
|
||||||
- name: "test/py qemu-x86_64"
|
- name: "test/py qemu-x86_64"
|
||||||
|
@ -630,7 +631,7 @@ matrix:
|
||||||
- TEST_PY_BD="qemu-x86_64"
|
- TEST_PY_BD="qemu-x86_64"
|
||||||
TEST_PY_TEST_SPEC="not sleep"
|
TEST_PY_TEST_SPEC="not sleep"
|
||||||
QEMU_TARGET="x86_64-softmmu"
|
QEMU_TARGET="x86_64-softmmu"
|
||||||
BUILDMAN="^qemu-x86_64$"
|
BUILDMAN="qemu-x86_64"
|
||||||
TOOLCHAIN="i386"
|
TOOLCHAIN="i386"
|
||||||
BUILD_ROM="yes"
|
BUILD_ROM="yes"
|
||||||
- name: "test/py xilinx_zynq_virt"
|
- name: "test/py xilinx_zynq_virt"
|
||||||
|
@ -639,21 +640,21 @@ matrix:
|
||||||
TEST_PY_TEST_SPEC="not sleep"
|
TEST_PY_TEST_SPEC="not sleep"
|
||||||
QEMU_TARGET="arm-softmmu"
|
QEMU_TARGET="arm-softmmu"
|
||||||
TEST_PY_ID="--id qemu"
|
TEST_PY_ID="--id qemu"
|
||||||
BUILDMAN="^xilinx_zynq_virt$"
|
BUILDMAN="xilinx_zynq_virt"
|
||||||
- name: "test/py xilinx_versal_virt"
|
- name: "test/py xilinx_versal_virt"
|
||||||
env:
|
env:
|
||||||
- TEST_PY_BD="xilinx_versal_virt"
|
- TEST_PY_BD="xilinx_versal_virt"
|
||||||
TEST_PY_TEST_SPEC="not sleep"
|
TEST_PY_TEST_SPEC="not sleep"
|
||||||
QEMU_TARGET="aarch64-softmmu"
|
QEMU_TARGET="aarch64-softmmu"
|
||||||
TEST_PY_ID="--id qemu"
|
TEST_PY_ID="--id qemu"
|
||||||
BUILDMAN="^xilinx_versal_virt$"
|
BUILDMAN="xilinx_versal_virt"
|
||||||
- name: "test/py xtfpga"
|
- name: "test/py xtfpga"
|
||||||
env:
|
env:
|
||||||
- TEST_PY_BD="xtfpga"
|
- TEST_PY_BD="xtfpga"
|
||||||
TEST_PY_TEST_SPEC="not sleep"
|
TEST_PY_TEST_SPEC="not sleep"
|
||||||
QEMU_TARGET="xtensa-softmmu"
|
QEMU_TARGET="xtensa-softmmu"
|
||||||
TEST_PY_ID="--id qemu"
|
TEST_PY_ID="--id qemu"
|
||||||
BUILDMAN="^xtfpga$"
|
BUILDMAN="xtfpga"
|
||||||
TOOLCHAIN="xtensa-dc233c-elf"
|
TOOLCHAIN="xtensa-dc233c-elf"
|
||||||
|
|
||||||
# TODO make it perfect ;-r
|
# TODO make it perfect ;-r
|
||||||
|
|
Loading…
Reference in New Issue
Block a user