#! /usr/bin/make
# this is the makefile for the wlus testsuite.
# To run the test invoke make.
# you can also run the testsuite manually.

#include ./config

# FIXME: i want to distinguish if the image exits allready and
# needs updating or if must be created from scratch.
rootstrap.img:
	rootstrap -o results/rootstrap.log rootstrap.img

test-stamp: rootstrap.img
	./testd -o results/testd.log
	run-parts ./tests
	touch test-stamp
	killall testd

clean:
	-rm -f rootstrap.img \
		tests-stamp \

all: tests-stamp



