summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/makefile.pm
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/smb_build/makefile.pm')
-rw-r--r--source4/build/smb_build/makefile.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 98d70f6c1c..ed06e7265d 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -154,7 +154,12 @@ test: @DEFAULT_TEST_TARGET@
test-swrap: all
export SOCKET_WRAPPER_DIR=.
+ifeq (@HAVE_SOCKET_WRAPPER@,yes)
./script/tests/selftest.sh `pwd`/prefix-test
+else
+ echo "Socket wrapper not built in, unable to run test-swrap"
+ exit 1
+endif
test-noswrap: all
./script/tests/selftest.sh `pwd`/prefix-test