blob: b71435a0430d7ace3f0e3eb3431a8f23a9de3a66 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From 8ee1ab1ac89557d48ac1ab7ddcc3c51be9b734ad Mon Sep 17 00:00:00 2001
Patrick Williamsb48b7b42016-08-17 15:04:38 -05002From: "Hongjun.Yang" <hongjun.yang@windriver.com>
3Date: Wed, 22 Oct 2014 10:02:48 +0800
4Subject: [PATCH] Add ptest for tcpdump
5
6Upstream-Status: Pending
7
8Signed-off-by: Hongjun.Yang <hongjun.yang@windriver.com>
Brad Bishop316dfdd2018-06-25 12:45:53 -04009
Patrick Williamsb48b7b42016-08-17 15:04:38 -050010---
11 Makefile.in | 10 +++++++++-
12 1 file changed, 9 insertions(+), 1 deletion(-)
13
Brad Bishop316dfdd2018-06-25 12:45:53 -040014diff --git a/Makefile.in b/Makefile.in
15index 0941f0e..3ce40c6 100644
16--- a/Makefile.in
17+++ b/Makefile.in
18@@ -437,9 +437,17 @@ distclean:
Patrick Williamsb48b7b42016-08-17 15:04:38 -050019 tests/failure-outputs.txt
20 rm -rf autom4te.cache tests/DIFF tests/NEW
21
22-check: tcpdump
23+buildtest-TESTS: tcpdump
24+
25+runtest-PTEST:
26 (cd tests && ./TESTrun.sh)
27
28+install-ptest:
Brad Bishop7f28bc52017-12-03 23:42:40 -050029+ cp -r tests $(DESTDIR)
30+ cp -r config.h $(DESTDIR)
31+ install -m 0755 Makefile $(DESTDIR)
32+ ln -sf /usr/sbin/tcpdump $(DESTDIR)/tcpdump
Patrick Williamsb48b7b42016-08-17 15:04:38 -050033+
Brad Bishop7f28bc52017-12-03 23:42:40 -050034 extags: $(TAGFILES)
35 ctags $(TAGFILES)
Patrick Williamsb48b7b42016-08-17 15:04:38 -050036