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']) |