File: run

package info (click to toggle)
cockpit-files 36-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 268,488 kB
  • sloc: javascript: 695,004; cpp: 11,141; python: 7,742; sh: 830; makefile: 158; xml: 89
file content (17 lines) | stat: -rwxr-xr-x 451 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh
set -eu

# This is the expected entry point for Cockpit CI; will be called without
# arguments but with an appropriate $TEST_OS, and optionally $TEST_SCENARIO

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

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

make codecheck
make check
make po/files.pot