summaryrefslogtreecommitdiffstats
path: root/plugins/agl_test_conf.py
blob: 83f19f55e7ae03450c3fdca4193c360372acd241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#The dir of test_suits
WORK_DIR = "/usr/AGL/agl-test/tests/"

#The dir for saving log
BASE_LOGS_DIR = "/var/run/agl-test/logs/"

#The dir for tmp log
TMP_LOGS_DIR = BASE_LOGS_DIR + "tmp-log/"

#The dir for the file that will report
REPORT_LOGS_DIR = BASE_LOGS_DIR + "log-to-report/"

#The dir for tmp test report
TMP_TEST_REPORT = TMP_LOGS_DIR + "test-report/"

#Get the log file
def get_log_file(THIS_TEST):
    log_file = TMP_LOGS_DIR + THIS_TEST + "/log/" + THIS_TEST + ".log"
    return log_file