mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-06 01:55:34 -05:00
4e56166e3f
the TOU interface no longer supports multiple sockets.. all the connections are attached to the same UdpStack. Multiple sockets will be re-introduced in the next TOU iteration. At that point the remaining tests will be fixed up. * tweaked regress.mk * added scripts to launch tests. * replaced UdpLayer with UdpStacks. * only two proper tests: udp_server (passes), test_tou (fails) git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4341 b45a01b8-16f6-495d-af2f-9b41ad6348cc
26 lines
466 B
Makefile
26 lines
466 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)
|
|
|