File: check-all

package info (click to toggle)
vmdb2 0.41-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 572 kB
  • sloc: python: 2,591; sh: 151; makefile: 17
file content (21 lines) | stat: -rwxr-xr-x 308 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

set -euo pipefail

hideok=chronic
if ! command -v chronic >/dev/null; then
	hideok=
fi
if [ "$#" -gt 0 ] && [ "$1" = -v ]; then
	hideok=
	shift
fi

cachedir="$1"

cd "$(dirname "$0")"
$hideok ./check
$hideok ./check-images "$cachedir"
$hideok ./check-external "$cachedir"

echo "All tests PASS"