Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
| 3 | # Grab our configured image. The source for this is found at: |
| 4 | # https://gitlab.denx.de/u-boot/gitlab-ci-runner |
Tom Rini | 3c396bc | 2020-04-10 15:53:01 -0400 | [diff] [blame] | 5 | image: trini/u-boot-gitlab-ci-runner:bionic-20200311-10Apr2020 |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 6 | |
| 7 | # We run some tests in different order, to catch some failures quicker. |
| 8 | stages: |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 9 | - testsuites |
Tom Rini | 1cdb182 | 2019-07-24 13:09:31 -0400 | [diff] [blame] | 10 | - test.py |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 11 | - world build |
| 12 | |
| 13 | .buildman_and_testpy_template: &buildman_and_testpy_dfn |
| 14 | tags: [ 'all' ] |
| 15 | stage: test.py |
| 16 | before_script: |
| 17 | # Clone uboot-test-hooks |
| 18 | - git clone --depth=1 git://github.com/swarren/uboot-test-hooks.git /tmp/uboot-test-hooks |
| 19 | - ln -s travis-ci /tmp/uboot-test-hooks/bin/`hostname` |
| 20 | - ln -s travis-ci /tmp/uboot-test-hooks/py/`hostname` |
Tom Rini | 6ad2604 | 2019-10-04 12:12:54 -0400 | [diff] [blame] | 21 | - grub-mkimage --prefix="" -o ~/grub_x86.efi -O i386-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd |
| 22 | - grub-mkimage --prefix="" -o ~/grub_x64.efi -O x86_64-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd |
Heinrich Schuchardt | 159b0ab | 2019-12-19 13:30:32 +0100 | [diff] [blame] | 23 | - cp /opt/grub/grubriscv64.efi ~/grub_riscv64.efi |
Bin Meng | aeb3ea4 | 2020-03-28 07:25:27 -0700 | [diff] [blame] | 24 | - cp /opt/grub/grubriscv32.efi ~/grub_riscv32.efi |
Heinrich Schuchardt | 159b0ab | 2019-12-19 13:30:32 +0100 | [diff] [blame] | 25 | - cp /opt/grub/grubaa64.efi ~/grub_arm64.efi |
| 26 | - cp /opt/grub/grubarm.efi ~/grub_arm.efi |
Bin Meng | b68d9d6 | 2020-03-28 07:25:29 -0700 | [diff] [blame^] | 27 | - if [[ "${TEST_PY_BD}" == "qemu-riscv32_spl" ]]; then |
| 28 | wget -O - https://github.com/riscv/opensbi/releases/download/v0.6/opensbi-0.6-rv32-bin.tar.xz | tar -C /tmp -xJ; |
| 29 | export OPENSBI=/tmp/opensbi-0.6-rv32-bin/platform/qemu/virt/firmware/fw_dynamic.bin; |
| 30 | fi |
| 31 | - if [[ "${TEST_PY_BD}" == "qemu-riscv64_spl" ]]; then |
| 32 | wget -O - https://github.com/riscv/opensbi/releases/download/v0.6/opensbi-0.6-rv64-bin.tar.xz | tar -C /tmp -xJ; |
| 33 | export OPENSBI=/tmp/opensbi-0.6-rv64-bin/platform/qemu/virt/firmware/fw_dynamic.bin; |
| 34 | fi |
Tom Rini | 1cdb182 | 2019-07-24 13:09:31 -0400 | [diff] [blame] | 35 | |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 36 | after_script: |
Heinrich Schuchardt | 159b0ab | 2019-12-19 13:30:32 +0100 | [diff] [blame] | 37 | - rm -rf /tmp/uboot-test-hooks /tmp/venv |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 38 | script: |
| 39 | # From buildman, exit code 129 means warnings only. If we've been asked to |
| 40 | # use clang only do one configuration. |
| 41 | - if [[ "${BUILDMAN}" != "" ]]; then |
| 42 | ret=0; |
Simon Glass | 070811f | 2020-02-11 17:15:19 -0700 | [diff] [blame] | 43 | tools/buildman/buildman -o /tmp -P -E ${BUILDMAN} ${OVERRIDE}|| ret=$?; |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 44 | if [[ $ret -ne 0 && $ret -ne 129 ]]; then |
Tom Rini | 254b98e | 2019-10-04 12:12:53 -0400 | [diff] [blame] | 45 | tools/buildman/buildman -o /tmp -sdeP ${BUILDMAN}; |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 46 | exit $ret; |
| 47 | fi; |
| 48 | fi |
| 49 | # "not a_test_which_does_not_exist" is a dummy -k parameter which will |
| 50 | # never prevent any test from running. That way, we can always pass |
| 51 | # "-k something" even when $TEST_PY_TEST_SPEC doesnt need a custom |
| 52 | # value. |
Tom Rini | ebcd214 | 2019-10-24 11:59:27 -0400 | [diff] [blame] | 53 | - virtualenv -p /usr/bin/python3 /tmp/venv |
| 54 | - . /tmp/venv/bin/activate |
| 55 | - pip install -r test/py/requirements.txt |
Tom Rini | 254b98e | 2019-10-04 12:12:53 -0400 | [diff] [blame] | 56 | - export UBOOT_TRAVIS_BUILD_DIR=/tmp/.bm-work/${TEST_PY_BD}; |
Tom Rini | 3fcb3f5 | 2019-10-24 11:59:17 -0400 | [diff] [blame] | 57 | export PATH=/opt/qemu/bin:/tmp/uboot-test-hooks/bin:${PATH}; |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 58 | export PYTHONPATH=/tmp/uboot-test-hooks/py/travis-ci; |
| 59 | if [[ "${TEST_PY_BD}" != "" ]]; then |
| 60 | ./test/py/test.py --bd ${TEST_PY_BD} ${TEST_PY_ID} |
| 61 | -k "${TEST_PY_TEST_SPEC:-not a_test_which_does_not_exist}" |
| 62 | --build-dir "$UBOOT_TRAVIS_BUILD_DIR"; |
| 63 | ret=$?; |
| 64 | if [[ $ret -ne 0 ]]; then |
| 65 | exit $ret; |
| 66 | fi; |
| 67 | fi; |
| 68 | |
Heinrich Schuchardt | 8e8e1cc | 2019-10-06 12:26:16 +0200 | [diff] [blame] | 69 | build all 32bit ARM platforms: |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 70 | tags: [ 'all' ] |
| 71 | stage: world build |
| 72 | script: |
| 73 | - ret=0; |
Tom Rini | 70c63a5 | 2019-10-24 11:59:16 -0400 | [diff] [blame] | 74 | ./tools/buildman/buildman -o /tmp -P -E arm -x aarch64 || ret=$?; |
| 75 | if [[ $ret -ne 0 && $ret -ne 129 ]]; then |
| 76 | ./tools/buildman/buildman -o /tmp -sdeP; |
| 77 | exit $ret; |
| 78 | fi; |
Tom Rini | 372c697 | 2019-07-17 17:51:28 -0400 | [diff] [blame] | 79 | |
Heinrich Schuchardt | 8e8e1cc | 2019-10-06 12:26:16 +0200 | [diff] [blame] | 80 | build all 64bit ARM platforms: |
Tom Rini | 372c697 | 2019-07-17 17:51:28 -0400 | [diff] [blame] | 81 | tags: [ 'all' ] |
| 82 | stage: world build |
| 83 | script: |
Tom Rini | 6c88310 | 2020-02-11 12:41:14 -0500 | [diff] [blame] | 84 | - virtualenv -p /usr/bin/python3 /tmp/venv |
Tom Rini | 7faea83 | 2019-07-18 07:28:36 -0400 | [diff] [blame] | 85 | - . /tmp/venv/bin/activate |
| 86 | - pip install pyelftools |
Tom Rini | 372c697 | 2019-07-17 17:51:28 -0400 | [diff] [blame] | 87 | - ret=0; |
Tom Rini | 70c63a5 | 2019-10-24 11:59:16 -0400 | [diff] [blame] | 88 | ./tools/buildman/buildman -o /tmp -P -E aarch64 || ret=$?; |
| 89 | if [[ $ret -ne 0 && $ret -ne 129 ]]; then |
| 90 | ./tools/buildman/buildman -o /tmp -sdeP; |
| 91 | exit $ret; |
| 92 | fi; |
Tom Rini | 372c697 | 2019-07-17 17:51:28 -0400 | [diff] [blame] | 93 | |
Heinrich Schuchardt | 8e8e1cc | 2019-10-06 12:26:16 +0200 | [diff] [blame] | 94 | build all PowerPC platforms: |
Tom Rini | 372c697 | 2019-07-17 17:51:28 -0400 | [diff] [blame] | 95 | tags: [ 'all' ] |
| 96 | stage: world build |
| 97 | script: |
| 98 | - ret=0; |
Tom Rini | 70c63a5 | 2019-10-24 11:59:16 -0400 | [diff] [blame] | 99 | ./tools/buildman/buildman -o /tmp -P -E powerpc || ret=$?; |
| 100 | if [[ $ret -ne 0 && $ret -ne 129 ]]; then |
| 101 | ./tools/buildman/buildman -o /tmp -sdeP; |
| 102 | exit $ret; |
| 103 | fi; |
Tom Rini | 372c697 | 2019-07-17 17:51:28 -0400 | [diff] [blame] | 104 | |
Heinrich Schuchardt | 8e8e1cc | 2019-10-06 12:26:16 +0200 | [diff] [blame] | 105 | build all other platforms: |
Tom Rini | 372c697 | 2019-07-17 17:51:28 -0400 | [diff] [blame] | 106 | tags: [ 'all' ] |
| 107 | stage: world build |
| 108 | script: |
| 109 | - ret=0; |
Tom Rini | 70c63a5 | 2019-10-24 11:59:16 -0400 | [diff] [blame] | 110 | ./tools/buildman/buildman -o /tmp -P -E -x arm,powerpc || ret=$?; |
| 111 | if [[ $ret -ne 0 && $ret -ne 129 ]]; then |
| 112 | ./tools/buildman/buildman -o /tmp -sdeP; |
| 113 | exit $ret; |
| 114 | fi; |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 115 | |
| 116 | # QA jobs for code analytics |
| 117 | # static code analysis with cppcheck (we can add --enable=all later) |
| 118 | cppcheck: |
| 119 | tags: [ 'all' ] |
| 120 | stage: testsuites |
| 121 | script: |
| 122 | - cppcheck --force --quiet --inline-suppr . |
| 123 | |
| 124 | # search for TODO within source tree |
| 125 | grep TODO/FIXME/HACK: |
| 126 | tags: [ 'all' ] |
| 127 | stage: testsuites |
| 128 | script: |
| 129 | - grep -r TODO . |
| 130 | - grep -r FIXME . |
| 131 | # search for HACK within source tree and ignore HACKKIT board |
| 132 | - grep -r HACK . | grep -v HACKKIT |
| 133 | |
Heinrich Schuchardt | bccdb65 | 2020-02-21 18:24:01 +0100 | [diff] [blame] | 134 | # build HTML documentation |
| 135 | htmldocs: |
| 136 | tags: [ 'all' ] |
| 137 | stage: testsuites |
| 138 | script: |
| 139 | - make htmldocs |
| 140 | |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 141 | # some statistics about the code base |
| 142 | sloccount: |
| 143 | tags: [ 'all' ] |
| 144 | stage: testsuites |
| 145 | script: |
| 146 | - sloccount . |
| 147 | |
| 148 | # ensure all configs have MAINTAINERS entries |
| 149 | Check for configs without MAINTAINERS entry: |
| 150 | tags: [ 'all' ] |
| 151 | stage: testsuites |
| 152 | script: |
| 153 | - if [ `./tools/genboardscfg.py -f 2>&1 | wc -l` -ne 0 ]; then exit 1; fi |
| 154 | |
| 155 | # Ensure host tools build |
| 156 | Build tools-only: |
| 157 | tags: [ 'all' ] |
| 158 | stage: testsuites |
| 159 | script: |
| 160 | - make tools-only_config tools-only -j$(nproc) |
| 161 | |
Pierre-Jean Texier | 6812f5e | 2019-08-26 13:06:18 +0200 | [diff] [blame] | 162 | # Ensure env tools build |
| 163 | Build envtools: |
| 164 | tags: [ 'all' ] |
| 165 | stage: testsuites |
| 166 | script: |
| 167 | - make tools-only_config envtools -j$(nproc) |
| 168 | |
Tom Rini | 0b3e0c4 | 2020-03-11 18:11:15 -0400 | [diff] [blame] | 169 | Run binman, buildman, dtoc, Kconfig and patman testsuites: |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 170 | tags: [ 'all' ] |
| 171 | stage: testsuites |
| 172 | script: |
Tom Rini | 0b6e103 | 2019-08-12 10:09:08 -0400 | [diff] [blame] | 173 | - git config --global user.name "GitLab CI Runner"; |
| 174 | git config --global user.email trini@konsulko.com; |
| 175 | export USER=gitlab; |
Tom Rini | 6c88310 | 2020-02-11 12:41:14 -0500 | [diff] [blame] | 176 | virtualenv -p /usr/bin/python3 /tmp/venv; |
Tom Rini | 0b6e103 | 2019-08-12 10:09:08 -0400 | [diff] [blame] | 177 | . /tmp/venv/bin/activate; |
Tom Rini | 0b3e0c4 | 2020-03-11 18:11:15 -0400 | [diff] [blame] | 178 | pip install pyelftools pytest; |
Tom Rini | 254b98e | 2019-10-04 12:12:53 -0400 | [diff] [blame] | 179 | export UBOOT_TRAVIS_BUILD_DIR=/tmp/.bm-work/sandbox_spl; |
Tom Rini | 0b6e103 | 2019-08-12 10:09:08 -0400 | [diff] [blame] | 180 | export PYTHONPATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc/pylibfdt"; |
| 181 | export PATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc:${PATH}"; |
Simon Glass | 070811f | 2020-02-11 17:15:19 -0700 | [diff] [blame] | 182 | ./tools/buildman/buildman -o /tmp -P sandbox_spl; |
Tom Rini | 0b6e103 | 2019-08-12 10:09:08 -0400 | [diff] [blame] | 183 | ./tools/binman/binman --toolpath ${UBOOT_TRAVIS_BUILD_DIR}/tools test; |
| 184 | ./tools/buildman/buildman -t; |
| 185 | ./tools/dtoc/dtoc -t; |
Tom Rini | 0b3e0c4 | 2020-03-11 18:11:15 -0400 | [diff] [blame] | 186 | ./tools/patman/patman --test; |
| 187 | make testconfig |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 188 | |
| 189 | # Test sandbox with test.py |
| 190 | sandbox test.py: |
| 191 | tags: [ 'all' ] |
| 192 | variables: |
| 193 | TEST_PY_BD: "sandbox" |
| 194 | BUILDMAN: "^sandbox$" |
| 195 | <<: *buildman_and_testpy_dfn |
| 196 | |
Tom Rini | 99a1bb3 | 2019-11-06 19:30:47 -0500 | [diff] [blame] | 197 | sandbox with clang test.py: |
| 198 | tags: [ 'all' ] |
| 199 | variables: |
| 200 | TEST_PY_BD: "sandbox" |
| 201 | BUILDMAN: "^sandbox$" |
| 202 | OVERRIDE: "-O clang-7" |
| 203 | <<: *buildman_and_testpy_dfn |
| 204 | |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 205 | sandbox_spl test.py: |
| 206 | tags: [ 'all' ] |
| 207 | variables: |
| 208 | TEST_PY_BD: "sandbox_spl" |
| 209 | BUILDMAN: "^sandbox_spl$" |
| 210 | TEST_PY_TEST_SPEC: "test_ofplatdata" |
| 211 | <<: *buildman_and_testpy_dfn |
| 212 | |
Tom Rini | 0008b88 | 2019-07-17 16:06:57 -0400 | [diff] [blame] | 213 | evb-ast2500 test.py: |
| 214 | tags: [ 'all' ] |
| 215 | variables: |
| 216 | TEST_PY_BD: "evb-ast2500" |
| 217 | TEST_PY_ID: "--id qemu" |
Tom Rini | 0008b88 | 2019-07-17 16:06:57 -0400 | [diff] [blame] | 218 | BUILDMAN: "^evb-ast2500$" |
| 219 | <<: *buildman_and_testpy_dfn |
| 220 | |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 221 | sandbox_flattree test.py: |
| 222 | tags: [ 'all' ] |
| 223 | variables: |
| 224 | TEST_PY_BD: "sandbox_flattree" |
| 225 | BUILDMAN: "^sandbox_flattree$" |
| 226 | <<: *buildman_and_testpy_dfn |
| 227 | |
| 228 | vexpress_ca15_tc2 test.py: |
| 229 | tags: [ 'all' ] |
| 230 | variables: |
| 231 | TEST_PY_BD: "vexpress_ca15_tc2" |
| 232 | TEST_PY_ID: "--id qemu" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 233 | BUILDMAN: "^vexpress_ca15_tc2$" |
| 234 | <<: *buildman_and_testpy_dfn |
| 235 | |
| 236 | vexpress_ca9x4 test.py: |
| 237 | tags: [ 'all' ] |
| 238 | variables: |
| 239 | TEST_PY_BD: "vexpress_ca9x4" |
| 240 | TEST_PY_ID: "--id qemu" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 241 | BUILDMAN: "^vexpress_ca9x4$" |
| 242 | <<: *buildman_and_testpy_dfn |
| 243 | |
| 244 | integratorcp_cm926ejs test.py: |
| 245 | tags: [ 'all' ] |
| 246 | variables: |
| 247 | TEST_PY_BD: "integratorcp_cm926ejs" |
| 248 | TEST_PY_TEST_SPEC: "not sleep" |
| 249 | TEST_PY_ID: "--id qemu" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 250 | BUILDMAN: "^integratorcp_cm926ejs$" |
| 251 | <<: *buildman_and_testpy_dfn |
| 252 | |
| 253 | qemu_arm test.py: |
| 254 | tags: [ 'all' ] |
| 255 | variables: |
| 256 | TEST_PY_BD: "qemu_arm" |
| 257 | TEST_PY_TEST_SPEC: "not sleep" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 258 | BUILDMAN: "^qemu_arm$" |
| 259 | <<: *buildman_and_testpy_dfn |
| 260 | |
| 261 | qemu_arm64 test.py: |
| 262 | tags: [ 'all' ] |
| 263 | variables: |
| 264 | TEST_PY_BD: "qemu_arm64" |
| 265 | TEST_PY_TEST_SPEC: "not sleep" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 266 | BUILDMAN: "^qemu_arm64$" |
| 267 | <<: *buildman_and_testpy_dfn |
| 268 | |
| 269 | qemu_mips test.py: |
| 270 | tags: [ 'all' ] |
| 271 | variables: |
| 272 | TEST_PY_BD: "qemu_mips" |
| 273 | TEST_PY_TEST_SPEC: "not sleep" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 274 | BUILDMAN: "^qemu_mips$" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 275 | <<: *buildman_and_testpy_dfn |
| 276 | |
| 277 | qemu_mipsel test.py: |
| 278 | tags: [ 'all' ] |
| 279 | variables: |
| 280 | TEST_PY_BD: "qemu_mipsel" |
| 281 | TEST_PY_TEST_SPEC: "not sleep" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 282 | BUILDMAN: "^qemu_mipsel$" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 283 | <<: *buildman_and_testpy_dfn |
| 284 | |
| 285 | qemu_mips64 test.py: |
| 286 | tags: [ 'all' ] |
| 287 | variables: |
| 288 | TEST_PY_BD: "qemu_mips64" |
| 289 | TEST_PY_TEST_SPEC: "not sleep" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 290 | BUILDMAN: "^qemu_mips64$" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 291 | <<: *buildman_and_testpy_dfn |
| 292 | |
| 293 | qemu_mips64el test.py: |
| 294 | tags: [ 'all' ] |
| 295 | variables: |
| 296 | TEST_PY_BD: "qemu_mips64el" |
| 297 | TEST_PY_TEST_SPEC: "not sleep" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 298 | BUILDMAN: "^qemu_mips64el$" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 299 | <<: *buildman_and_testpy_dfn |
| 300 | |
| 301 | qemu-ppce500 test.py: |
| 302 | tags: [ 'all' ] |
| 303 | variables: |
| 304 | TEST_PY_BD: "qemu-ppce500" |
| 305 | TEST_PY_TEST_SPEC: "not sleep" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 306 | BUILDMAN: "^qemu-ppce500$" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 307 | <<: *buildman_and_testpy_dfn |
| 308 | |
Bin Meng | aeb3ea4 | 2020-03-28 07:25:27 -0700 | [diff] [blame] | 309 | qemu-riscv32 test.py: |
| 310 | tags: [ 'all' ] |
| 311 | variables: |
| 312 | TEST_PY_BD: "qemu-riscv32" |
| 313 | TEST_PY_TEST_SPEC: "not sleep" |
| 314 | BUILDMAN: "^qemu-riscv32$" |
| 315 | <<: *buildman_and_testpy_dfn |
| 316 | |
Tom Rini | c8c320e | 2019-08-02 11:32:37 -0400 | [diff] [blame] | 317 | qemu-riscv64 test.py: |
| 318 | tags: [ 'all' ] |
| 319 | variables: |
| 320 | TEST_PY_BD: "qemu-riscv64" |
| 321 | TEST_PY_TEST_SPEC: "not sleep" |
| 322 | BUILDMAN: "^qemu-riscv64$" |
| 323 | <<: *buildman_and_testpy_dfn |
| 324 | |
Bin Meng | b68d9d6 | 2020-03-28 07:25:29 -0700 | [diff] [blame^] | 325 | qemu-riscv32_spl test.py: |
| 326 | tags: [ 'all' ] |
| 327 | variables: |
| 328 | TEST_PY_BD: "qemu-riscv32_spl" |
| 329 | TEST_PY_TEST_SPEC: "not sleep" |
| 330 | BUILDMAN: "^qemu-riscv32_spl$" |
| 331 | <<: *buildman_and_testpy_dfn |
| 332 | |
| 333 | qemu-riscv64_spl test.py: |
| 334 | tags: [ 'all' ] |
| 335 | variables: |
| 336 | TEST_PY_BD: "qemu-riscv64_spl" |
| 337 | TEST_PY_TEST_SPEC: "not sleep" |
| 338 | BUILDMAN: "^qemu-riscv64_spl$" |
| 339 | <<: *buildman_and_testpy_dfn |
| 340 | |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 341 | qemu-x86 test.py: |
| 342 | tags: [ 'all' ] |
| 343 | variables: |
| 344 | TEST_PY_BD: "qemu-x86" |
| 345 | TEST_PY_TEST_SPEC: "not sleep" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 346 | BUILDMAN: "^qemu-x86$" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 347 | <<: *buildman_and_testpy_dfn |
| 348 | |
| 349 | qemu-x86_64 test.py: |
| 350 | tags: [ 'all' ] |
| 351 | variables: |
| 352 | TEST_PY_BD: "qemu-x86_64" |
| 353 | TEST_PY_TEST_SPEC: "not sleep" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 354 | BUILDMAN: "^qemu-x86_64$" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 355 | <<: *buildman_and_testpy_dfn |
| 356 | |
Michal Simek | f8834fd | 2020-02-13 15:03:29 +0100 | [diff] [blame] | 357 | xilinx_zynq_virt test.py: |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 358 | tags: [ 'all' ] |
| 359 | variables: |
Michal Simek | f8834fd | 2020-02-13 15:03:29 +0100 | [diff] [blame] | 360 | TEST_PY_BD: "xilinx_zynq_virt" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 361 | TEST_PY_TEST_SPEC: "not sleep" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 362 | TEST_PY_ID: "--id qemu" |
Michal Simek | f8834fd | 2020-02-13 15:03:29 +0100 | [diff] [blame] | 363 | BUILDMAN: "^xilinx_zynq_virt$" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 364 | <<: *buildman_and_testpy_dfn |
| 365 | |
| 366 | xilinx_versal_virt test.py: |
| 367 | tags: [ 'all' ] |
| 368 | variables: |
| 369 | TEST_PY_BD: "xilinx_versal_virt" |
| 370 | TEST_PY_TEST_SPEC: "not sleep" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 371 | TEST_PY_ID: "--id qemu" |
| 372 | BUILDMAN: "^xilinx_versal_virt$" |
| 373 | <<: *buildman_and_testpy_dfn |
| 374 | |
| 375 | xtfpga test.py: |
| 376 | tags: [ 'all' ] |
| 377 | variables: |
| 378 | TEST_PY_BD: "xtfpga" |
| 379 | TEST_PY_TEST_SPEC: "not sleep" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 380 | TEST_PY_ID: "--id qemu" |
| 381 | BUILDMAN: "^xtfpga$" |
Tom Rini | d2244b9 | 2019-06-19 09:25:17 -0400 | [diff] [blame] | 382 | <<: *buildman_and_testpy_dfn |