Skip to content
Snippets Groups Projects
Commit 65235ee9 authored by Ralf Jung's avatar Ralf Jung
Browse files

add support for timing tests that need changes in the reverse dependency

parent 7f1799d5
No related branches found
No related tags found
No related merge requests found
...@@ -128,8 +128,12 @@ def time(args): ...@@ -128,8 +128,12 @@ def time(args):
'IRIS_REV': test_commit, 'IRIS_REV': test_commit,
'TIMING_AD_HOC_ID': id+"-test", 'TIMING_AD_HOC_ID': id+"-test",
} }
test_pipeline_url = trigger_build(project['name'], project['branch'], vars) if args.test_branch is None:
print(" Test pipeline running at {}".format(test_pipeline_url)) test_pipeline_url = trigger_build(project['name'], project['branch'], vars)
print(" Test pipeline running at {}".format(test_pipeline_url))
else:
test_pipeline_url = trigger_build(project['name'], args.test_branch, vars)
print(" Test pipeline (on non-standard branch {}) running at {}".format(args.test_branch, test_pipeline_url))
print(" Once done, timing comparison will be available at https://coq-speed.mpi-sws.org/d/1QE_dqjiz/coq-compare?orgId=1&var-project={}&var-branch1=@hoc&var-config1={}&var-branch2=@hoc&var-config2={}".format(project['name'], id+"-base", id+"-test")) print(" Once done, timing comparison will be available at https://coq-speed.mpi-sws.org/d/1QE_dqjiz/coq-compare?orgId=1&var-project={}&var-branch1=@hoc&var-config1={}&var-branch2=@hoc&var-config2={}".format(project['name'], id+"-base", id+"-test"))
# Dispatch # Dispatch
...@@ -143,6 +147,7 @@ if __name__ == "__main__": ...@@ -143,6 +147,7 @@ if __name__ == "__main__":
parser_time = subparsers.add_parser('time', help='Time one reverse dependency against an Iris branch') parser_time = subparsers.add_parser('time', help='Time one reverse dependency against an Iris branch')
parser_time.add_argument("project", help="the project to measure the time of") parser_time.add_argument("project", help="the project to measure the time of")
parser_time.add_argument("--test-branch", help="use different branch on project for the test build (in case the project requires changes to still build)")
parser_time.set_defaults(func=time) parser_time.set_defaults(func=time)
# Parse, and dispatch to sub-command # Parse, and dispatch to sub-command
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment