Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a flag to the integration tests to not build xml_converter #379

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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