File: run_all_tests.sh

package info (click to toggle)
crun 1.26-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,356 kB
  • sloc: ansic: 70,844; python: 14,125; sh: 5,122; makefile: 928
file content (23 lines) | stat: -rwxr-xr-x 411 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

INIT=${INIT:-init}
OCI_RUNTIME=${OCI_RUNTIME:-/usr/bin/crun}

export INIT
export OCI_RUNTIME

rm -f -- *.trs

COLOR="no"
if [ -t 1 ]; then
    COLOR="yes"
fi

for i in test_*.py
do
    ./tap-driver.sh --test-name "$i" --log-file "$i.log" --trs-file "$i.trs" --color-tests "${COLOR}" --enable-hard-errors yes --expect-failure no -- /usr/bin/python "$i"
done

if grep FAIL -- *.trs; then
    exit 1
fi