Test commit
[cogito/jonas.git] / debian / helper-scripts / make-test
blob46a9ea0f826935142c3a970d938e9b74a4af671e
1 #!/bin/sh
3 # exit if any test fails
4 set -e
7 DSC=$(ls -1 ../*.dsc | sort | tail -1)
8 if [ -z "$DSC" ]; then
9 echo no .dsc file found
10 exit 1
13 DEB=$(ls -1 ../*.deb | sort | tail -1)
14 if [ -z "$DEB" ]; then
15 echo no .deb file found
16 exit 1
19 echo using .dsc file $DSC
20 echo using .deb file $DEB
23 dscverify --keyring ~/.gnupg/pubring.gpg $DSC
24 sudo pbuilder build $DSC
26 lintian -i $DEB
27 linda -i $DEB