Codebase list gsasl / 1b0e0ea
Attempt to run upstream self-tests from autopkgtest. Simon Josefsson 3 years ago
3 changed file(s) with 14 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
11
22 * Add Texinfo HTML and GTK-DOC API manual to gsasl-doc.
33 - 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
67
78 gsasl (1.10.0-3) unstable; urgency=low
89
22
33 Tests: gsasl
44 Depends: build-essential, gsasl, man
5 Restrictions: superficial
33
44 WORKDIR=$(mktemp -d)
55 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
616 cd $WORKDIR
717 cat <<EOF > libgsasltest.c
818 #include <gsasl.h>