Commit Graph

206 Commits

Author SHA1 Message Date
sigmund@google.com 45efebba9a test rename overhaul: step 10 - crypto tests, and add back other tests commited
recently, but just before the rename overhaul.

Review URL: https://chromiumcodereview.appspot.com//10229002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7115 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-28 00:12:28 +00:00
sigmund@google.com 64d7bc5acf test rename overhaul: step 8 - language tests
Review URL: https://chromiumcodereview.appspot.com//10248007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7101 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 18:45:10 +00:00
sigmund@google.com d9eae90196 test rename overhaul: step 7 - corelib tests
Review URL: https://chromiumcodereview.appspot.com//10244009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7096 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 18:06:37 +00:00
sigmund@google.com ef47ac2f90 test rename overhaul: step 5 frog and leg
Review URL: https://chromiumcodereview.appspot.com//10250002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7094 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 17:43:47 +00:00
sigmund@google.com d6c2cca796 test rename overhaul: step 6 - isolate tests
Review URL: https://chromiumcodereview.appspot.com//10247004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7088 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 17:06:51 +00:00
sigmund@google.com daef678742 test renaming overhaul: step 4 client tests
Review URL: https://chromiumcodereview.appspot.com//10191033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7041 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 20:09:35 +00:00
efortuna@google.com d6426082f6 Make test.dart respect the requested order of test suites, and also split up IE
bot load.
Review URL: https://chromiumcodereview.appspot.com//10239010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7035 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 18:14:30 +00:00
sigmund@google.com ba197a8cfa test rename overhaul: step 2 css tests.
Review URL: https://chromiumcodereview.appspot.com//10209016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6961 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 18:23:21 +00:00
sigmund@google.com a54a1c8355 remove tests from code that was recently deleted.
Review URL: https://chromiumcodereview.appspot.com//10207032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6956 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 17:07:48 +00:00
whesse@google.com 9fcda075eb Remove unused class DirectoryTestSuite from test script.
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10134052

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6933 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 10:56:14 +00:00
iposva@google.com d10d1d2cb3 - Add tests/lib to start testing libraries outside of core.
Review URL: https://chromiumcodereview.appspot.com//10197008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6929 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 09:13:56 +00:00
sigmund@google.com d25fe08396 test rename overhaul: step 1 peg.
The overhaul consists of:
- use _tests.dart notation, instead of xTest.dart
- use the directory setup (no more test_config, yay!)

Review URL: https://chromiumcodereview.appspot.com//10168010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6815 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-20 22:57:03 +00:00
efortuna@google.com 673bb8ce02 Revert "Simplify tests under utils/tests to follow StandardTestSuite
convention."
Review URL: https://chromiumcodereview.appspot.com//9990009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6210 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 00:27:34 +00:00
rnystrom@google.com fb5b9f3570 Simplify tests under utils/tests to follow StandardTestSuite convention.
Review URL: https://chromiumcodereview.appspot.com//9956037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6209 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 23:50:06 +00:00
zundel@google.com 9c5ae41ae1 Adds Junit tests in dartc back into test.py
http://code.google.com/p/dart/issues/detail?id=2366

Review URL: https://chromiumcodereview.appspot.com//9969043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6080 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-01 19:02:44 +00:00
asiva@google.com 29334088c1 Fix configuration check so that the test scripts runs the vm unit tests.
Review URL: https://chromiumcodereview.appspot.com//9956005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6045 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 16:18:41 +00:00
rnystrom@google.com 26947913d9 Add DirectoryTestSuite.
Review URL: https://chromiumcodereview.appspot.com//9863057

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6010 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-29 23:37:31 +00:00
efortuna@google.com c8e35dbeb1 Rename test.dart component to specify compiler + runtime.
Review URL: https://chromiumcodereview.appspot.com//9838068

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5893 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 18:40:41 +00:00
ager@google.com 659c9a4072 By popular demand, print the configurations being tested by test.dart at startup.
This time don't print anything if the 'silent' progress is requested.

Question to be answered later: Do we actually need the JUnit tests? What do they add?

R=whesse@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9691045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5403 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 14:19:29 +00:00
ager@google.com 8a310c9c36 Revert "By popular demand, print the configurations being tested by test.dart at startup."
DartC is parsing all the output without using tokens. I'll have to update
their parser before I can land this.

R=whesse@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9695039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5394 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 12:44:12 +00:00
ager@google.com 3c2b1e0a32 By popular demand, print the configurations being tested by test.dart at startup.
R=whesse@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9689059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5393 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 12:34:55 +00:00
turnidge@google.com 7647d8ff7f Add the vm internal dart tests into the test suite.
Review URL: https://chromiumcodereview.appspot.com//9414032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5113 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 19:43:59 +00:00
mattsh@google.com c93f8c7ca5 documented component
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9599015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4968 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-05 18:48:14 +00:00
rnystrom@google.com 458908f549 Get dartdoc in the SDK and working correctly.
Review URL: https://chromiumcodereview.appspot.com//9555013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4905 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-02 22:28:00 +00:00
ngeoffray@google.com f7e1fdc684 Support for native in leg, and start moving native tests to a specific test suite.
Review URL: https://chromiumcodereview.appspot.com//9418045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4392 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-21 13:46:24 +00:00
sigmund@google.com 427d5e5ead remove promise:
- removes promise from corelib (use future instead)
 - move tests that depend on promises and proxies into samples/proxy/
 - remove dependence on promise from the rest of the system and tests

Review URL: https://chromiumcodereview.appspot.com//9401030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4328 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-16 18:20:41 +00:00
rnystrom@google.com 7b5e67b5d6 First prototype of import map generator.
Review URL: https://chromiumcodereview.appspot.com//9369006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4106 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 01:09:49 +00:00
ahe@google.com 26d232679d Create a URI class in utils/ (based on client/util/).
Review URL: https://chromiumcodereview.appspot.com//9295043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3722 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 12:11:10 +00:00
whesse@google.com 7eb6b33a01 Add temporary directory for dartc compilation of tests.
This subdirectory of the system temp directory is deleted after tests are run.
This CL also unifies finding of the top-level dart checkout directory.

BUG=dart:1167
TEST=tools/test.dart -cdartc,chromium

Review URL: https://chromiumcodereview.appspot.com//9240011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3397 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-18 15:37:44 +00:00
rnystrom@google.com 5bf318ec21 Hook up the dartdoc tests to test.py, test.dart, and frog/presubmit.py.
Review URL: http://codereview.chromium.org//9147058

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3207 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 21:29:13 +00:00
whesse@google.com bb7ec07431 Add client/tests/client web tests to the test.dart test script.
BUG=
TEST=tools/test.dart --component=dartium,chromium,frogium client

Review URL: http://codereview.chromium.org//9036009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2939 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 11:55:08 +00:00
whesse@google.com f245169804 Add --list option to tools/test.dart.
BUG=
TEST=tools/test.dart --list

Review URL: http://codereview.chromium.org//9053009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2897 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-02 13:20:51 +00:00
whesse@google.com a3a4b50337 Add dartc junit tests to test.dart.
BUG=
TEST=tools/test.dart --component=dartc dartc/junit_tests

Review URL: http://codereview.chromium.org//9015005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2885 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-30 13:16:07 +00:00
whesse@google.com 7f1edc16cb Enable Dartium tests in tools/test.dart.
BUG=
TEST=tools/test.dart

Review URL: http://codereview.chromium.org//8889016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2312 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 15:23:09 +00:00
ager@google.com fd97081f49 Add --time option to dart test scripts.
This is useful for finding new tests that start taking a long time.

R=whesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8845001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2183 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 16:33:16 +00:00
ager@google.com 5023793165 Correctly handle the --arch argument to dart test scripts.
Support a --verbose/-v flag that prints all commands run.

R=whesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8835008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2169 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 12:48:09 +00:00
ager@google.com f7b6b6eaba Add more test configurations. Everything seems covered for frog again now.
R=sgjesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8821009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2118 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-06 10:46:13 +00:00
ager@google.com 456d63c6ab Add support for client/dartc compilation only tests.
These tests do not fit in that nicely. They have an interesting
way of finding out what are test cases. They use the .dart
suffix in the status file.

Implement directory createTempSync.

R=whesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8799009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2067 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-05 13:34:12 +00:00
ager@google.com e2a6cd4eab Make multi tests work with DartC.
The static type error annotations
are in the multi-tests so that dartc can verify with the
--fatal-type-errors flag that they are correctly caugth.

Enqueue all tests from one configuration before moving on to the next to not start an overwhelming amount of directory listers.

Simplify the setup of dartc batch runners. Simply restart
with the right binary if there is a mismatch. With the new enqueueing switching happens at the right time and we can have as many dartc batch processors as we have cores.

R=whesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8773036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2018 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-02 13:46:28 +00:00
ager@google.com 3bf558018e Allow single-dash options to be specified without a space before value.
./tools/test.dart -mdebug,release

Make the patterns given to the test script more restrictive. A pattern
has to specify the test suite as the first component. The rest is used
as a pattern on all tests within that suite:

./tools/test.dart -mrelease leg co19/leg

will run the leg tests and the co19 tests that contains the substring
'leg' somewhere in the full path name of the test.

R=whesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8772007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2014 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-02 11:50:05 +00:00
ager@google.com 06a0bba5a6 Add the frog test suites to the dart test scripts.
R=whesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8747018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1969 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-01 10:45:28 +00:00
ager@google.com e0651019fc Perform better activity tracking in test scripts.
Let the process queue be the controller that has full information about pending activities.

R=sgjesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8682005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1783 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-23 10:40:04 +00:00
iposva@google.com ea500c9260 - Remove uses of the dart_bin binary.
Review URL: http://codereview.chromium.org//8597016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1725 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-21 23:50:35 +00:00
ager@google.com 9ef42b14d9 Various test script changes:
- Supply options to cctests and filter based on name.
- Add samples test suite.
- Minor cleanup in the scripts.

R=whesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8547012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1703 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-21 15:12:01 +00:00
ager@google.com 40e896bf17 Fix timing of both dart and python test scripts.
The scripts (in particular the python one) were not counting all
of the setup code that is run before tests are started. The time
reported by the progress indicator now matches the time reported
by 'time test_script'.

R=sgjesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8609012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1697 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-21 10:36:34 +00:00
ager@google.com 1a09eb8f6a Implement cc test suite and use it to run the VM tests.
R=whesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8558018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1696 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-21 10:06:53 +00:00
ager@google.com 7808645ea4 Support stub-generator tests on the VM (which does not actually generate the stubs).
R=whesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8590025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1618 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-17 14:27:28 +00:00
ager@google.com 0bbe9566c6 Enable language and isolate tests using the dart test runner.
Refactor the test_config.dart files. Have a standard implementation
of a test suite that can be easily customized to cover all the
current suites.

R=whesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8589020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1611 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-17 12:25:01 +00:00
ager@google.com 2b62a139f2 Enable co19 test suite on dart test scripts.
Updated the TestExpectations class to be able to deal with the
odd matching rules that are used for co19.

Currently we are using a lot of memory when running all of these
tests. I have optimized the test expectation part quite a bit.
The thing that seems bad now if the processing of all the lines
of every simple test to find DartOptions. We need to work on that.

R=whesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8539044

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1563 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-16 12:27:06 +00:00
ager@google.com 1c96143867 Fix activity tracking in test scripts.
Only shutdown when all test listers are done and the process queue
is empty. Before there was a posibility that the script would shut
down when the queue got empty before all the listers were done.

R=whesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8565001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1500 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-14 09:21:28 +00:00