Ruslan Kashapov | aad2240 | 2021-02-23 10:08:00 +0200 | [diff] [blame] | 1 | #!/bin/bash -x |
| 2 | # |
| 3 | # Copyright 2020-2021 © Samsung Electronics Co., Ltd. |
Ruslan Kashapov | d44fcee | 2021-02-26 11:42:29 +0200 | [diff] [blame] | 4 | # Modifications Copyright (C) 2021 Pantheon.tech |
danielhanrahan | 02da03e | 2024-08-23 17:41:05 +0100 | [diff] [blame] | 5 | # Modifications Copyright (C) 2024 Nordix Foundation. |
Ruslan Kashapov | aad2240 | 2021-02-23 10:08:00 +0200 | [diff] [blame] | 6 | # |
| 7 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | # you may not use this file except in compliance with the License. |
| 9 | # You may obtain a copy of the License at |
| 10 | # |
| 11 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | # |
| 13 | # Unless required by applicable law or agreed to in writing, software |
| 14 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | # See the License for the specific language governing permissions and |
| 17 | # limitations under the License. |
| 18 | # |
Ruslan Kashapov | d44fcee | 2021-02-26 11:42:29 +0200 | [diff] [blame] | 19 | # Branched from ccsdk/distribution to this repository Feb 23, 2021 |
Ruslan Kashapov | aad2240 | 2021-02-23 10:08:00 +0200 | [diff] [blame] | 20 | # |
| 21 | |
| 22 | # $1 test options (passed on to run-csit.sh as such) |
| 23 | |
| 24 | export TESTOPTIONS=${1} |
emaclee | 605bec2 | 2023-02-02 10:58:35 +0000 | [diff] [blame] | 25 | export CPS_HOME=$(git rev-parse --show-toplevel) |
Ruslan Kashapov | aad2240 | 2021-02-23 10:08:00 +0200 | [diff] [blame] | 26 | export WORKSPACE=$(git rev-parse --show-toplevel)/csit |
| 27 | |
| 28 | rm -rf ${WORKSPACE}/archives |
| 29 | mkdir -p ${WORKSPACE}/archives |
| 30 | cd ${WORKSPACE} |
| 31 | |
danielhanrahan | 02da03e | 2024-08-23 17:41:05 +0100 | [diff] [blame] | 32 | source install-deps.sh |
| 33 | |
Ruslan Kashapov | aad2240 | 2021-02-23 10:08:00 +0200 | [diff] [blame] | 34 | # Execute all test-suites defined under plans subdirectory |
| 35 | for dir in plans/*/ |
| 36 | do |
| 37 | dir=${dir%*/} # remove the trailing / |
| 38 | ./run-csit.sh ${dir} ${TESTOPTIONS} |
| 39 | done |