summaryrefslogtreecommitdiff
path: root/TestRelease.job
AgeCommit message (Collapse)Author
2020-04-23Shellcheck fixes round 2David Spickett
Also update the sanity check script to include .job files. Change-Id: Ibf72d9ff346ff7b012d4e282a6ac8f3b7e73590d
2019-01-18TestRelease.job: execute all tests, update diagnostic format.Christophe Lyon
It's better to execute all tests and not stop on the first failing one, this patch fixes this. It also changes the diagnostic message to match other testsuites. Change-Id: I4bd3fb36c32bf5b0c32efcfdf016fdf477a19915
2018-11-26Don't ignore "null" values in variable expansionsMaxim Kuvyrkov
Replace ${var:-default} with ${var-default}. I learned something new about shell scripting today. From bash manual: === When not performing substring expansion, using the form described below (e.g., ‘:-’), Bash tests for a parameter that is unset or null. Omitting the colon results in a test only for a parameter that is unset. Put another way, if the colon is included, the operator tests for both parameter’s existence and that its value is not null; if the colon is omitted, the operator tests only for existence. === The immediate problem I need to fix is handling of host_aarchXX_excludecheck and host_x86_64_excludecheck parameters in tcwg-buildfarm.sh. With ":-" syntax the empty ("null") values are replaced by defaults, causing GCC testsuite to be ignored on aarchXX hosts when "--host_aarchXX_excludecheck ''" is given. There happens to be a single usage ":-" in ${rw:-rw} in start-container-qemu.sh, where ":-" is actually needed. Change-Id: Ibc8e070b698e1c76e2161eb65d40639b8cdec1f3
2017-11-13Detect host name and pass it to tcwg-regressionPrzemekWirkus
In order to use \K marker in grep, command line switch -P/--perl-regexp is used: 'Interpret the pattern as a Perl-compatible regular expression (PCRE)'. Note, this is GNU grep feature, its not fully portable! Testing of HOST detection expression: | ${dir} | ${host} | ${target} | Test Result +------------------------------------------------------------------+--------------+------------------------+------------ | gcc-linaro-7.2.1-2017.11-rc12-i686_armv8l-linux-gnueabihf | i686 | armv8l-linux-gnueabihf | [OK] | gcc-linaro-7.2.1-2017.11-rc3-i686-mingw32_armv8l-linux-gnueabihf | i686-mingw32 | armv8l-linux-gnueabihf | [OK] | gcc-linaro-7.2.1-2017.11-rc1-armv8l-linux-gnueabihf | | armv8l-linux-gnueabihf | [NO HOST] | gcc-linaro-7.2.1-2017.1-rc1-armv8l-linux-gnueabihf | | armv8l-linux-gnueabihf | [NO HOST] | gcc-linaro-7.2.1-2017.03-i686_armv8l-linux-gnueabihf | i686 | armv8l-linux-gnueabihf | [OK] | gcc-linaro-7.2.1-2017.2-i686-mingw32_armv8l-linux-gnueabihf | i686-mingw32 | armv8l-linux-gnueabihf | [OK] | gcc-linaro-7.2.1-2017.5-i686_aarch64-elf | i686 | aarch64-elf | [OK] | gcc-linaro-7.2.1-2017.11-x86_64_aarch64-elf | x86_64 | aarch64-elf | [OK] | gcc-linaro-7.2.1-2017.11-i686_armv8l-linux-gnueabihf | i686 | armv8l-linux-gnueabihf | [OK] | gcc-linaro-7.2.1-2017.11-i686-mingw32_armv8l-linux-gnueabihf | i686-mingw32 | armv8l-linux-gnueabihf | [OK] | gcc-linaro-7.2.1-2017.11-i686_aarch64-elf | i686 | aarch64-elf | [OK] | gcc-linaro-7.2.1-2017.11-x86_64_aarch64-elf | x86_64 | aarch64-elf | [OK] | gcc-linaro-7.2.1-2017.11-i686_aarch64-linux-gnu | i686 | aarch64-linux-gnu | [OK] | gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu | x86_64 | aarch64-linux-gnu | [OK] | gcc-linaro-7.2.1-2017.11-i686_aarch64_be-elf | i686 | aarch64_be-elf | [OK] | gcc-linaro-7.2.1-2017.11-x86_64_aarch64_be-elf | x86_64 | aarch64_be-elf | [OK] | gcc-linaro-7.2.1-2017.11-i686_aarch64_be-linux-gnu | i686 | aarch64_be-linux-gnu | [OK] | gcc-linaro-7.2.1-2017.11-x86_64_aarch64_be-linux-gnu | x86_64 | aarch64_be-linux-gnu | [OK] | gcc-linaro-7.2.1-2017.11-i686_armv8l-linux-gnueabihf | i686 | armv8l-linux-gnueabihf | [OK] | gcc-linaro-7.2.1-2017.11-x86_64_armv8l-linux-gnueabihf | x86_64 | armv8l-linux-gnueabihf | [OK] | gcc-linaro-7.2.1-2017.11-i686_arm-eabi | i686 | arm-eabi | [OK] | gcc-linaro-7.2.1-2017.11-x86_64_arm-eabi | x86_64 | arm-eabi | [OK] | gcc-linaro-7.2.1-2017.11-i686_arm-linux-gnueabi | i686 | arm-linux-gnueabi | [OK] | gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi | x86_64 | arm-linux-gnueabi | [OK] | gcc-linaro-7.2.1-2017.11-i686_arm-linux-gnueabihf | i686 | arm-linux-gnueabihf | [OK] | gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf | x86_64 | arm-linux-gnueabihf | [OK] | gcc-linaro-7.2.1-2017.11-i686_armeb-eabi | i686 | armeb-eabi | [OK] | gcc-linaro-7.2.1-2017.11-x86_64_armeb-eabi | x86_64 | armeb-eabi | [OK] | gcc-linaro-7.2.1-2017.11-i686_armeb-linux-gnueabi | i686 | armeb-linux-gnueabi | [OK] | gcc-linaro-7.2.1-2017.11-x86_64_armeb-linux-gnueabi | x86_64 | armeb-linux-gnueabi | [OK] | gcc-linaro-7.2.1-2017.11-i686_armeb-linux-gnueabihf | i686 | armeb-linux-gnueabihf | [OK] | gcc-linaro-7.2.1-2017.11-x86_64_armeb-linux-gnueabihf | x86_64 | armeb-linux-gnueabihf | [OK] Change-Id: Ib1737358fd2876a9f3566bd1208b8c5be618c0b1
2017-05-31TestRelease.job: Fix typo.Maxim Kuvyrkov
Change-Id: Ib11afc68b3c72d8b5920baa365564c805b968974
2017-05-31TestRelease.job: Use jenkins helper to clone repoMaxim Kuvyrkov
... to handle SHA1 parameters to tcwg_regression_rev. Change-Id: I5a85f259e1e664d57c8c55d5e97458ec896a1988
2017-05-31TestRelease.job: Add support for wildcards in --tarball optionMaxim Kuvyrkov
... and remove support for file:// protocol as well as other useless stuff. Change-Id: I1091870add7708ba4d1b9a21c120ba82fbeaac4e
2017-05-10TestRelease.job: Clone tcwg-regression with full history.Christophe Lyon
We need history to be able to checkout a given revision: remove --depth 1 from git clone. Change-Id: Iab946bf68dafb2e1cd49a2b221c796beb9f23f95
2017-05-09TestRelease.job: Add --tcwg-regression-rev option.Christophe Lyon
When called from tcwg-regression-detection, we check an old compiler (6.2-2016.11), which fails to pass some of the tcwg-regression tests. With this option, we can choose to use a known-to-pass version of the tests. Change-Id: I1c5672f2a1e633324cf7e662157aaefa36b0e561
2017-03-16TestRelease.job: run tcwg-regression tests.Christophe Lyon
Change-Id: Ia2b19afbd2be2cafca4f2d26538b3e28bfd41277
2017-02-17Check for symlinks in win32 tarballs.Charles Baylis
Add test to ensure that no symlinks are found in win32 release tarballs. Change-Id: Ib9efc6b494a261b8cadd3f6b27091801d743cda5
2016-11-09scripts/TestRelease.job: add a drive short name when using wine.Christophe Lyon
Using too long paths can cause compilation to fail. This patch creates a new drive letter pointing to the test directory, such that wine uses this shortcut when running the sample compilation test. Change-Id: I75f863a5ba728c548237d5944d1c8dd2c91e90b3
2016-09-21scripts/TestRelease.job: Fix typo in cpu option.Christophe Lyon
Change-Id: Idb7aa365043aa35e569812fe2825bbf1cfe1037d
2016-09-21scripts/TestRelease.job: Fix bare-metal testing.Christophe Lyon
AArch64 needs specs, to find libc. ARM does not need specs, but using the default CPU generates undefined references to __sync_synchronize. Both problems probably need a better fix in GCC. This is related to: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66203 Change-Id: If10eb6656a5952e5831f77dbe59d95fe8ecdbe96
2016-09-11scripts/TestRelease.job: Print a message at the end.Christophe Lyon
To make it clear whether compilation succeeded or failed. Change-Id: I54c46ebf85e1daeda15cd0c06c71fdc24d4b066e
2016-09-11scripts/TestRelease.job: Fix target name computation.Christophe Lyon
Fix the regexp so that we guess the right target name before trying to invoke the compiler. Change-Id: If004eea947b417f3a98620d20a16bddb82b2fefd
2016-08-30scripts/TestRelease.job: Make it less verbose.Christophe Lyon
To avoid filling the Jenkins console. Change-Id: Ie2108e656244cce7acbc8e284910ad9f04af4000
2016-04-05New script for testing toolchain binary releases. Works with the new Jenkins ↵Rob Savoye
job TCWG Test Release. Fix all problems when running via Jenkins from the MakeRelease job. Change-Id: Id8a0ca1325c338c1c7de64ba3198abe93f8a054f