OOPS
|
Variables | |
refFile = str(sys.argv[1]) | |
runFile = str(sys.argv[2]) | |
yamlFile = str(sys.argv[3]) | |
ref_file = f.read() | |
run_file = f.read() | |
dictionary | ref_file_dict = {} |
key = item.split(' ')[0] | |
val = float(item.split(' ')[2]) | |
dictionary | run_file_dict = {} |
config_data = yaml.load(f) | |
string | status = "pass" |
TestName = tests['TestName'] | |
Tol = tests['Tolerance'] | |
dictionary | time_ref = ref_file_dict.get(TestName) |
dictionary | time_run = run_file_dict.get(TestName) |
int | rdiff = 100*(abs(float(time_ref) - float(time_run))/float(time_ref)) |
Comparison of two CTestCostData.txt based on configurations in the given yaml file. run_time_test.py ref_costdata.txt run_costdata.txt test_time.yaml
run_time_test.config_data = yaml.load(f) |
Definition at line 40 of file run_time_test.py.
run_time_test.key = item.split(' ')[0] |
Definition at line 27 of file run_time_test.py.
Definition at line 51 of file run_time_test.py.
run_time_test.ref_file = f.read() |
Definition at line 19 of file run_time_test.py.
dictionary run_time_test.ref_file_dict = {} |
Definition at line 24 of file run_time_test.py.
run_time_test.refFile = str(sys.argv[1]) |
Definition at line 14 of file run_time_test.py.
run_time_test.run_file = f.read() |
Definition at line 22 of file run_time_test.py.
dictionary run_time_test.run_file_dict = {} |
Definition at line 31 of file run_time_test.py.
run_time_test.runFile = str(sys.argv[2]) |
Definition at line 15 of file run_time_test.py.
string run_time_test.status = "pass" |
Definition at line 42 of file run_time_test.py.
run_time_test.TestName = tests['TestName'] |
Definition at line 45 of file run_time_test.py.
dictionary run_time_test.time_ref = ref_file_dict.get(TestName) |
Definition at line 47 of file run_time_test.py.
dictionary run_time_test.time_run = run_file_dict.get(TestName) |
Definition at line 48 of file run_time_test.py.
run_time_test.Tol = tests['Tolerance'] |
Definition at line 46 of file run_time_test.py.
run_time_test.val = float(item.split(' ')[2]) |
Definition at line 28 of file run_time_test.py.
run_time_test.yamlFile = str(sys.argv[3]) |
Definition at line 16 of file run_time_test.py.