From f3547983a1e2c67bdacb4e87593e65f20b483d8e Mon Sep 17 00:00:00 2001 From: Stepan Blyshchak <38952541+stepanblyschak@users.noreply.github.com> Date: Sat, 9 Nov 2019 03:36:23 +0200 Subject: [PATCH] [tests] fix build agains real SAI (#1123) Signed-off-by: Stepan Blyschak --- tests/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Makefile.am b/tests/Makefile.am index 0196e0a1a222..0b6831be9799 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -2,7 +2,9 @@ CFLAGS_SAI = -I /usr/include/sai TESTS = tests +if !HAVE_SAI SUBDIRS = mock_tests +endif noinst_PROGRAMS = tests