mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 23:59:47 +00:00
[testing] Make tests with multiple VMOptions have multiple names.
Change-Id: I16abe0cd68e5af5ee68eaff8b1702aec2a4bf5a6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97227 Reviewed-by: Jonas Termansen <sortie@google.com>
This commit is contained in:
parent
af5fc2d4d2
commit
37c7992ac3
|
@ -804,7 +804,11 @@ class StandardTestSuite extends TestSuite {
|
|||
var isCrashExpected = expectations.contains(Expectation.crash);
|
||||
var commands = makeCommands(info, vmOptionsVariant, allVmOptions,
|
||||
commonArguments, isCrashExpected);
|
||||
enqueueNewTestCase(testName, commands, expectations, info);
|
||||
var variantTestName = testName;
|
||||
if (vmOptionsList.length > 1) {
|
||||
variantTestName = "$testName/$vmOptionsVariant";
|
||||
}
|
||||
enqueueNewTestCase(variantTestName, commands, expectations, info);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue