aboutsummaryrefslogtreecommitdiffstats
path: root/selftest/_prep.py
blob: e89c5a70967ba9309ea26353c7c4c330dd21000f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import sys, os

script_dir = sys.path[0]
top_dir = os.path.join(script_dir, '..')
src_dir = os.path.join(top_dir, 'src')

# to find the osmo_gsm_tester py module
sys.path.append(src_dir)

from osmo_gsm_tester import log

log.targets = [ log.TestsTarget() ]
log.set_all_levels(log.L_DBG)

if '-v' in sys.argv:
    log.style_change(trace=True)