File: make-check

package info (click to toggle)
mdds 3.2.0-4
  • links: PTS
  • area: main
  • in suites: experimental
  • size: 6,372 kB
  • sloc: cpp: 21,777; sh: 1,369; makefile: 692; python: 602
file content (19 lines) | stat: -rwxr-xr-x 288 bytes parent folder | download | duplicates (7)
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