diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2016-10-26 12:08:14 +0200 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2016-10-26 12:08:36 +0200 |
commit | ca4ff059e44b6842ad515f3562206840969824b1 (patch) | |
tree | 50b861dfc5c3ad5aeab469c08e9ff78326c5dcc4 /tcwg-abe-extended.yaml | |
parent | 5368221edd82e106a1a1d092e59a3538bc834552 (diff) |
Revert "tcwg-abe-extended: Factorize code for similar targets."
This reverts commit a3351013bb7eaa6e4597bd8805b5149976eea5df.
Change-Id: I4e13cb65837f2242e5c8f683bf9bfa452e19c985
Diffstat (limited to 'tcwg-abe-extended.yaml')
-rw-r--r-- | tcwg-abe-extended.yaml | 71 |
1 files changed, 43 insertions, 28 deletions
diff --git a/tcwg-abe-extended.yaml b/tcwg-abe-extended.yaml index fc1360c6..04e0b265 100644 --- a/tcwg-abe-extended.yaml +++ b/tcwg-abe-extended.yaml @@ -49,10 +49,10 @@ - cross_qemu_build_check - native_build_check - abe-testsuite - - abe-tests-arm-linux-gnueabihf - - abe-tests-arm-none-eabi - - abe-tests-aarch64-linux-gnu - - abe-tests-aarch64_be-elf + - abe-tests-arm-linux + - abe-tests-arm-bare + - abe-tests-aarch64-linux + - abe-tests-aarch64_be-bare - abe-tests-checkout execution-strategy: combination-filter: | @@ -119,26 +119,30 @@ #FIXME: check what was actually built #FIXME: validate the manifest ;; - *_build_check) - bootstrap= - case ${testname} in - cross_linux_build_check) - target=arm-linux-gnueabihf - ;; - cross_bare_build_check) - target=aarch64-none-elf - ;; - cross_qemu_build_check) - target=armeb-linux-gnueabihf - ;; - native_build_check) - target=native - bootstrap=--bootstrap - ;; - esac - + cross_linux_build_check) # Build and check a linux target - ${BUILD_SHELL} -x ${WORKSPACE}/jenkins.sh -t ${target} ${bootstrap} --runtests --excludecheck gdb --override "--extraconfigdir ../config/gcc6 $gccver" + ${BUILD_SHELL} -x ${WORKSPACE}/jenkins.sh -t arm-linux-gnueabihf --runtests --excludecheck gdb --override "--extraconfigdir ../config/gcc6 $gccver" + ret=$? + #FIXME: check validation results (against a known baseline) + #FIXME: validate the manifest + ;; + cross_bare_build_check) + # Build and check a bare-metal target + ${BUILD_SHELL} -x ${WORKSPACE}/jenkins.sh -t aarch64-none-elf --runtests --excludecheck gdb --override "--extraconfigdir ../config/gcc6 $gccver" + ret=$? + #FIXME: check validation results (against a known baseline) + #FIXME: validate the manifest + ;; + cross_qemu_build_check) + # Build and check using qemu: use armeb + ${BUILD_SHELL} -x ${WORKSPACE}/jenkins.sh -t armeb-linux-gnueabihf --runtests --excludecheck gdb --override "--extraconfigdir ../config/gcc6 $gccver" + ret=$? + #FIXME: check validation results (against a known baseline) + #FIXME: validate the manifest + ;; + native_build_check) + # Build and check a native toolchain (x86_64) + ${BUILD_SHELL} -x ${WORKSPACE}/jenkins.sh -t native --runtests --bootstrap --excludecheck gdb --override "--extraconfigdir ../config/gcc6 $gccver" ret=$? #FIXME: check validation results (against a known baseline) #FIXME: validate the manifest @@ -147,13 +151,24 @@ ${BUILD_SHELL} -c "set -ex; ./configure; make check" ret=$? ;; - abe-tests-checkout) - ${BUILD_SHELL} -c "set -ex; git clone https://git.linaro.org/toolchain/abe-tests.git; cd abe-tests; ./test-checkout.sh --clean-snapshots --abe-path `pwd` --ref-snapshots /home/tcwg-buildslave/snapshots-ref" + abe-tests-arm-linux) + ${BUILD_SHELL} -c "set -ex; git clone https://git.linaro.org/toolchain/abe-tests.git; cd abe-tests; ./test-manifest2.sh --abe-path `pwd` --ref-snapshots /home/tcwg-buildslave/snapshots-ref --quiet --display-report --target arm-linux-gnueabihf" ret=$? ;; - abe-tests-*) - target=$(echo ${testname} | sed 's/abe-tests-//') - ${BUILD_SHELL} -c "set -ex; git clone https://git.linaro.org/toolchain/abe-tests.git; cd abe-tests; ./test-manifest2.sh --abe-path `pwd` --ref-snapshots /home/tcwg-buildslave/snapshots-ref --quiet --display-report --target ${target}" + abe-tests-arm-bare) + ${BUILD_SHELL} -c "set -ex; git clone https://git.linaro.org/toolchain/abe-tests.git; cd abe-tests; ./test-manifest2.sh --abe-path `pwd` --ref-snapshots /home/tcwg-buildslave/snapshots-ref --quiet --display-report --target arm-none-eabi" + ret=$? + ;; + abe-tests-aarch64-linux) + ${BUILD_SHELL} -c "set -ex; git clone https://git.linaro.org/toolchain/abe-tests.git; cd abe-tests; ./test-manifest2.sh --abe-path `pwd` --ref-snapshots /home/tcwg-buildslave/snapshots-ref --quiet --display-report --target aarch64-linux-gnu" + ret=$? + ;; + abe-tests-aarch64_be-bare) + ${BUILD_SHELL} -c "set -ex; git clone https://git.linaro.org/toolchain/abe-tests.git; cd abe-tests; ./test-manifest2.sh --abe-path `pwd` --ref-snapshots /home/tcwg-buildslave/snapshots-ref --quiet --display-report --target aarch64_be-elf" + ret=$? + ;; + abe-tests-checkout) + ${BUILD_SHELL} -c "set -ex; git clone https://git.linaro.org/toolchain/abe-tests.git; cd abe-tests; ./test-checkout.sh --clean-snapshots --abe-path `pwd` --ref-snapshots /home/tcwg-buildslave/snapshots-ref" ret=$? ;; esac |