File: unit-test

package info (click to toggle)
liboauth2 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,300 kB
  • sloc: ansic: 20,555; makefile: 190; sh: 13
file content (18 lines) | stat: -rw-r--r-- 480 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

exec 2>&1

autoreconf -i
./configure --disable-static
C_INCLUDE_PATH=/usr/include/apache2/ make

rm -f .libs/liboauth2.so*
ln -s /usr/lib/$(dpkg-architecture -qDEB_BUILD_MULTIARCH)/liboauth2.so .libs/
ln -s /usr/lib/$(dpkg-architecture -qDEB_BUILD_MULTIARCH)/liboauth2.so.? .libs/
ln -s /usr/lib/$(dpkg-architecture -qDEB_BUILD_MULTIARCH)/liboauth2.so.?.?.? .libs/

C_INCLUDE_PATH=/usr/include/apache2/ make check

cp -v test-suite.log "$AUTOPKGTEST_ARTIFACTS"