Skip to content

Commit f354798

Browse files
stepanblyschakdaall
authored andcommitted
[tests] fix build agains real SAI (sonic-net#1123)
Signed-off-by: Stepan Blyschak <[email protected]>
1 parent 56d66a1 commit f354798

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/Makefile.am

+2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ CFLAGS_SAI = -I /usr/include/sai
22

33
TESTS = tests
44

5+
if !HAVE_SAI
56
SUBDIRS = mock_tests
7+
endif
68

79
noinst_PROGRAMS = tests
810

0 commit comments

Comments
 (0)