johnniwinther@google.com
fab6b77d03
Delete symbolic links on Windows
...
Review URL: https://codereview.chromium.org//11308094
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15074 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 12:38:43 +00:00
ahe@google.com
b51cd7f018
Fix link bug correctly.
...
Review URL: https://codereview.chromium.org//11418061
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15072 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 11:54:34 +00:00
ahe@google.com
f4ca9548c9
Allow tests to specify a package root.
...
Use a shared package root if none is specified.
Committed: https://code.google.com/p/dart/source/detail?r=15064
Review URL: https://codereview.chromium.org//11359187
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15070 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 11:35:57 +00:00
ahe@google.com
88a921030d
Revert "Allow tests to specify a package root."
...
Revert "Add dependencies for bots that doesn't build everything."
This reverts r15066 and r15064.
Review URL: https://codereview.chromium.org//11414055
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15068 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 10:42:55 +00:00
lrn@google.com
0c8dce77f1
Revert "Remove NullPointerException."
...
Crashes in the x64 VM.
Review URL: https://codereview.chromium.org//11417058
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15065 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 09:59:59 +00:00
ahe@google.com
89cc5a2d23
Allow tests to specify a package root.
...
Use a shared package root if none is specified.
Review URL: https://codereview.chromium.org//11359187
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15064 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 09:51:17 +00:00
lrn@google.com
e211c2f0ee
Remove NullPointerException.
...
Accessing non-existing members on null now throws NoSuchMethodError.
Throwing a null value fails by throwing a NullThrownError.
Methods checking for null now generally throw new ArgumentError(null).
Review URL: https://codereview.chromium.org//11415028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15061 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 08:51:49 +00:00
kustermann@google.com
42b89c9f77
Changed: TestCase.output -> TestCase.commandOutputs[]
...
Currently the TestCase has exactly one TestOutput. This worked
until now, since we were only interested in the output of the
last command.
This change introduces one CommandOutput for each command which
has been run. Doing so enables us to fetch output (stdin,stderr)
information as well as exitCode ... for all commands.
See also 11293278.
Review URL: https://codereview.chromium.org//11348088
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15006 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-16 11:17:47 +00:00
ricow@google.com
985285c80f
Cleanup the clobber tool (tools/clean_output_directory.py)
...
Since everything is now placed inside the build directory we can simply nuke that - if you are cross compiling the output of that should be withing HOST_OUT/TARGET_OUT.
Review URL: https://codereview.chromium.org//11419005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14999 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-16 07:38:42 +00:00
ricow@google.com
e07e058bb9
Remove the mode flag for clobbering - we will now just nuke the complete output directory.
...
Review URL: https://codereview.chromium.org//11411004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14998 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-16 07:37:24 +00:00
ricow@google.com
42ec29fd12
Always clobber all of the output directory
...
Review URL: https://codereview.chromium.org//11348061
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14953 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-15 11:46:11 +00:00
iposva@google.com
ffa06389eb
- Remove '-parallelizeTargets' from xcodebuild invocation as it eats
...
the error messages if a build fails when using Xcode 4.4.
Review URL: https://codereview.chromium.org//11280006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14950 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-15 10:13:30 +00:00
kustermann@google.com
3dc5c7056a
Revert of commit 14947
...
Review URL: https://codereview.chromium.org//11348060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14949 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-15 09:15:43 +00:00
kustermann@google.com
5ec78286df
Changed: TestCase.output -> TestCase.commandOutputs[]
...
Currently the TestCase has exactly one TestOutput. This worked
until now, since we were only interested in the output of the
last command.
This change introduces one CommandOutput for each command which
has been run. Doing so enables us to fetch output (stdin,stderr)
information as well as exitCode ... for all commands.
Review URL: https://codereview.chromium.org//11293278
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14947 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-15 09:05:41 +00:00
ager@google.com
0818b5ac2f
Change the xcode configuration file to use an overwritable variable
...
for the xcode gcc version.
This allows me to build with xcode 4 without a local patch to
build files by just creating overwrites in my ~/.gyp/include.gypi:
{
'variables': {
'xcode_gcc_version': 'com.apple.compilers.llvmgcc42',
'mac_sdk': '10.7',
'mac_deployment_target': '10.7',
}
}
R=ahe@google.com ,iposva@google.com
BUG=
Review URL: https://codereview.chromium.org//11410084
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14894 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-14 13:45:01 +00:00
whesse@google.com
92045c8c64
Change gyp flag from in_dartium to dart_io_support.
...
BUG=
Review URL: https://codereview.chromium.org//11377098
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14842 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 11:47:31 +00:00
ajohnsen@google.com
970cc5ba68
Move JSSyntaxRegExp to core as a private member. This removes the last refrences to dart:coreimpl.
...
After this cleanup, RegExp no longer have a const constructor. Use 'new
RegExp(...)' from now on.
BUG=
Review URL: https://codereview.chromium.org//11365196
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14838 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 10:41:37 +00:00
ajohnsen@google.com
ab69873a42
Make RegExp constructor non-const.
...
Another take of https://codereview.chromium.org/11410033/ with status changes applied for co19 tests.
BUG=
Review URL: https://codereview.chromium.org//11369210
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14837 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 10:18:06 +00:00
ajohnsen@google.com
ec9fee9858
"Reverting 14829-14832"
...
BUG=
Review URL: https://codereview.chromium.org//11312203
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14833 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 07:28:13 +00:00
ajohnsen@google.com
8dc3edd7ce
Make RegExp's constructor non-const.
...
BUG=
Review URL: https://codereview.chromium.org//11410033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14829 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 06:48:43 +00:00
blois@google.com
ed44b9285d
Splitting SVG types out of dart:html.
...
Beyond this CL I need to remove the SVG prefix for most of the classes, but this is an additional chunk of work.
Review URL: https://codereview.chromium.org//11398002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14808 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 21:15:06 +00:00
dgrove@google.com
4ef5bdd985
Continued cleanup of create_sdk.py now that we have sdk/bin in the
...
source repo.
Review URL: https://codereview.chromium.org//11377106
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14807 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 20:50:47 +00:00
floitsch@google.com
8e6f238f86
a === b -> identical(a, b)
...
Replace === null with == null.
BUG=http://dartbug.com/6380
Review URL: https://codereview.chromium.org//11361190
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14794 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 17:19:58 +00:00
antonm@google.com
1ba6e54811
Do not generate multiple tests for vm options.
...
R=ahe@google.com ,ager@google.com
BUG=6436
Review URL: https://codereview.chromium.org//11358175
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14786 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 13:26:30 +00:00
sgjesse@google.com
e905ac6fc4
Add -a option to tools/build.py
...
Short for --arch=
R=ager@google.com
BUG=
Review URL: https://codereview.chromium.org//11275255
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14784 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 12:55:02 +00:00
rnystrom@google.com
f30fb024ce
The goal here is to rearrange StandardTestSuite so that it's possible override some of its behavior for running package tests while still keeping the rest of the behavior.
...
This patch is just the refactoring. I'll do the actual pub stuff in a separate patch.
Review URL: https://codereview.chromium.org//11275217
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14757 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 20:56:59 +00:00
whesse@google.com
d131fa7e72
Disable NSS build targets in a Dartium build.
...
BUG=
Review URL: https://codereview.chromium.org//11369152
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14740 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 13:56:08 +00:00
kustermann@google.com
e78ad924f6
Added support for logging the output of failed flaky tests.
...
Failed flaky tests will be logged to 'failed_flaky_tests.log'.
The default behavior is that the old log file gets deleted before
any tests are run. To prevent this, the '--append_flaky_log' option
can be set.
Review URL: https://codereview.chromium.org//11364129
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14735 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 12:08:00 +00:00
efortuna@google.com
4a23980c8a
Take 2 of splitting html tests into subtests. Had to make two changes to drt to
...
fully work.
Review URL: https://codereview.chromium.org//11368128
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14703 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 18:54:14 +00:00
efortuna@google.com
868b439bc4
Revert run large html tests individually.
...
Review URL: https://codereview.chromium.org//11406002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14667 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 00:11:09 +00:00
efortuna@google.com
bf9cd05e79
Move html_individual_config to correct location after tree rearranging.
...
Review URL: https://codereview.chromium.org//11362147
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14664 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 23:53:11 +00:00
efortuna@google.com
3476d1c528
Run large html tests individually.
...
Review URL: https://codereview.chromium.org//11293019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14663 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 23:42:50 +00:00
kustermann@google.com
3462f1ecaa
Don't run compile-time error tests on browsers.
...
Also added a new category to the report stating the number of tests
we skipped because of this.
Review URL: https://codereview.chromium.org//11368101
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14571 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 14:46:10 +00:00
johnniwinther@google.com
07e6f0d876
Handle (missing) trailing slash in dartdoc
...
Review URL: https://codereview.chromium.org//11369092
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14561 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 11:54:40 +00:00
johnniwinther@google.com
b3f4c99af6
Revert "Handle (missing) trailing slash in dartdoc"
...
This reverts commit r14536.
Review URL: https://codereview.chromium.org//11369076
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14537 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 16:37:53 +00:00
johnniwinther@google.com
b861fa6566
Handle (missing) trailing slash in dartdoc
...
BUG=2311
Review URL: https://codereview.chromium.org//11369074
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14536 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 16:29:36 +00:00
ahe@google.com
9b49d61cfb
Fix syntax errors.
...
Review URL: https://codereview.chromium.org//11362079
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14512 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 06:22:15 +00:00
ahe@google.com
a57b4fbf71
Prevent hanging if selenium cannot close browser.
...
Review URL: https://codereview.chromium.org//11275125
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14511 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 06:17:33 +00:00
ahe@google.com
11d89eac86
Escape backslashes in Windows file names to avoid conflicts with regular expressions.
...
This should fix dart2js Windows builds.
Review URL: https://codereview.chromium.org//11363055
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14490 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 17:02:07 +00:00
devoncarew@google.com
c188e03eda
Fixup a path to dartdoc in the sdk. The pkg directory is in a slightly different location in the repo vs the sdk.
...
Review URL: https://codereview.chromium.org//11366063
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14489 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 16:52:55 +00:00
dgrove@google.com
7897a78551
Changes outside pkg/ and lib/ for directory refactoring
...
Review URL: https://codereview.chromium.org//11358024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14475 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 15:18:11 +00:00
lrn@google.com
2208fcd208
Change NotImplementedException to UnimplementedError.
...
Retain a NotImplementedException type for backwards compatibility.
This class will be removed soon.
The constructor of UnimplementedError is currently const in order to
support the NotImplementedException. That will be fixed too.
Review URL: https://codereview.chromium.org//11358060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14467 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 13:18:37 +00:00
ahe@google.com
dd897e755e
Disable wrapping of Firefox/Windows dart2js tests.
...
Review URL: https://codereview.chromium.org//11312059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14451 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 07:13:26 +00:00
gram@google.com
981c4b11df
Restructure pkg/unittest and pkg/webdriver to follow the pub conventions.
...
This means all imports of unittest in our test code had to change to include 'lib' in the path.
While doing that change I changed the library/imports to the new syntax in the affected files.
Review URL: https://codereview.chromium.org//11301046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14443 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 23:09:47 +00:00
rnystrom@google.com
95eca960c7
Run 'pkg' tests on pub bots.
...
Review URL: https://codereview.chromium.org//11358049
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14442 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 22:52:06 +00:00
gram@google.com
353f4c4c8a
Update test utils to generate wrappers with new library syntax and handle
...
tests with new library syntax.
Review URL: https://codereview.chromium.org//11358045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14437 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 21:31:27 +00:00
iposva@google.com
970fe841d3
- Emit frame pointers in C++ code: Enables better support for tools.
...
Review URL: https://codereview.chromium.org//11364026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14425 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 18:41:34 +00:00
ahe@google.com
fbe2e51663
Disable Firefox console logging as it appears to hang the browser.
...
See this selenium bug: http://code.google.com/p/selenium/issues/detail?id=4375
Review URL: https://codereview.chromium.org//11362036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14419 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 17:46:30 +00:00
kasperl@google.com
87c3813fc9
Use statically linked runtime library to avoid dependency on msvcr100.dll on windows.
...
R=ricow@google.com ,iposva@google.com
BUG=
Review URL: https://codereview.chromium.org//11367034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14406 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 13:49:05 +00:00
ager@google.com
0fed52bd2d
Only start http server for browser tests.
...
This reduces the annoyance of the fixed port number used and allows
non-browser test configurations to be run in parallel (or one browser
configuration in parallel with a bunch of non-browser configurations).
R=ahe@google.com ,ricow@google.com
BUG=
Review URL: https://codereview.chromium.org//11360028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14403 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 12:58:44 +00:00