diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2020-10-19 13:06:39 +0200 |
---|---|---|
committer | Anders Roxell <anders.roxell@linaro.org> | 2020-10-23 14:45:48 +0200 |
commit | 5c00f8671f84b94d52a2c8d579e885f6a1dcdd69 (patch) | |
tree | 70b47ca8d20329ca4b4abc61dba2b570caa00938 /automated/linux/fwts | |
parent | 9bdd20014de503d43763354f42655ecf83d090bb (diff) |
fwts: fix FWTS_URL bug
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'automated/linux/fwts')
-rwxr-xr-x | automated/linux/fwts/fwts.sh | 4 | ||||
-rw-r--r-- | automated/linux/fwts/fwts.yaml | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/automated/linux/fwts/fwts.sh b/automated/linux/fwts/fwts.sh index c617e2e0..5f6dcde5 100755 --- a/automated/linux/fwts/fwts.sh +++ b/automated/linux/fwts/fwts.sh @@ -61,7 +61,9 @@ while getopts "h:t:p:u:v:s:" opt; do FWTS_VERSION="$OPTARG" ;; u) - FWTS_URL="$OPTARG" + if [[ "$OPTARG" != '' ]]; then + FWTS_URL="$OPTARG" + fi ;; p) if [[ "$OPTARG" != '' ]]; then diff --git a/automated/linux/fwts/fwts.yaml b/automated/linux/fwts/fwts.yaml index a23e6a66..ab63f3cb 100644 --- a/automated/linux/fwts/fwts.yaml +++ b/automated/linux/fwts/fwts.yaml @@ -53,5 +53,5 @@ params: run: steps: - cd ./automated/linux/fwts/ - - ./fwts.sh -t "${TESTS}" -v "${FWTS_VERSION}" -s "${SKIP_INSTALL}" -p "${FWTS_PATH}" + - ./fwts.sh -t "${TESTS}" -v "${FWTS_VERSION}" -s "${SKIP_INSTALL}" -p "${FWTS_PATH}" -u "${FWTS_URL}" - ../../utils/send-to-lava.sh ./output/result.txt |