diff options
Diffstat (limited to 'plugins/agl_test_conf.py')
-rw-r--r-- | plugins/agl_test_conf.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/plugins/agl_test_conf.py b/plugins/agl_test_conf.py new file mode 100644 index 0000000..83f19f5 --- /dev/null +++ b/plugins/agl_test_conf.py @@ -0,0 +1,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 |