#!/bin/sh -e

pkg=ghmm

if [ "$AUTOPKGTEST_TMP" = "" ]; then

	AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXX`
	trap "rm -rf $AUTOPKG_TMP" 0 INT QUIT ABRT PIPE TERM

fi

cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"

cd $AUTOPKGTEST_TMP

make -f autopkgtest.mk run

# This is known to fail - see README.Debian
# python3 ghmm_test.py
