| Index: tools/testing/dart/test_suite.dart
|
| ===================================================================
|
| --- tools/testing/dart/test_suite.dart (revision 26205)
|
| +++ tools/testing/dart/test_suite.dart (working copy)
|
| @@ -794,6 +794,10 @@
|
| var vmArguments = new List.from(vmOptions);
|
| vmArguments.addAll([
|
| '--ignore-unrecognized-flags', '$tempDir/out.dart']);
|
| + // Turn off fancy stacks.
|
| + if (!configuration['fancy-stacks']) {
|
| + vmArguments.add('--no-fancy-stacks');
|
| + }
|
| commands.add(CommandBuilder.instance.getCommand(
|
| "vm", vmFileName, vmArguments, configurationDir));
|
| } else {
|
| @@ -804,6 +808,10 @@
|
| case 'none':
|
| var arguments = new List.from(vmOptions);
|
| arguments.addAll(args);
|
| + // Turn off fancy stacks.
|
| + if (!configuration['fancy-stacks']) {
|
| + arguments.add('--no-fancy-stacks');
|
| + }
|
| return <Command>[CommandBuilder.instance.getCommand(
|
| 'vm', dartShellFileName, arguments, configurationDir)];
|
|
|
| @@ -966,13 +974,15 @@
|
| Path expectedOutput = null;
|
| if (new File.fromPath(pngPath).existsSync()) {
|
| expectedOutput = pngPath;
|
| - content = getHtmlLayoutContents(scriptType, new Path("$scriptPath"));
|
| + content = getHtmlLayoutContents(scriptType, new Path("$scriptPath"),
|
| + configuration['fancy-stacks']);
|
| } else if (new File.fromPath(txtPath).existsSync()) {
|
| expectedOutput = txtPath;
|
| - content = getHtmlLayoutContents(scriptType, new Path("$scriptPath"));
|
| + content = getHtmlLayoutContents(scriptType, new Path("$scriptPath"),
|
| + configuration['fancy-stacks']);
|
| } else {
|
| content = getHtmlContents(filename, scriptType,
|
| - new Path("$scriptPath"));
|
| + new Path("$scriptPath"), configuration['fancy-stacks']);
|
| }
|
| htmlTest.writeStringSync(content);
|
| htmlTest.closeSync();
|
|
|