File: make-check

package info (click to toggle)
mdds 3.1.0-4
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 6,068 kB
  • sloc: cpp: 20,809; sh: 1,369; makefile: 624; python: 603
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