Skip to content

Commit

Permalink
Adding a flag to the integration tests to not build xml_converter bef…
Browse files Browse the repository at this point in the history
…ore running them
  • Loading branch information
AsherGlick committed Jan 20, 2025
1 parent 728a70b commit 4cb5248
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xml_converter/integration_tests/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ def main() -> bool:
parser = argparse.ArgumentParser(description="A test harness for evaluating the output of the xmlconverter program.")
parser.add_argument("-v", "--verbose", help="Prints the results from xmlconverter in JSON format.", action="store_true")
parser.add_argument("--filter", help="Filter which tests to run by a regex pattern.", type=str)
parser.add_argument("--no-build", help="Do not automatically build xml_converter before running the integration tests.", action="store_true")
args = parser.parse_args()

output_parent_dirpath = "./outputs"
Expand All @@ -157,7 +158,8 @@ def main() -> bool:

all_tests_passed = True

rebuild_xml_converter_binary()
if not args.no_build:
rebuild_xml_converter_binary()

test_run_count = 0

Expand Down

0 comments on commit 4cb5248

Please sign in to comment.