mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-26 17:51:26 -05:00

============================================================ This is intended to be a completely independent library from RS, (hosted at sf.net/projects/bitdht) hence is being commited at the top level. As initial further development / testing will be driven by RS integration it is being added to the RS repository. Equally important is ensuring that RS can compile without requiring aux libraries. Once libbitdht is further developed, this section of the repository is expected to be removed... But that will not be for a while, I expect. drbob. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3276 b45a01b8-16f6-495d-af2f-9b41ad6348cc
26 lines
464 B
Makefile
26 lines
464 B
Makefile
|
|
testoutputfiles = $(foreach tt,$(1),$(tt).tstout)
|
|
|
|
%.tstout : %.sh
|
|
-sh ./$< > $@ 2>&1
|
|
|
|
%.tstout : %
|
|
-./$< > $@ 2>&1
|
|
|
|
TESTOUT = $(call testoutputfiles,$(TESTS))
|
|
|
|
.phony : tests regress retest clobber
|
|
|
|
tests: $(TESTS)
|
|
|
|
regress: $(TESTOUT)
|
|
@-echo "--------------- SUCCESS (count):"
|
|
@-grep -c SUCCESS $(TESTOUT)
|
|
@-echo "--------------- FAILURE REPORTS:"
|
|
@-grep FAILURE $(TESTOUT) || echo no failures
|
|
@-echo "--------------- end"
|
|
|
|
retest:
|
|
-/bin/rm $(TESTOUT)
|
|
|