Index: mojo/dart/embedder/test/run_dart_tests.cc |
diff --git a/mojo/dart/embedder/test/run_dart_tests.cc b/mojo/dart/embedder/test/run_dart_tests.cc |
index d4cbb26d95c38f380271d55b20482a532cad55d4..5f9ed0665176543f7bdbba9b4f237b59e3dd6267 100644 |
--- a/mojo/dart/embedder/test/run_dart_tests.cc |
+++ b/mojo/dart/embedder/test/run_dart_tests.cc |
@@ -51,7 +51,11 @@ static void RunTest(const std::string& test, |
char* error = NULL; |
bool unhandled_exception = false; |
DartControllerConfig config; |
+#if defined(DEBUG) |
config.strict_compilation = true; |
+#else |
+ config.strict_compilation = false; |
+#endif |
config.script = source; |
config.script_uri = path.AsUTF8Unsafe(); |
config.package_root = package_root.AsUTF8Unsafe(); |
@@ -121,10 +125,6 @@ TEST(DartTest, handle_watcher_test) { |
RunTest("handle_watcher_test.dart", false, nullptr, 0); |
} |
-TEST(DartTest, interface_test) { |
- RunTest("interface_test.dart", false, nullptr, 0); |
-} |
- |
TEST(DartTest, bindings_generation_test) { |
RunTest("bindings_generation_test.dart", false, nullptr, 0); |
} |