File: run

package info (click to toggle)
cockpit-podman 121-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 277,516 kB
  • sloc: javascript: 695,995; cpp: 11,141; python: 7,835; sh: 923; makefile: 156; xml: 90
file content (23 lines) | stat: -rwxr-xr-x 563 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /bin/bash
# This is the expected entry point for Cockpit CI; will be called without
# arguments but with an appropriate $TEST_OS

set -eu

export RUN_TESTS_OPTIONS=--track-naughties

TEST_SCENARIO=${TEST_SCENARIO:-}
[ "${TEST_SCENARIO}" = "${TEST_SCENARIO##firefox}" ] || export TEST_BROWSER=firefox

if [[ "${TEST_SCENARIO}" =~ "copr" ]]; then
    export TEST_COPR="${TEST_SCENARIO#*copr/}"
    TEST_SCENARIO="${TEST_SCENARIO%%/copr*}"
fi

if [ "$TEST_SCENARIO" == "devel" ]; then
    export TEST_COVERAGE=yes
fi

make codecheck
make check
make po/podman.pot