diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-17 20:38:03 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:26:38 +1000 |
commit | f15a81c1c02426a5afe59a364d00438f06a10501 (patch) | |
tree | 6baef231fb0342e7c2985fb5ea731ad810b62e93 /source4 | |
parent | e3ae80a2f70f3ed473b06d0f40fb33e993f86461 (diff) | |
download | samba-f15a81c1c02426a5afe59a364d00438f06a10501.tar.gz samba-f15a81c1c02426a5afe59a364d00438f06a10501.tar.bz2 samba-f15a81c1c02426a5afe59a364d00438f06a10501.zip |
build: added ASN1, PIDL and ET build rules
also added selftest example command
Diffstat (limited to 'source4')
-rw-r--r-- | source4/heimdal_build/wscript_build | 4 | ||||
-rw-r--r-- | source4/selftest/wscript | 18 | ||||
-rw-r--r-- | source4/wscript | 2 |
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) |