summaryrefslogtreecommitdiffstats
path: root/testsuite/unittests/wscript
blob: 10ab024e439960b4b64d128ee6604f5636fe2a56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/env python

import os

def configure(conf):
    return

def build(bld):
    bld.SAMBA_BINARY('test_krb5samba',
                     source='test_krb5_samba.c',
                     deps='krb5samba cmocka',
                     for_selftest=True)

    bld.SAMBA_BINARY('test_lib_util_modules',
                     source='test_lib_util_modules.c',
                     deps='''
                          samba-modules
                          cmocka
                          ''',
                     for_selftest=True)

    bld.SAMBA_BINARY('test_background_send',
                     source='test_background_send.c',
                     deps='''
                     samba3core
                     ''',
                     for_selftest=True)

    bld.SAMBA_MODULE('rpc_test_dummy_module',
                     source='rpc_test_dummy_module.c',
                     deps='ndr smbd_base RPC_SERVICE RPC_SOCK_HELPER',
                     subsystem='rpc',
                     allow_undefined_symbols=True,
                     init_function='',
                     internal_module=False,
                     install=False)