summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/heimdal_build/wscript_build4
-rw-r--r--source4/selftest/wscript18
-rw-r--r--source4/wscript2
3 files changed, 22 insertions, 2 deletions
diff --git a/source4/heimdal_build/wscript_build b/source4/heimdal_build/wscript_build
index 3a66f57fbd..35f09af29d 100644
--- a/source4/heimdal_build/wscript_build
+++ b/source4/heimdal_build/wscript_build
@@ -280,8 +280,8 @@ bld.SAMBA_BINARY('compile_et',
'../heimdal/lib/vers/print_version.c ../heimdal/lib/com_err/parse.c ../heimdal/lib/com_err/lex.c ../heimdal/lib/com_err/compile_et.c',
use_hostcc=True,
group='build_compilers',
- cflags='-DSOCKET_WRAPPER_DISABLE=1 -DNSS_WRAPPER_DISABLE=1',
- deps='HEIMDAL_ROKEN_H'
+ cflags='-DSOCKET_WRAPPER_DISABLE=1 -DNSS_WRAPPER_DISABLE=1 -D_SAMBA_HOSTCC_ -I../heimdal_build',
+ deps='HEIMDAL_ROKEN_H replace'
)
diff --git a/source4/selftest/wscript b/source4/selftest/wscript
new file mode 100644
index 0000000000..8327838366
--- /dev/null
+++ b/source4/selftest/wscript
@@ -0,0 +1,18 @@
+# selftest main code.
+
+########################################################################
+# main test entry point
+def cmd_test(opt):
+ '''Run the full test suite'''
+ print "Starting full test"
+
+########################################################################
+# main test entry point
+def cmd_quicktest(opt):
+ '''Run the quick test suite'''
+ print "Starting quick test"
+
+def set_options(opt):
+ opt.ADD_COMMAND('test', cmd_test)
+ opt.ADD_COMMAND('quicktest', cmd_quicktest)
+
diff --git a/source4/wscript b/source4/wscript
index 211f30b157..a72c16c9e2 100644
--- a/source4/wscript
+++ b/source4/wscript
@@ -7,6 +7,8 @@ LIBLDB_DIR= srcdir + '/source4/lib/ldb'
def set_options(opt):
opt.recurse(LIBREPLACE_DIR)
opt.recurse(LIBLDB_DIR)
+ opt.recurse('selftest')
+
def configure(conf):
conf.DEFINE('_SAMBA_BUILD_', 4)