Skip to content

Commit b64ab73

Browse files
johnniwinthercommit-bot@chromium.org
authored andcommitted
[cfe] Shard front-end tests
The file set could probably be reduced but this works. The running time for the front-end-linux-release-x64-try is reduced from ~56 mins to ~22 mins. Change-Id: Ia298a5a89d84b21d3d4c7fd858e712570c692176 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/108580 Reviewed-by: Vyacheslav Egorov <[email protected]> Commit-Queue: Johnni Winther <[email protected]>
1 parent 4686393 commit b64ab73

File tree

1 file changed

+46
-9
lines changed

1 file changed

+46
-9
lines changed

tools/bots/test_matrix.json

Lines changed: 46 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,39 @@
9595
"xcodebuild/ReleaseX64/dart2js_platform.dill",
9696
"xcodebuild/ReleaseX64/dart2js_platform_strong.dill"
9797
],
98+
"front-end": [
99+
".packages",
100+
"out/ReleaseIA32/",
101+
"out/ReleaseX64/",
102+
"pkg/",
103+
"runtime/tests/",
104+
"samples-dev/",
105+
"samples/",
106+
"sdk/",
107+
"tests/angular/",
108+
"tests/co19_2/co19_2-analyzer.status",
109+
"tests/co19_2/co19_2-dart2js.status",
110+
"tests/co19_2/co19_2-kernel.status",
111+
"tests/co19_2/co19_2-runtime.status",
112+
"tests/compiler/",
113+
"tests/corelib_2/",
114+
"tests/dart/",
115+
"tests/kernel/",
116+
"tests/language_2/",
117+
"tests/lib_2/",
118+
"tests/light_unittest.dart",
119+
"tests/search/",
120+
"tests/standalone/",
121+
"tests/standalone_2/",
122+
"tests/ffi/",
123+
"third_party/d8/",
124+
"third_party/pkg/",
125+
"third_party/pkg_tested/",
126+
"third_party/requirejs/",
127+
"tools/",
128+
"xcodebuild/ReleaseIA32/",
129+
"xcodebuild/ReleaseX64/"
130+
],
98131
"fuzzer": [
99132
"runtime/tools/dartfuzz/",
100133
"out/DebugIA32/",
@@ -408,22 +441,26 @@
408441
]
409442
},
410443
{
411-
"name": "unit tests",
412-
"script": "tools/disguised_test.py",
444+
"name": "fasta co19_2 tests",
413445
"arguments": [
414-
"-nunittest-asserts-${mode}-${system}",
415-
"pkg/(kernel|front_end|fasta)"
416-
]
446+
"-nfasta-${system}",
447+
"co19_2"
448+
],
449+
"fileset": "front-end",
450+
"shards": 10
417451
},
418452
{
419453
"name": "fasta sdk tests",
420-
"arguments": ["-nfasta-${system}"]
454+
"arguments": ["-nfasta-${system}"],
455+
"fileset": "front-end",
456+
"shards": 5
421457
},
422458
{
423-
"name": "fasta co19_2 tests",
459+
"name": "unit tests",
460+
"script": "tools/disguised_test.py",
424461
"arguments": [
425-
"-nfasta-${system}",
426-
"co19_2"
462+
"-nunittest-asserts-${mode}-${system}",
463+
"pkg/(kernel|front_end|fasta)"
427464
]
428465
}
429466
]

0 commit comments

Comments
 (0)