#!/bin/sh
set -e

SRCDIR=$(dirname $(realpath $0))
cd $AUTOPKGTEST_TMP
gcc -Wall -Werror -pedantic -std=c90 -o test-libepub $SRCDIR/test-libepub.c -lepub
./test-libepub "$SRCDIR/wasteland-20170606.epub"
