diff options
author | Matthias Braun <matze@braunis.de> | 2017-09-06 21:57:03 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2017-09-06 21:57:03 +0000 |
commit | 1404ca840aabef04e628d8853866ca6939b350a4 (patch) | |
tree | c10df2b981d5bcf938005ec6d8072ecc9902d59e /lnt/tests/builtintest.py | |
parent | da189bcea9ca301e4a739cb5884cc9d4d86c4310 (diff) |
Make machine selection/update more flexible
r309247 changed LNTs response to mismatching machine information to
either reject the submission or update the existing machine data. Some
users prefer the previous behavior of creating a separate machine with
the same name instead.
This changes LNT interface to accept an select-machine parameter:
- match: Rejects submission with mismatching machine information
- update: Updates the existing machine on mismatching machine
information.
- split: Creates a new machine with the same name (but different id
number) when none of the existing ones match the machine
information.
Differential Revision: https://reviews.llvm.org/D37083
git-svn-id: https://llvm.org/svn/llvm-project/lnt/trunk@312672 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lnt/tests/builtintest.py')
-rw-r--r-- | lnt/tests/builtintest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lnt/tests/builtintest.py b/lnt/tests/builtintest.py index 6eda200..b3589d1 100644 --- a/lnt/tests/builtintest.py +++ b/lnt/tests/builtintest.py @@ -75,7 +75,7 @@ class BuiltinTest(object): self.log("submitting result to %r" % (config.submit_url,)) server_report = ServerUtil.submitFile( config.submit_url, report_path, config.verbose, - updateMachine=config.update_machine, mergeRun=config.merge) + select_machine=config.select_machine, merge_run=config.merge) else: server_report = ImportData.no_submit() if server_report: |