Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1028)

Unified Diff: pkg/analysis_server/test/integration/integration_tests.dart

Issue 1219023006: move performance measurement to benchmark/integration (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: merge Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analysis_server/test/integration/integration_tests.dart
diff --git a/pkg/analysis_server/test/integration/integration_tests.dart b/pkg/analysis_server/test/integration/integration_tests.dart
index 5471bda56f754d569efd29104b3c1d769ea2d89a..faec89f54533e1c500ea54402bdb33ddae75d38d 100644
--- a/pkg/analysis_server/test/integration/integration_tests.dart
+++ b/pkg/analysis_server/test/integration/integration_tests.dart
@@ -462,7 +462,7 @@ class Server {
* upward to the 'test' dir, and then going up one more directory.
*/
String findRoot(String pathname) {
- while (basename(pathname) != 'test') {
+ while (!['benchmark', 'test'].contains(basename(pathname))) {
String parent = dirname(pathname);
if (parent.length >= pathname.length) {
throw new Exception("Can't find root directory");
« no previous file with comments | « pkg/analysis_server/benchmark/integration/operation.dart ('k') | pkg/analysis_server/test/performance/driver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698