3 PROGRAM=sfxtest hextest inftest kilter psortex flatdbtest \
4 tbtreetest gendata memtest glisttest prstest
7 LIBOBJ=tlog.o tmalloc.o tools.o prs_hmap.o sfxstr.o \
8 regis.o prs_inf.o shmem.o tcp.o udp.o connpool.o \
9 psort.o flatdb.o tbtree.o glist.o
11 include $(topbuilddir)/Makefile.global
16 rm -rf sfxtest.log sfxtest.dump BTREE
17 rm -rf results diffs temp
20 @[ -d results ] || mkdir results
21 @[ -d diffs ] || mkdir diffs
22 @[ -d temp ] || mkdir temp
23 @for FILE in btree flatdb hex inf mem psort sfxmem glist prsqs ; do \
24 echo -n $$FILE " ........ " ; \
25 if sh tests/$$FILE > results/$$FILE 2>results/$$FILE.errout && diff -c expected/$$FILE results/$$FILE > diffs/$$FILE ; then \