Ignore:
Timestamp:
Aug 7, 2018, 3:23:34 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
575a6e5
Parents:
524ed86
Message:

Tests can now be run from installed binaries or tree binaries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/pybin/settings.py

    r524ed86 ra5121bf  
    6767                self.flags  = """DEBUG_FLAGS="%s" """ % ("-debug" if value else "-nodebug")
    6868
     69class Install:
     70        def __init__(self, value):
     71                self.string = "installed" if value else "in-tree"
     72                self.flags  = """INSTALL_FLAGS="%s" """ % ("" if value else "-in-tree")
     73
    6974def init( options ):
    7075        global arch
     
    7378        global make
    7479        global debug
    75         global debugFlag
     80        global install
    7681
    7782        dry_run    = options.dry_run
     
    7984        make       = 'make'
    8085        debug        = Debug(options.debug)
     86        install    = Install(options.install)
    8187        arch       = Architecture(options.arch)
    8288
Note: See TracChangeset for help on using the changeset viewer.