diff --git a/Makefile.am b/Makefile.am index fce812babf5..eb668fd03a0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -274,8 +274,8 @@ check_SCRIPTS+= $(dist_noinst_SCRIPTS) TESTS += $(check_SCRIPTS) test: check -tests/unit.log: testsuite/testsuite.log -scripts/unit.log: testsuite/testsuite.log +@BUILD_EXAMPLE_SERVERS_TRUE@tests/unit.log: testsuite/testsuite.log +@BUILD_EXAMPLE_SERVERS_TRUE@scripts/unit.log: testsuite/testsuite.log DISTCLEANFILES+= wolfssl-config diff --git a/testsuite/include.am b/testsuite/include.am index 97fe77ccdae..76723b1a150 100644 --- a/testsuite/include.am +++ b/testsuite/include.am @@ -3,7 +3,7 @@ # All paths should be given relative to the root -if BUILD_TESTS +if BUILD_EXAMPLE_SERVERS check_PROGRAMS += testsuite/testsuite.test noinst_PROGRAMS += testsuite/testsuite.test testsuite_testsuite_test_SOURCES = \