Attempt to run upstream self-tests from autopkgtest.
Simon Josefsson
3 years ago
1 | 1 |
|
2 | 2 |
* Add Texinfo HTML and GTK-DOC API manual to gsasl-doc.
|
3 | 3 |
- Move texinfo from B-D to B-D-I. Add B-D-I's for docs.
|
4 | |
|
5 | |
-- Simon Josefsson <simon@josefsson.org> Sun, 10 Jan 2021 20:49:11 +0100
|
|
4 |
* Attempt to run upstream self-tests from autopkgtest.
|
|
5 |
|
|
6 |
-- Simon Josefsson <simon@josefsson.org> Tue, 19 Jan 2021 22:58:07 +0100
|
6 | 7 |
|
7 | 8 |
gsasl (1.10.0-3) unstable; urgency=low
|
8 | 9 |
|
2 | 2 |
|
3 | 3 |
Tests: gsasl
|
4 | 4 |
Depends: build-essential, gsasl, man
|
|
5 |
Restrictions: superficial
|
3 | 3 |
|
4 | 4 |
WORKDIR=$(mktemp -d)
|
5 | 5 |
trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
|
|
6 |
|
|
7 |
gcc -o $WORKDIR/foo tests/errors.c `pkg-config --cflags --libs libgsasl`
|
|
8 |
$WORKDIR/foo
|
|
9 |
|
|
10 |
touch $WORKDIR/config.h
|
|
11 |
for f in $(ls tests/*.c | grep -v -e old-base64.c -e errors.c -e utils.c); do
|
|
12 |
gcc -I$WORKDIR -o $WORKDIR/foo $f tests/utils.c `pkg-config --cflags --libs libgsasl`
|
|
13 |
env MD5FILE=tests/cram-md5.pwd $WORKDIR/foo
|
|
14 |
done
|
|
15 |
|
6 | 16 |
cd $WORKDIR
|
7 | 17 |
cat <<EOF > libgsasltest.c
|
8 | 18 |
#include <gsasl.h>
|