1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

selftest/wscript: update to handle waf 2.0.4

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Alexander Bokovoy 2018-02-02 16:34:32 +02:00 committed by Andrew Bartlett
parent fa1ca71354
commit 0de67cf1c7

View File

@ -3,14 +3,19 @@
# selftest main code.
import Scripting, os, Options, Utils, Environment, optparse, sys
import sys
import os
import optparse
from waflib import Scripting, Options, Utils
from waflib.ConfigSet import ConfigSet as Environment
from samba_utils import *
from samba_autoconf import *
import types
DEFAULT_SELFTEST_PREFIX="./st"
def set_options(opt):
def options(opt):
opt.add_option('--enable-selftest',
help=("enable options necessary for selftest (default=no)"),