Skip to content

Commit

Permalink
selftest/wscript: update to handle waf 2.0.4
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Bokovoy <[email protected]>
Reviewed-by: Andrew Bartlett <[email protected]>
  • Loading branch information
abbra authored and abartlet committed Sep 5, 2018
1 parent fa1ca71 commit 0de67cf
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions selftest/wscript
Original file line number Diff line number Diff line change
Expand Up @@ -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)"),
Expand Down

0 comments on commit 0de67cf

Please sign in to comment.