Skip to content

Commit

Permalink
[vm/fuzzer] disable control flow collections again
Browse files Browse the repository at this point in the history
Rationale:
I need a bit more time to investigate the failures.
No need to have massive amounts of divergences in
our nightly in the meantime.

dart-lang#38231

Change-Id: I2fee0ba36292a2a38fce1d9a4727e5c4b74f0f1c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115842
Reviewed-by: Felicitas Hetzelt <felih@google.com>
Commit-Queue: Aart Bik <ajcbik@google.com>
  • Loading branch information
aartbik authored and commit-bot@chromium.org committed Sep 6, 2019
1 parent 5d4940f commit fb14bab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions runtime/tools/dartfuzz/dartfuzz.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import 'dartfuzz_ffiapi.dart';
// Version of DartFuzz. Increase this each time changes are made
// to preserve the property that a given version of DartFuzz yields
// the same fuzzed program for a deterministic random seed.
const String version = '1.37';
const String version = '1.38';

// Restriction on statements and expressions.
const int stmtLength = 2;
Expand Down Expand Up @@ -768,7 +768,8 @@ class DartFuzz {

void emitCollectionElement(int depth, DartType tp) {
int r = depth <= exprDepth ? rand.nextInt(10) : 10;
switch (r) {
// TODO(ajcbik): renable, https://github.com/dart-lang/sdk/issues/38231
switch (r + 3) {
// Favors elements over control-flow collections.
case 0:
emit('...'); // spread
Expand Down

0 comments on commit fb14bab

Please sign in to comment.