From c6532ff40ed9f56ab8532882200ed1d005fdda31 Mon Sep 17 00:00:00 2001 From: MyungJoo Ham Date: Mon, 5 Jul 2021 11:50:09 +0900 Subject: [PATCH] Debian: skip SSAT for Debian We have not duploaded SSAT for Debian. Skip SSAT for Debian. Signed-off-by: MyungJoo Ham --- debian/control.debian | 2 +- debian/rules | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/control.debian b/debian/control.debian index b1c0564..30c8872 100644 --- a/debian/control.debian +++ b/debian/control.debian @@ -6,7 +6,7 @@ Build-Depends: gcc-9 | gcc-8 | gcc-7 | gcc-6 | gcc-5 (>=5.4), ninja-build, meson (>=0.49), debhelper (>=9), libgstreamer1.0-dev, libgstreamer-plugins-base1.0-dev, libglib2.0-dev, gstreamer1.0-tools, gstreamer1.0-plugins-base, gstreamer1.0-plugins-good, - libgtest-dev, ssat, libpng-dev, libopencv-dev, liborc-0.4-dev, flex, bison, + libgtest-dev, libpng-dev, libopencv-dev, liborc-0.4-dev, flex, bison, python, python3, python3-dev, python3-numpy, python2.7-dev, libflatbuffers-dev, flatbuffers-compiler, protobuf-compiler (>=3.12), libprotobuf-dev [amd64 arm64 armhf], diff --git a/debian/rules b/debian/rules index 23778e1..baff3a7 100755 --- a/debian/rules +++ b/debian/rules @@ -43,7 +43,11 @@ override_dh_auto_build: override_dh_auto_test: ./packaging/run_unittests_binaries.sh ./tests +ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes), yes) cd tests && ssat -n -p=1 && cd .. +else + echo "Skipping SSAT test because it's not in Debian." +endif override_dh_auto_install: DESTDIR=$(CURDIR)/debian/tmp ninja -C ${BUILDDIR} install -- 2.7.4