File: unit

package info (click to toggle)
libepubgen 0.1.1-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 2,572 kB
  • sloc: cpp: 8,042; sh: 4,553; makefile: 161; ansic: 23
file content (20 lines) | stat: -rwxr-xr-x 292 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

set -e
set -E

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

trap cleanup ERR

patch -p1 < debian/tests/patches/system-epubgen.diff
dh_autoreconf
dh_auto_configure
cd src/test && make check
cd ../..

cleanup