summaryrefslogtreecommitdiffstats
path: root/selftest/_prep.py
blob: 3ef6e811908f90cb1a3271b6ee968bcf4f0aad8c (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.TestsTarget()
log.set_all_levels(log.L_DBG)

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