whesse@google.com
ee9d6f8844
Test scripts: Replace a guard that was optimistically removed, fixing a break on Windows.
...
BUG=
TEST=tools/test.py
Review URL: https://chromiumcodereview.appspot.com//10697018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9205 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 16:15:08 +00:00
whesse@google.com
79b7dc558d
Test scripts: Fix a missing Path.toNativePath() in reading status files for tests.
...
BUG=
TEST=tools/test.py
Review URL: https://chromiumcodereview.appspot.com//10699025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9204 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 15:52:18 +00:00
whesse@google.com
5673b2b301
Add Path library and change test scripts, combined change.
...
Use Path for the filename and TestInformation.filename throughout test scripts.
Change test_suite.dart to use Path class.
Fix bug in join
Address comments.
Address comments
Address comments on Path library.
Add path library to dart:io.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10584014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9203 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 15:39:28 +00:00
hausner@google.com
3aedbb74e8
Better breakpoint placement
...
Instead of using token distance to find the first possible breakpoint
position in a line, use generated code address, so the debugger
breaks before the first call on a source line.
Fix issue 3653
http://code.google.com/p/dart/issues/detail?id=3318
Review URL: https://chromiumcodereview.appspot.com//10686003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9176 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-27 16:13:49 +00:00
samhop@google.com
9d08d66b7d
added preliminary ShadowDOM tests
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10661039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9141 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-26 23:16:07 +00:00
hausner@google.com
fbeaabda52
Debugger support to display global variables
...
- Add library id to ActivationFrame
- Add debugger function to get all global variables visible in
a library (including imported variables).
- Add LibraryPrefixIterator
- Fix Dart_GetLibraryImports
Review URL: https://chromiumcodereview.appspot.com//10657048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9121 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-26 17:32:34 +00:00
ahe@google.com
968159dba8
Revert "Added the ability to filter which tests are run by name, using a --filter argument passed to test.dart."
...
Review URL: https://chromiumcodereview.appspot.com//10632017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9018 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-22 09:14:54 +00:00
ahe@google.com
d8a395734a
Correctly detect unhandled exceptions on Windows.
...
Review URL: https://chromiumcodereview.appspot.com//10572047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9015 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-22 08:46:02 +00:00
gram@google.com
2436664bb5
Added the ability to filter which tests are run by name, using a --filter argument passed to test.dart.
...
Review URL: https://chromiumcodereview.appspot.com//10627008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9006 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-21 22:03:55 +00:00
efortuna@google.com
a539626bb3
Fix webdriver test setup script for windows and add proper path for pip.
...
Review URL: https://chromiumcodereview.appspot.com//10634013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9005 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-21 21:54:20 +00:00
iposva@google.com
0fd25118b9
- Move the Timer interface to the dart:isolate library so that it
...
is accessible from both client and standalone program.
- Enable a way for the embedder to provide the implementation of
the Timer interface.
- Update tests.
Review URL: https://chromiumcodereview.appspot.com//10532123
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8987 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-21 16:17:21 +00:00
sigmund@google.com
82f6756e91
Listen for on.error events in test_controller.js
...
Review URL: https://chromiumcodereview.appspot.com//10627004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8983 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-21 15:32:40 +00:00
zundel@google.com
a3510331ac
Revert "Enables building dart_analyzer on windows and packaging it in the SDK"
...
Review URL: https://chromiumcodereview.appspot.com//10578048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8935 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-20 19:26:27 +00:00
zundel@google.com
28799eb8bd
Enables building dart_analyzer on windows and packaging it in the SDK
...
Review URL: https://chromiumcodereview.appspot.com//10583037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8934 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-20 19:08:23 +00:00
vsm@google.com
652d9a986d
Remove dom from test_options
...
TBR=sra
Review URL: https://chromiumcodereview.appspot.com//10582023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8867 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-19 19:53:29 +00:00
zundel@google.com
c106caf3e2
Enable turning on analyzer build in sdk for macs.
...
Review URL: https://chromiumcodereview.appspot.com//10584002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8846 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-19 14:05:08 +00:00
efortuna@google.com
75de60eed8
Get Dromaeo benchmarks running again.
...
Review URL: https://chromiumcodereview.appspot.com//10577010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8829 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 23:20:33 +00:00
whesse@google.com
a4d55c1bc6
Test infrastructure: Remove "race condition" bug from restarting batch process runners.
...
BUG=
TEST=tools/test.py -c dartc -r none
Review URL: https://chromiumcodereview.appspot.com//10566026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8794 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 13:36:10 +00:00
lrn@google.com
d1a0ae8a41
Add web library to create_sdk.py, so it will be copied to the SDK too.
...
TBR: ahe
Review URL: https://chromiumcodereview.appspot.com//10568009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8786 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 12:59:59 +00:00
kasperl@google.com
04b217c6d2
Remove frog from the repository.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10548047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8709 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-15 07:01:39 +00:00
kasperl@google.com
53b8295d32
Give lib/dartdoc its own copy of frog.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8657 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-14 13:27:59 +00:00
kasperl@google.com
3eec57a270
Move frog/tests/{leg,leg_only,frog_native} to tests/compiler/.
...
This may not be the final resting place for these tests, but I want
to get them out of the frog directory because they really are very
valuable as tests for dart2js.
Review URL: https://chromiumcodereview.appspot.com//10536169
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8646 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-14 11:28:50 +00:00
hausner@google.com
a1cb082925
Add API to configure debugger pause on exception
...
Still to be done: proper determination whether an exception is
handled or unhandled. We still assume that TypeError and AssertionError
exceptions are unhanded.
Review URL: https://chromiumcodereview.appspot.com//10540121
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8579 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-12 21:56:50 +00:00
zundel@google.com
5495ba448b
Enabling copying of dart_analyzer binary into dart-sdk directory
...
Review URL: https://chromiumcodereview.appspot.com//10537132
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8567 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-12 19:27:21 +00:00
whesse@google.com
b080bc440e
Drop obsolete special case from test.dart for dartc/samples status file.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10533106
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8549 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-12 14:01:16 +00:00
zundel@google.com
febbff7c25
Revert "Experiment: Enable building dart_analyzer on linux builders and adding to SDK"
...
Review URL: https://chromiumcodereview.appspot.com//10538087
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8513 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-11 18:19:15 +00:00
zundel@google.com
58462df8ff
Experiment: Enable building dart_analyzer on linux builders and adding to SDK
...
Review URL: https://chromiumcodereview.appspot.com//10538085
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8511 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-11 18:01:40 +00:00
efortuna@google.com
436e291f11
Add i18n lib to the SDK.
...
Review URL: https://chromiumcodereview.appspot.com//10532073
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8463 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-08 19:45:24 +00:00
hausner@google.com
eebec2a081
Debugger break on TypeError, AssertionError
...
Add debugger functionality to pause the VM whenever a TypeError
or AssertionError exception happens.
This is a first step towards breaking on handled and unhanded
exceptions in general. We first need to generate more debug info
for catch handlers so we can determine whether an exception will
be handled or not before we unwind the stack to run the catch
clauses.
Review URL: https://chromiumcodereview.appspot.com//10537065
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8457 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-08 17:51:50 +00:00
efortuna@google.com
17f116fc9a
MessageFormat fixup
...
Review URL: https://chromiumcodereview.appspot.com//10538033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8413 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 23:37:28 +00:00
zundel@google.com
8574e3abdf
Renamed the 'dartc' launch script to 'dart_analyzer' and adds it to dart-sdk
...
Some now unused scripts and files were also removed.
Committed: https://code.google.com/p/dart/source/detail?r=8373
Review URL: https://chromiumcodereview.appspot.com//9950019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8392 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 12:39:38 +00:00
kasperl@google.com
52990c6f01
Try to fix IE issues.
...
Add <meta> tag to our generated browser test cases to make sure IE does not use IE7 compatibility mode when loading these from the intranet.
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10542050
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8380 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 08:17:53 +00:00
zundel@google.com
a45703b87a
Reverts r8373 "Renamed the 'dartc' launch script to 'dart_analysis'"
...
Not all linux builders have same Java configuration. Browser builds on
windows invoke dart_analyzer build.
Review URL: https://chromiumcodereview.appspot.com//10545048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8377 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 01:57:19 +00:00
zundel@google.com
d8e00833f2
merged
...
executable suffix
Merge branch 'master' into rename-dartc
added missing line of code from bad merge
merged
updated
Merge branch 'master' into rename-dartc
updated
updated
committed
updated test_suite.dart
updated create_sdk.py
fixed up dart.gyp
added dart_analyzer.sh
added analyzer_series_test.sh
added analyzer_metrics.sh
added dart_analyzer.xml
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10532046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8376 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 01:35:40 +00:00
zundel@google.com
9f4387bf1e
another patch up for windows in test_suite.dart.
...
Review URL: https://chromiumcodereview.appspot.com//10532045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8375 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 01:28:05 +00:00
zundel@google.com
629ad67b51
Renamed the 'dartc' launch script to 'dart_analyzer' and adds it to dart-sdk
...
Some now unused scripts and files were also removed.
Review URL: https://chromiumcodereview.appspot.com//9950019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8373 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 01:16:04 +00:00
whesse@google.com
dff5549f93
Eliminate standalone timeout_test, pass_test, and fail_test.
...
These are now built into standalone/io/test_runner_test.
BUG=dart:3216
TEST=tools/test.py standalone/io/test_runner_test
Review URL: https://chromiumcodereview.appspot.com//10521003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8315 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-06 09:18:37 +00:00
efortuna@google.com
4bd7052a8b
Get performance tests running without frog in the SDK.
...
Review URL: https://chromiumcodereview.appspot.com//10510010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8309 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-05 22:38:54 +00:00
hausner@google.com
ba8c73df3a
Fix handling of long JSON messages
...
Fix Debugger wire protocol for long messages.
Add a stress mode in the protocol handler to break messages
into small pieces.
Review URL: https://chromiumcodereview.appspot.com//10515015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8269 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-04 22:27:50 +00:00
ahe@google.com
96ac4bc26e
Remove underscores from configurations.
...
Underscores don't work in Visual Studio 2010.
Review URL: https://chromiumcodereview.appspot.com//10475003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8235 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-04 07:41:59 +00:00
kasperl@google.com
9b504b518f
Remove frog from the SDK and stop running it from the editor.
...
R=johnniwinther@google.com ,dgrove@google.com ,devoncarew@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10454112
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8231 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-04 06:51:25 +00:00
hausner@google.com
c39f48340d
Add string encoding to wire protocol
...
Also, add command to retrieve the source text of a given script.
Review URL: https://chromiumcodereview.appspot.com//10496006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8220 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-02 00:07:12 +00:00
efortuna@google.com
fbc9385f56
Run dart2js browser benchpress tests.
...
Review URL: https://chromiumcodereview.appspot.com//10458061
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8168 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-31 17:41:49 +00:00
ager@google.com
6db1bc0e7b
Fix Mac build.
...
R=ahe@google.com ,sgjesse@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10447115
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8153 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-31 13:32:52 +00:00
sgjesse@google.com
cb68f76b15
Update DEPS to pull V8 3.10
...
Review URL: https://chromiumcodereview.appspot.com//10441114
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8150 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-31 13:18:27 +00:00
ahe@google.com
725984cf50
Create a unique name for each failure step.
...
Review URL: https://chromiumcodereview.appspot.com//10456026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8091 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 09:12:51 +00:00
sethladd@google.com
2cb9f04b71
tar.gz the SDK if we're not on windows
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10440040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8077 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 20:26:43 +00:00
hausner@google.com
eeaa660d52
Introduce library ids and info in the wire protocol
...
- Library hierarchy (imports, prefixes)
- Global (top-level) variables
- Removing breakpoints
Review URL: https://chromiumcodereview.appspot.com//10447045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8075 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 19:51:51 +00:00
whesse@google.com
823eac8021
Fix erroneous asynchronous code in test scripts (batch runner).
...
BUG=3286
TEST=
Review URL: https://chromiumcodereview.appspot.com//10440071
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8058 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 13:49:27 +00:00
ahe@google.com
f6d5547147
Make sure the failing build step is red.
...
Review URL: https://chromiumcodereview.appspot.com//10448050
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8056 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 13:22:13 +00:00