Loading scripts/parse_commands.py +4 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ if __name__ == '__main__': cmds_rend = re.findall(r'Running command\s*\n\s*(\S.*)', report, re.MULTILINE) cmds_isar_post_rend = re.findall(r'Running ISAR post renderer command\s*\n\s*(\S.*)', report, re.MULTILINE) # Depending on pytest-html version, the data may be in a json-blob. If so, the code below should handle this format. if all(not x for x in [cmds_enc, cmds_dec, cmds_rend, cmds_isar_post_rend]): lines = re.split(r'\\n', report) enc_cmd = False Loading Loading @@ -110,6 +110,9 @@ if __name__ == '__main__': arg = path.relpath(arg).replace('\\','/') arg = re.sub('IVAS_dec_ref(.exe)?', '$CUT_DEC_BIN', arg) arg = re.sub('scripts', TESTV_PATH, arg) # Identify input files if '.txt' in arg: arg = re.sub('tests', REF_PATH, arg) # Decoder configuration file -- input file if 'dectrace' in arg: arg = re.sub('tests', CUT_PATH, arg) # dectrace output files occur before the input file if 'tests' in arg: Loading Loading
scripts/parse_commands.py +4 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ if __name__ == '__main__': cmds_rend = re.findall(r'Running command\s*\n\s*(\S.*)', report, re.MULTILINE) cmds_isar_post_rend = re.findall(r'Running ISAR post renderer command\s*\n\s*(\S.*)', report, re.MULTILINE) # Depending on pytest-html version, the data may be in a json-blob. If so, the code below should handle this format. if all(not x for x in [cmds_enc, cmds_dec, cmds_rend, cmds_isar_post_rend]): lines = re.split(r'\\n', report) enc_cmd = False Loading Loading @@ -110,6 +110,9 @@ if __name__ == '__main__': arg = path.relpath(arg).replace('\\','/') arg = re.sub('IVAS_dec_ref(.exe)?', '$CUT_DEC_BIN', arg) arg = re.sub('scripts', TESTV_PATH, arg) # Identify input files if '.txt' in arg: arg = re.sub('tests', REF_PATH, arg) # Decoder configuration file -- input file if 'dectrace' in arg: arg = re.sub('tests', CUT_PATH, arg) # dectrace output files occur before the input file if 'tests' in arg: Loading