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

Unified Diff: pkg/docgen/test/only_lib_content_in_pkg_test.dart

Issue 209413004: pkg/docgen: skip only_lib_content_in_pkg_test DEBUG - slow (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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
« no previous file with comments | « no previous file | pkg/pkg.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/docgen/test/only_lib_content_in_pkg_test.dart
diff --git a/pkg/docgen/test/only_lib_content_in_pkg_test.dart b/pkg/docgen/test/only_lib_content_in_pkg_test.dart
index e429f5f47fde2e47e5c367de7a5e0aa5e52bfd12..0e6e05ab15b3472b5394470982f043fbc69d5ce9 100644
--- a/pkg/docgen/test/only_lib_content_in_pkg_test.dart
+++ b/pkg/docgen/test/only_lib_content_in_pkg_test.dart
@@ -27,10 +27,13 @@ void main() {
expect(p.basename(thisPath), 'only_lib_content_in_pkg_test.dart');
expect(p.dirname(thisPath), endsWith('test'));
+ var packageRoot = Platform.packageRoot;
+ if (packageRoot == '') packageRoot = null;
+
var codeDir = p.normalize(p.join(thisPath, '..', '..'));
expect(FileSystemEntity.isDirectorySync(codeDir), isTrue);
return dg.docgen(['$codeDir/'], out: p.join(d.defaultRoot, 'docs'),
- packageRoot: Platform.packageRoot);
+ packageRoot: packageRoot);
});
d.dir('docs', [
« no previous file with comments | « no previous file | pkg/pkg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698