X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=validation.git;a=blobdiff_plain;f=bluval%2Fbluval.py;h=c79c83031d0d6065ef55b0566ed8ebcef36e4a82;hp=feefa5e7250d9556f16e1267006f8fa0772d499b;hb=1f7ada0865727ed7500eaac39b47cfb20ac1ad78;hpb=eb96309129a571f0dcdb47df79794a2185f2420b diff --git a/bluval/bluval.py b/bluval/bluval.py index feefa5e..c79c830 100644 --- a/bluval/bluval.py +++ b/bluval/bluval.py @@ -59,11 +59,12 @@ def run_testcase(testcase): variables_file = mypath.parents[1].joinpath("tests/variables.yaml") variables_dict = yaml.safe_load(variables_file.open()) variables_dict['log_path'] = str(results_path) - variables_file.write_text(str(variables_dict)) + variables_updated_file = mypath.parents[1].joinpath("tests/variables_updated.yaml") + variables_updated_file.write_text(str(variables_dict)) # run the test - args = ["robot", "-V", str(variables_file), "-d", - str(results_path), str(test_path)] + args = ["robot", "-V", str(variables_updated_file), "-d", str(results_path), + "-b", "debug.log", str(test_path)] print('Executing testcase {}'.format(name)) print('show_stopper {}'.format(show_stopper))