#!/bin/sh cd $TDIR # we need to compile stuff in t/ # redirect STDERR to STDOUT, autopkgtest fails otherwise perl Build.PL ./Build 2>&1 ./Build test 2>&1 # and now remove everything except t/ # before `smoke' is run find . -maxdepth 1 -type f -delete rm -r blib/ lib/ inc/ hax/ include/ share/ src/ _build/