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

Unified Diff: samples/third_party/dromaeo/generate_frog_tests.py

Issue 9958051: Add support for Dromaeo tests in perf scripts. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 8 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 | tools/testing/perf_testing/index.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/third_party/dromaeo/generate_frog_tests.py
diff --git a/samples/third_party/dromaeo/generate_frog_tests.py b/samples/third_party/dromaeo/generate_frog_tests.py
index 069336955f0a1a2ec1cb56a384de51a18d7d343a..a0eebae37e914e17c9b5761df3e00b27bd04e393 100755
--- a/samples/third_party/dromaeo/generate_frog_tests.py
+++ b/samples/third_party/dromaeo/generate_frog_tests.py
@@ -18,10 +18,9 @@ def Compile(source, target):
binary = os.path.abspath(os.path.join(DART_PATH,
utils.GetBuildRoot(utils.GuessOS(),
'release', 'ia32'),
- 'frog', 'bin', 'frogsh'))
+ 'dart-sdk', 'bin', 'frogc'))
cmd = [binary, '--compile-only',
- '--libdir=' + os.path.join(DART_PATH, 'frog', 'lib'),
'--out=' + target]
cmd.append(source)
print 'Executing: ' + ' '.join(cmd)
@@ -33,6 +32,8 @@ def HtmlConvert(infile):
if head == 'tests':
outdir = 'frog'
os.chdir('tests')
+ if not os.path.exists(outdir):
+ os.makedirs(outdir)
elif head == '':
outdir = '.'
else:
« no previous file with comments | « no previous file | tools/testing/perf_testing/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698