topbuilddir=. PROGRAM=sfxtest hextest inftest kilter psortex flatdbtest \ tbtreetest gendata memtest glisttest LIBRARY=libtedtools.a LIBOBJ=tlog.o tmalloc.o tools.o prs_hmap.o sfxstr.o \ regis.o prs_inf.o shmem.o tcp.o udp.o connpool.o \ psort.o flatdb.o tbtree.o glist.o include $(topbuilddir)/Makefile.global clean: clean-test clean-test: rm -rf sfxtest.log sfxtest.dump BTREE rm -rf results diffs temp test: all @[ -d results ] || mkdir results @[ -d diffs ] || mkdir diffs @[ -d temp ] || mkdir temp @for FILE in btree flatdb hex inf mem psort sfxmem glist ; do \ echo -n $$FILE " ........ " ; \ if sh tests/$$FILE > results/$$FILE 2>results/$$FILE.errout && diff -c expected/$$FILE results/$$FILE > diffs/$$FILE ; then \ echo ok ; \ else \ echo FAILED ; \ fi ; \ done