[infra] Add --no-preview-dart-2 flag to test.py to prepare for flag flip

This flag is a no-op until this change lands:
https://dart-review.googlesource.com/c/sdk/+/58240

Change-Id: I6f0fcd053dc84738959b67a628d17165e12d3fac
Reviewed-on: https://dart-review.googlesource.com/59741
Reviewed-by: Siva Annamalai <asiva@google.com>
diff --git a/tools/testing/dart/options.dart b/tools/testing/dart/options.dart
index e52f9cb..5bb7760 100644
--- a/tools/testing/dart/options.dart
+++ b/tools/testing/dart/options.dart
@@ -167,6 +167,9 @@
         'Only run tests that are not marked `Slow` or `Timeout`.'),
     new _Option.bool('enable_asserts',
         'Pass the --enable-asserts flag to dart2js or to the vm.'),
+    new _Option.bool(
+        'no_preview_dart_2', 'Pass the --no-preview-dart-2 flag for Dart1 mode',
+        hide: true),
     new _Option.bool('preview_dart_2',
         'Pass the --preview-dart-2 flag to analyzer, or pass --no-preview-dart-2 if false.',
         hide: true),