File: check

package info (click to toggle)
libevdev 1.13.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie, trixie-proposed-updates, trixie-updates
  • size: 2,768 kB
  • sloc: ansic: 9,969; sh: 4,612; makefile: 212; python: 178; xml: 171; javascript: 53
file content (27 lines) | stat: -rwxr-xr-x 561 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh

# Copy the package source somewhere safe
source=${0%/*}/../..
build=$(mktemp -d --tmpdir=${AUTOPKGTEST_TMP})
cp -a ${source}/* ${build}/
cd ${build}

# Deconfigure if necessary (running in a copy of a built tree)
if [ -f debian/autoreconf.before ]; then
  dh_autoreconf_clean
fi

# Enforce the use of the installed binaries
patch -p1 < debian/patches/use-system-libevdev-for-tests.patch

# Reconfigure
dh_autoreconf
dh_auto_configure

# Run the tests
make check

# Log the test output
if [ -f test/test-suite.log ]; then
  cat test/test-suite.log
fi