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