From ed384882117696d4ff110e46bc60ebe9ac304974 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Mon, 30 Apr 2018 14:42:29 -0700 Subject: Test: Add unittests. Note that these require the "test-programs" target. Change-Id: I1bea381eaa48504fcd76f88e1c6f2edece0a78a2 Reviewed-on: https://code.wireshark.org/review/27231 Petri-Dish: Gerald Combs Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index ced9cb339d..9add94da3d 100755 --- a/debian/rules +++ b/debian/rules @@ -35,6 +35,10 @@ override_dh_auto_build: $(MAKE) -C $(CURDIR)/obj-* user_guide_html developer_guide_html # fix links in documentation sed -i "s|$(CURDIR)/docbook|..|" obj-*/docbook/ws*g_html_chunked/*.html +ifneq ($(filter $(DEB_BUILD_OPTIONS),nocheck),) + # Required for the "unittests" suite. + $(MAKE) -C $(CURDIR)/obj-* test-programs +endif override_dh_strip: dh_strip --dbg-package=wireshark-dbg -- cgit v1.2.3