aboutsummaryrefslogtreecommitdiff
path: root/tests/lnttool/Inputs/compile_submission_machine_diff_split.json
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2017-09-06 21:57:03 +0000
committerMatthias Braun <matze@braunis.de>2017-09-06 21:57:03 +0000
commit1404ca840aabef04e628d8853866ca6939b350a4 (patch)
treec10df2b981d5bcf938005ec6d8072ecc9902d59e /tests/lnttool/Inputs/compile_submission_machine_diff_split.json
parentda189bcea9ca301e4a739cb5884cc9d4d86c4310 (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 'tests/lnttool/Inputs/compile_submission_machine_diff_split.json')
-rw-r--r--tests/lnttool/Inputs/compile_submission_machine_diff_split.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/lnttool/Inputs/compile_submission_machine_diff_split.json b/tests/lnttool/Inputs/compile_submission_machine_diff_split.json
new file mode 100644
index 0000000..27775b4
--- /dev/null
+++ b/tests/lnttool/Inputs/compile_submission_machine_diff_split.json
@@ -0,0 +1,29 @@
+{
+ "Machine": {
+ "Info": {
+ "hw.activecpu": "2",
+ "machdep.cpu.vendor": "AMD"
+ },
+ "Name": "some-compile-suite-machine"
+ },
+ "Run": {
+ "End Time": "2017-07-06 15:37:08",
+ "Start Time": "2017-07-06 15:05:23",
+ "Info": {
+ "__report_version__": "1",
+ "run_order": "663405",
+ "tag": "compile"
+ }
+ },
+ "Tests": [
+ {
+ "Data": [
+ 13.601326,
+ 13.411566,
+ 13.490528
+ ],
+ "Info": {},
+ "Name": "compile.build/Adium-1.5.7(config='Debug',j=1).user"
+ }
+ ]
+}