4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change
on this file since d0906e7 was
d0906e7,
checked in by Perry Lorier <perry@…>, 15 years ago
|
Added more test cases
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | |
---|
2 | PREFIX=../ |
---|
3 | CC=gcc |
---|
4 | |
---|
5 | INCLUDE = -I$(PREFIX)/lib |
---|
6 | CFLAGS = -Wall -Wimplicit -Wformat -pipe -g -O2 -D_FILE_OFFSET_BITS=64 \ |
---|
7 | -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE |
---|
8 | CFLAGS += $(INCLUDE) |
---|
9 | libdir = $(PREFIX)/lib/.libs |
---|
10 | LDLIBS = -L$(libdir) -ltrace |
---|
11 | |
---|
12 | BINS = test-pcap-bpf test-event test-time test-seek |
---|
13 | |
---|
14 | .PHONY: all clean distclean install depend test |
---|
15 | |
---|
16 | all: $(BINS) |
---|
17 | |
---|
18 | test: all test-format-all test-convert-all |
---|
19 | @for i in $(BINS); do \ |
---|
20 | echo \* $$i; \ |
---|
21 | LD_LIBRARY_PATH=$(libdir) \ |
---|
22 | ./$$i || exit $$?; \ |
---|
23 | done |
---|
24 | @echo All tests passed |
---|
25 | |
---|
26 | test-format-all: test-format |
---|
27 | @for i in erf pcap wtf ; do \ |
---|
28 | echo \* $$i; \ |
---|
29 | LD_LIBRARY_PATH=$(libdir) \ |
---|
30 | ./test-format $$i || exit $$?; \ |
---|
31 | done |
---|
32 | |
---|
33 | test-convert-all: test-convert |
---|
34 | @for i in erf pcap wtf rtclient; do \ |
---|
35 | for j in erf pcap ; do \ |
---|
36 | echo \* $$i -\> $$j; \ |
---|
37 | ./test-convert $$i $$j || exit $$?; \ |
---|
38 | done; \ |
---|
39 | done |
---|
40 | ./test-convert wtf wtf |
---|
41 | |
---|
42 | |
---|
43 | clean: |
---|
44 | $(RM) $(BINS) $(OBJS) |
---|
45 | |
---|
46 | distclean: |
---|
47 | $(RM) $(BINS) $(OBJS) |
---|
48 | |
---|
49 | install: |
---|
50 | @true |
---|
51 | |
---|
52 | # vim: noet ts=8 sw=8 |
---|
Note: See
TracBrowser
for help on using the repository browser.