File: make-check

package info (click to toggle)
mdds 3.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,828 kB
  • sloc: cpp: 21,913; exp: 6,696; makefile: 698; ansic: 616; python: 602; sh: 428; lisp: 8
file content (19 lines) | stat: -rwxr-xr-x 288 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

set -e
set -E

function cleanup() {
		dh_autoreconf_clean
		patch -p1 -R < debian/tests/patches/system-includes.diff
}

trap cleanup ERR

patch -p1 < debian/tests/patches/system-includes.diff
dh_autoreconf
aclocal && automake
dh_auto_configure
make -C example check

cleanup