source: roaraudio/tests/Makefile @ 4523:c263513b053a

Last change on this file since 4523:c263513b053a was 4523:c263513b053a, checked in by phi, 14 years ago

added new test system RAT

File size: 1016 bytes
RevLine 
[1407]1include ../Makefile.conf
2
[2573]3CLIENTS=roar-config roarbidir roarcat roarcat2sock roarcatad roarcatpassfh roarcatplay roarcatsendfile roarcatvio roarctl roarfilt roarmon roarradio roarshout roarsin roarsockconnect roarsocktypes roartypes roarvorbis roarvumeter roarinterconnect roarlight roarphone
[1407]4
5
6all:
7        echo Warning: There is nothing to build
[3163]8clean: sandbox-clean
[4523]9        rm -f *.o rat-*
[1407]10
11new: clean all
12
[3163]13#test: sandbox-install test-all sandbox-clean
[3186]14test: sandbox-clean sandbox-install test-all sandbox-clean
[3163]15
[4523]16test-all: test-runnable test-roard test-rat
[1407]17
18test-runnable:
[3893]19        PREFIX_BIN=$(PREFIX_BIN) PREFIX_LIB=$(PREFIX_LIB) EXEC_HELPER=$(EXEC_HELPER) ./test-runnable.sh "$(CLIENTS)"
[1412]20test-roard:
[3893]21        PREFIX_BIN=$(PREFIX_BIN) PREFIX_LIB=$(PREFIX_LIB) EXEC_HELPER=$(EXEC_HELPER) ./test-roard.sh
[4523]22
23test-rat: rat.o test-rat.o
24        $(CC) -Wall -Wextra -O2 -g -o rat-rat rat.o test-rat.o
25        ./rat-rat
26
27
28sandbox-install: sandbox
29sandbox:
[3163]30        mkdir sandbox
[3757]31        sh -c 'cd ..; DESTDIR=`pwd`/tests/sandbox $(MAKE) install'
[3163]32sandbox-clean:
33        rm -rf sandbox/
Note: See TracBrowser for help on using the repository browser.