summaryrefslogtreecommitdiff
path: root/tcwg-llvm-testsuite.sh
AgeCommit message (Collapse)Author
2020-12-03tcwg-llvm-testsuite.sh: Remove use of llvm-reference and update GIT URLs.Christophe Lyon
llvw-reference is now obsolete, and the lnt and test-suite repos have moved to new URLs. Change-Id: I851e9e824b3e79492a928f75a35b32233c1935b9
2020-04-28Shellcheck fixes round 3David Spickett
Now using the version that's present in the bionic images. Meaning we have more warnings but can also set the minimum level to ignore a lot of them. Fix the check for whether shellcheck supports --severity. (we have pipefail on, but we expect shellcheck to fail in this case) Change-Id: I296b8554591b7d327c75393e3924184abc6512b7
2020-04-22Various shellcheck warning fixesDavid Spickett
First round of low hanging fruit from the files with the fewest warnings. Change-Id: I60ad57b5bfb2f0be9bb6506252c820f44d055200
2017-08-04tcwg-llvm-testsuite.sh: Don't use cut to split stringsDiana Picus
We were using cut with a separator of "=" to parse things like arg=value. This is problematic in cases where value itself may contain other occurences of =, since the previous code would trim them away. For instance, when parsing "nt_flags=--mllvm -global-isel-abort=2", we would identify "nt_flags" as arg, but only "--mllvm -global-isel-abort" as value. We can fix the issue by using read instead of cut. Change-Id: Icf35bc70c0534464ec70a0e062dae2d9efac0508
2017-07-31tcwg-llvm-testsuite.sh: Add nt-flags parameterDiana Picus
This makes it possible for us to configure how we want the test-suite to be run. For instance, it allows us to specify the number of build/run threads, the compiler flags, whether or not we want benchmarking mode etc. Change-Id: Ie180281cc9337b3e2edfa9d7d7512b35f2989c75
2017-05-05tcwg-llvm-testsuite.sh: removing depth from cloneRenato Golin
Change-Id: I91f0a4a2bde9c4ae84c0c0d2abddb3bf92c30ec4
2017-05-05tcwg-llvm-*: include common in the same basedirRenato Golin
Change-Id: I422ce0666089864ab50bf065af171c7ff0e4d1dd
2017-05-05tcwg-llvm-testsuite.sh: typoRenato Golin
Change-Id: If8eabb24bf52cb7cb8cdcd965619001f5c1034bd
2017-05-05tcwg-llvm-*: Additional argument to download_toolchainRenato Golin
Change-Id: Iedb0a501989dbaa6fd24d728d92e66a8dba1f9aa
2017-05-04tcwg-llvm-*: Moving common stuff outRenato Golin
This is an NFC patch that just common things up. I'm making sure that we only handle URLs and toolchain downloads in a single place, which will later be very useful when we get Jenkins to ask these scripts to create the trigger files. This is the first part of TCWG-1117. Adding the trigger files will be the second. I have tested on my box by sourcing the common file and calling the functions with the right parameters as well as running the scripts (build/release/test) with the appropriate arguments but with the core logic actually commented out. I have some empty tar balls with the right names on dev-01. :) Change-Id: Ice435ad9d5e20152e295413075c32a396ffc5e2a
2017-04-20tcwg-llvm-*: Fix bash typoRenato Golin
Change-Id: I3687c55f3719e26dfce1f7113be3c35f93a6ff65
2017-04-20tcwg-llvm-*: Use reference git cloneRenato Golin
Updates: - Using $REFDIR instead of hard-coding (don't need parameter yet) - Using flock on non-new directory, to avoid rsync problems Change-Id: I64aff86df2cf0090b87e35ca3bc588ba39473781
2017-04-13tcwg-llvm-*: Add --depth 1 to git clonesRenato Golin
Change-Id: Id8e3211856c35a1cbc1da8e264a83e5c8d72100f
2017-03-31tcwg-llvm-testsuite.sh: try alternative LC_ALLRenato Golin
Change-Id: Ie80f111069a86fc8b5fc0177fd5ab7ccca535752
2017-03-30tcwg-llvm-testsuite.sh: using standard locale to avoid python errorsRenato Golin
Change-Id: Ia05567dfaa609eeebad49a2e970e1090d4049888
2017-03-24tcwg-llvm-testsuite.sh: Add set -u and fix variablesRenato Golin
Change-Id: If5b95c1cb6837dc8791368d170878ec6a9e1d4d2
2017-03-24tcwg-llvm-testsuite.sh: Adding way to run LLVM test-suiteRenato Golin
This checks out test-suite and run on a toolchain provided (mandatory). This job will not build the toolchain for you, and it can work with any toolchain (clang, gcc) provided. Change-Id: I21d072de25a1d386379ae681ee8b7bfd1c85e576