# Copyright (c) 2009-2011 Centro Svizzero di Calcolo Scientifico (CSCS)
# Licensed under the GPLv2.
all: check

include ../build.mk

check: $(TARGET)
ifneq ($(shell which xtprocadmin),)
	diff -sy --suppress-common-lines <(./$< `xtprocadmin | sed 1d | awk '{print $$1}'`) <(xtprocadmin)
else
	# For performance optimisation
	time -p ./$<
endif
