whesse@google.com
205ddb3ad1
Start adding files for Dart version of test script test.py.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8394043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@885 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 11:09:48 +00:00
ngeoffray@google.com
9acb7d6610
build.py will not accept --arch=dartc soon, so removing references and uses of --arch=dartc in the repo.
...
Review URL: http://codereview.chromium.org//8341103
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@882 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 10:39:30 +00:00
zundel@google.com
dc5bf070e1
Fixes problem with running test.py --arch dartc --mode release,debug
...
The --optimize flag was set for all tests at the top level if
release mode was specified. I pushed this logic down into the
be a part of generating run command for each individual test case.
BUG=5408215
Review URL: http://codereview.chromium.org//8341066
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@768 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-26 18:12:08 +00:00
ager@google.com
9265136864
Add support for test expectations based on the --checked flag.
...
R=sgjesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8341056
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@751 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-26 14:24:38 +00:00
alexeif@google.com
029f5029e9
Add abstract keyword.
...
Review URL: http://codereview.chromium.org//8359003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@687 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-25 11:48:48 +00:00
ahe@google.com
80e2bb4bd2
Filter-out dart:... sources
...
Review URL: http://codereview.chromium.org//8329026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@548 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-19 10:05:03 +00:00
nweiz@google.com
9e293343cc
Another fix to the web-test pattern.
...
Review URL: http://codereview.chromium.org//8297007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@501 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-17 23:59:01 +00:00
dcarlson@google.com
0266184ec1
Create minimal TextMate mode for Dart.
...
R=knorton@google.com ,rnystrom@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8321007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@484 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-17 20:19:51 +00:00
kasperl@google.com
7c038b73a6
Landing http://codereview.chromium.org/8258017/ on behalf of
...
Ola Martin Bini. Changed reviewed by vsm@google.com .
Review URL: http://codereview.chromium.org//8306026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@467 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-17 13:52:54 +00:00
rnystrom@google.com
c28999e0fa
Fix pattern used to tell which tests are web tests.
...
Review URL: http://codereview.chromium.org//8295012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@453 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-14 21:09:06 +00:00
ngeoffray@google.com
fee0ef8fb5
Make sure we cleanup what was generated by the architecture.
...
Review URL: http://codereview.chromium.org//8283033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@440 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-14 14:25:18 +00:00
ager@google.com
4bf840639c
Fix windows build.
...
R=sgjesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8276033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@437 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-14 13:19:20 +00:00
ngeoffray@google.com
fd40730343
Fix testing and buildbot.
...
Review URL: http://codereview.chromium.org//8283031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@431 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-14 12:36:16 +00:00
sgjesse@google.com
d2ace1a9da
Add back VM_OPTIONS_PATTERN.
...
TBR=ngeoffray@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8291001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@430 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-14 11:54:50 +00:00
sgjesse@google.com
206d15dc03
Make the sample tests run using the standard test configuration
...
Also run the chat server test with short read/write options.
R=ngeoffray@google.com
BUG=b/5299751
TEST=
Review URL: http://codereview.chromium.org//8274034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@428 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-14 11:35:31 +00:00
benl@google.com
c0a59669cf
Do away with the PromiseQueue.
...
Instead of queuing messages with promises in them until the promises
are ready, send immediately. This is done by sending a port down which
the receiver sends a port which can be used to signal completion of
the outgoing promise.
Review URL: https://chromereviews.googleplex.com/3573013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@427 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-14 11:18:12 +00:00
sgjesse@google.com
fc1b7603b3
Add short read/write testing of Socket and Process tests
...
The changes to standalone tests from http://codereview.chromium.org/8226016/ somehow got lost when the tests where moved from runtime/tests/dart to tests/standalone.
Also fix and issue where just specifying "VMOptions=" did not run the test without any arguments.
R=ngeoffray@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8273035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@426 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-14 09:31:12 +00:00
sgjesse@google.com
78f8e7bd91
Only use one process when running tests on Windows
...
Running more than one process on Windows fails at the moment, and one always need to pass -j1.
R=ngeoffray@google.com , ager@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8272001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@397 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-13 14:06:41 +00:00
ngeoffray@google.com
76ef8258a4
Create a standalone test directory and move tests in runtime/tests/dart (mostly) to that directory.
...
Review URL: http://codereview.chromium.org//8261009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@393 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-13 12:44:29 +00:00
sgjesse@google.com
8e1fe6626d
Fix running of tests on Chromium and Dartium
...
The change in r388 removed the VM options from Chromium and Dartium test runs.
R=ngeoffray@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8258016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@391 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-13 11:54:36 +00:00
zundel@google.com
3745d707cb
Addresses Python style issues in test_configuration.py and test_case.py
...
Review URL: http://codereview.chromium.org//8260004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@390 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-13 11:07:18 +00:00
sgjesse@google.com
1cd5459f7b
Add the ability to run tests with several sets of VM flags
...
The test-option VMOptions that can be placed in .dart test files can now be specified several times like this:
// VMOptions=
// VMOptions=--short_socket_read
// VMOptions=--short_socket_write
// VMOptions=--short_socket_read --short_socket_write
For each time VMOptions is specified a seperate test will be bun with the specified flags.
Used this to run the tests that uses sockets with short read and writes. Fixed a number of bugs in both stream implementation and in tests revealed by this.
R=iposva@google.com , ngeoffray@google.com
Review URL: http://codereview.chromium.org//8226016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@388 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-13 10:14:31 +00:00
zundel@google.com
6bef774e19
Cleans up style problems in architecture.py and test_runner.py
...
Cleaning these up so I can merge in changes related to
including chromium tests into the mainline test.py.
Review URL: http://codereview.chromium.org//8234029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@365 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-12 14:12:10 +00:00
zundel@google.com
98c678891c
Style cleanups for test.py
...
This reformats test.py to have consistent Python style.
Review URL: http://codereview.chromium.org//8223016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@353 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-11 22:44:53 +00:00
sigmund@google.com
3c48e145c4
get_drt: pin version number again until we fix bucket ACL
...
Review URL: http://codereview.chromium.org//8230019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@333 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-11 16:25:26 +00:00
sigmund@google.com
942935e195
get_drt.py: show warning, but do not fail if we can't download DumpRenderTree
...
Review URL: http://codereview.chromium.org//8220015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@318 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-10 22:39:22 +00:00
zundel@google.com
0322aafe87
Migrating guts of run.py to testing/architecture.py
...
simply moves the bulk for run.py into testing/architecure.py
and updates references.
Review URL: https://chromereviews.googleplex.com/3549014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@298 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-10 13:52:47 +00:00
dgrove@google.com
e2b593358c
pin version number of DumpRenderTree
...
TBR=vsm
Review URL: https://chromereviews.googleplex.com/3576016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@292 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-09 22:53:26 +00:00
zundel@google.com
4ccb7c5810
Add --enable-type-checks to allow certain resolution errors to be non-fatal
...
This is to match the behavior outlined in Gilad's
"Optional Types in Dart" document. Extra type checks are turned
on when --enable-type-checks is passed on the command line *or*
optimization mode is enabled in the compiler.
See also https://chromereviews.googleplex.com/3563014/
Review URL: https://chromereviews.googleplex.com/3561023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@275 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-08 15:11:10 +00:00
sigmund@google.com
e6eb1f62a1
get_drt.py: fix to remove race with dartium bot during downloads
...
Review URL: https://chromereviews.googleplex.com/3561021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@256 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 20:06:22 +00:00
sigmund@google.com
05b0b0ba29
get_drt + client bots: fix google-storage source location for archives
...
Review URL: https://chromereviews.googleplex.com/3583012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@248 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 18:27:18 +00:00
sigmund@google.com
5c68f6de7c
get_drt.py: remove extra printing
...
Review URL: https://chromereviews.googleplex.com/3558018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@243 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 17:49:37 +00:00
zundel@google.com
d82c272940
Fix exception message in get_drt.py
...
Exception threw an exception when the command failed!
Review URL: https://chromereviews.googleplex.com/3559014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@229 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 15:31:49 +00:00
zundel@google.com
e890f48264
Extend --optimize to include chromium/release
...
R=jbrosenberg@google.com
Review URL: https://chromereviews.googleplex.com/3559013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@196 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 07:26:06 +00:00
sigmund@google.com
3c6d685a05
Use new file names for downloading dartium archives.
...
Review URL: https://chromereviews.googleplex.com/3561012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@175 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 00:04:57 +00:00
sigmund@google.com
06ec980f3f
get_drt.py: renamed from get_dartium, tries to get the latest DumpRenderTree
...
from the most recent archive location that the user has access to.
Review URL: https://chromereviews.googleplex.com/3532018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@157 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 21:43:51 +00:00
karlklose@google.com
d95c89a2f4
Allow #import and #source in multi tests.
...
Review URL: https://chromereviews.googleplex.com/3511021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@119 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 14:13:03 +00:00
ngeoffray@google.com
84c81a082d
Conditionnaly cleanup after running a command.
...
Review URL: https://chromereviews.googleplex.com/3546016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@111 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 11:04:54 +00:00
ngeoffray@google.com
61486c2267
Small clenaup in the python scripts to make sure all tests get their Cleanup method called.
...
Review URL: https://chromereviews.googleplex.com/3534013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@108 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 10:47:32 +00:00
srdjan@google.com
5dd35f18ae
Fix crash in test.py when timing out.
...
Review URL: https://chromereviews.googleplex.com/3543017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@99 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 07:59:02 +00:00
ngeoffray@google.com
c05cfb10c0
- Now that prefixes have been implemented, remove the trampoline hack for calling main in a browser test.
...
- Update some tests to define #library, as the #library is required by the dart blob we're emitting for testing in the browser
- Update language.status to reflect reality.
Review URL: https://chromereviews.googleplex.com/3522016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@94 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 07:11:49 +00:00
zundel@google.com
705be03363
Move BatchTester into a separate file.
...
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3521020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@52 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 16:50:50 +00:00
zundel@google.com
78d16cca6c
Create a directory for python package, move 'testing' in there
...
Review URL: https://chromereviews.googleplex.com/3514028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 14:01:12 +00:00
ngeoffray@google.com
a42380d3df
Define runner before it is used. This allows running individual tests again:
...
./tools/test.py language/MyTest
Review URL: https://chromereviews.googleplex.com/3508023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 12:35:03 +00:00
dgrove@google.com
6b6b28e065
Initial checkin.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 05:34:19 +00:00