mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8268897: [TESTBUG] compiler/compilercontrol/mixed/RandomCommandsTest.java must not fail on Command.quiet
Reviewed-by: kvn
(cherry picked from commit 0dc65d3c74)
This commit is contained in:
committed by
Vitaly Provodin
parent
1327635718
commit
cb9ef412b0
@@ -72,7 +72,9 @@ public class MultiCommand extends AbstractTestBase {
|
||||
|
||||
Executable exec = Utils.getRandomElement(METHODS).first;
|
||||
MethodDescriptor md;
|
||||
if (validOnly) {
|
||||
|
||||
// Command.quiet discards the method descriptor - can never fail on the method descriptor
|
||||
if (validOnly || cmd == Command.QUIET) {
|
||||
md = AbstractTestBase.getValidMethodDescriptor(exec);
|
||||
} else {
|
||||
md = AbstractTestBase.METHOD_GEN.generateRandomDescriptor(exec);
|
||||
|
||||
Reference in New Issue
Block a user