652a8be7a7
When tests are executed on certain configurations like dartkb or simarm, the test script is first compiled into a dill file, so the VM command line for running a test looks like dart .../generated_compilations/dartkb/foo_test/out.dill Certain tests have the logic to replace '_test.dart' in Platform.script with '_test_body.dart' and execute the resulting script. However, as out.dill does not contain '_test.dart', the script remains the same after replacement. As a result, test was infinitely re-executing itself, overloading bots and not making any progress. Change-Id: I7257d3553a7f0a0de2f6d8218a9eb5c8981af17d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98685 Commit-Queue: Ryan Macnak <rmacnak@google.com> Auto-Submit: Alexander Markov <alexmarkov@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com>