aboutsummaryrefslogtreecommitdiff
path: root/support/scripts/generate-gitlab-ci-yml
blob: 431911d370d4565f2cf7d4ba72e88a35331b1943 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env bash
set -e
set -o pipefail

input="${1}"

cat "${input}"

(
    cd configs
    LC_ALL=C ls -1 *_defconfig
) \
    | sed 's/$/: *defconfig/'

./support/testing/run-tests -l 2>&1 \
    | sed -r -e '/^test_run \((.*)\).*/!d; s//\1: *runtime_test/' \
    | LC_ALL=C sort