Loading testing/asn_process.py +3 −3 Original line number Diff line number Diff line Loading @@ -100,7 +100,7 @@ def compileAllTargets(asnFiles): :returns: A dict of outcome against the first filename of each compile target. Return code and message are included for failures. For each compile target (list of filenames) the first filename is assumed to be the "primary" file. This doesn't have any relavance to the compilation, to be the "primary" file. This doesn't have any relevance to the compilation, but will be used as the identifier when reporting any compile errors. The compilation is performed by the pycrate ASN compile functions; errors are caught as exceptions and rendered into a list. Loading Loading @@ -174,7 +174,7 @@ if __name__ == "__main__": logging.info(f"asn1c found at {asn1c_path}") if asn1c_path.lower().endswith("bat"): logging.info( f"asn1c is a batch file, so assume path separators need to be changed" "asn1c is a batch file, so assume path separators need to be changed" ) change_path_to_unix = True Loading @@ -199,7 +199,7 @@ if __name__ == "__main__": logging.info("Parsing ASN1 files") parseResults = syntaxCheckASN(parseFileList) if processResults(parseResults, "Parsing") > 0: exit(-1) exit(1) logging.info("Getting compile targets") asnFiles = asnConfig["asn_files"] Loading Loading
testing/asn_process.py +3 −3 Original line number Diff line number Diff line Loading @@ -100,7 +100,7 @@ def compileAllTargets(asnFiles): :returns: A dict of outcome against the first filename of each compile target. Return code and message are included for failures. For each compile target (list of filenames) the first filename is assumed to be the "primary" file. This doesn't have any relavance to the compilation, to be the "primary" file. This doesn't have any relevance to the compilation, but will be used as the identifier when reporting any compile errors. The compilation is performed by the pycrate ASN compile functions; errors are caught as exceptions and rendered into a list. Loading Loading @@ -174,7 +174,7 @@ if __name__ == "__main__": logging.info(f"asn1c found at {asn1c_path}") if asn1c_path.lower().endswith("bat"): logging.info( f"asn1c is a batch file, so assume path separators need to be changed" "asn1c is a batch file, so assume path separators need to be changed" ) change_path_to_unix = True Loading @@ -199,7 +199,7 @@ if __name__ == "__main__": logging.info("Parsing ASN1 files") parseResults = syntaxCheckASN(parseFileList) if processResults(parseResults, "Parsing") > 0: exit(-1) exit(1) logging.info("Getting compile targets") asnFiles = asnConfig["asn_files"] Loading