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

Unified Diff: tools/bots/linux_distribution_support.py

Issue 272003003: Don't run the testing script on debian (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Import dart:collection instead of dart:html to make us able to run the standalone vm on the test file Created 6 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bots/linux_distribution_support.py
===================================================================
--- tools/bots/linux_distribution_support.py (revision 35958)
+++ tools/bots/linux_distribution_support.py (working copy)
@@ -67,7 +67,7 @@
def CreateDartTestFile(tempdir):
filename = os.path.join(tempdir, 'test.dart')
with open(filename, 'w') as f:
- f.write('import "dart:html";\n\n')
+ f.write('import "dart:collection";\n\n')
f.write('void main() {\n')
f.write(' print("Hello world");\n')
f.write('}')
@@ -150,14 +150,18 @@
# run as root)
Run(['cp', '/usr/bin/dart', 'out/ReleaseX64/dart'])
- Run([sys.executable, './tools/test.py', '-ax64',
- '--mode=release', 'standalone'])
+ # We currently can't run the testing script on wheezy since the checked in
+ # binary is built on precise, see issue 18742
+ if (build_info.builder_tag == 'ubuntu_precise'):
Søren Gjesse 2014/05/09 08:42:06 Could a temporary hack be to copy the newly built
ricow1 2014/05/09 09:08:47 We should just put in the wheezy binary, how about
+ Run([sys.executable, './tools/test.py', '-ax64',
+ '--mode=release', 'standalone'])
# Sanity check dart2js and the analyzer against a hello world program
with utils.TempDir() as temp_dir:
test_file = CreateDartTestFile(temp_dir)
Run(['/usr/lib/dart/bin/dart2js', test_file])
Run(['/usr/lib/dart/bin/dartanalyzer', test_file])
+ Run(['/usr/lib/dart/bin/dart', test_file])
# Sanity check that pub can start up and print the version
Run(['/usr/lib/dart/bin/pub', '--version'])
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698