Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | From 7b259580800e259d232229dc89f97058b56e2fe8 Mon Sep 17 00:00:00 2001 |
| 2 | From: "Hongjun.Yang" <hongjun.yang@windriver.com> |
| 3 | Date: Wed, 22 Oct 2014 10:02:48 +0800 |
| 4 | Subject: [PATCH] Add ptest for tcpdump |
| 5 | |
| 6 | Upstream-Status: Pending |
| 7 | |
| 8 | Signed-off-by: Hongjun.Yang <hongjun.yang@windriver.com> |
| 9 | --- |
| 10 | Makefile.in | 10 +++++++++- |
| 11 | 1 file changed, 9 insertions(+), 1 deletion(-) |
| 12 | |
| 13 | diff --git a/Makefile.in b/Makefile.in |
| 14 | index 8c35a45..4fb8ae6 100644 |
| 15 | --- a/Makefile.in |
| 16 | +++ b/Makefile.in |
| 17 | @@ -428,9 +428,17 @@ distclean: |
| 18 | tests/failure-outputs.txt |
| 19 | rm -rf autom4te.cache tests/DIFF tests/NEW |
| 20 | |
| 21 | -check: tcpdump |
| 22 | +buildtest-TESTS: tcpdump |
| 23 | + |
| 24 | +runtest-PTEST: |
| 25 | (cd tests && ./TESTrun.sh) |
| 26 | |
| 27 | +install-ptest: |
| 28 | + cp -r tests $(DESTDIR) |
| 29 | + cp -r config.h $(DESTDIR) |
| 30 | + install -m 0755 Makefile $(DESTDIR) |
| 31 | + ln -sf /usr/sbin/tcpdump $(DESTDIR)/tcpdump |
| 32 | + |
| 33 | tags: $(TAGFILES) |
| 34 | ctags -wtd $(TAGFILES) |
| 35 | |
| 36 | -- |
| 37 | 1.9.1 |
| 38 | |