209 Commits

Author SHA1 Message Date
Andy Hanson
6d79aa66eb Factor public type definitions out of services.ts into services/types.ts 2016-09-02 11:38:42 -07:00
Ryan Cavanaugh
6c60e5b105 Remove needless call to basename 2016-08-19 14:34:14 -07:00
Yui
da8fc5d5a9 Fix 10289: correctly generate tsconfig.json with --lib (#10355)
* Separate generate tsconfig into its own function and implement init with --lib

# Conflicts:
#	src/compiler/tsc.ts

* Add tests and baselines; Update function name

Add unittests and baselines
Add unittests and baselines for generating tsconfig

Move unittest into harness folder

Update harness tsconfig.json

USe correct function name

* Use new MapLike interstead. Update unittest

# Conflicts:
#	src/compiler/commandLineParser.ts

* Update JakeFile

* Add tests for incorrect cases

* Address PR : remove explicity write node_modules
2016-08-17 15:23:28 -07:00
Ryan Cavanaugh
bf63811e1f Merge pull request #10213 from RyanCavanaugh/baselinePerf
Make baselines faster by not writing out unneeded files
2016-08-17 11:13:18 -07:00
Wesley Wigham
a1dad91120 Parallel linting (#10313)
* A perilous thing, a parallel lint

* Use work queue rather than scheduling work

* Dont read files for lint on main thread

* Fix style
2016-08-15 10:45:46 -07:00
Wesley Wigham
d206046659 Collect timing information for commands running on travis (#10308) 2016-08-12 14:00:50 -07:00
Wesley Wigham
c9f62f33d4 Add folds to travis log (#10269) 2016-08-11 09:53:38 -07:00
Ryan Cavanaugh
5adceb92a7 Remove use strict 2016-08-08 15:40:25 -07:00
Ryan Cavanaugh
53d54c2b28 Make baselines faster by not writing out unneeded files 2016-08-08 14:30:27 -07:00
Wesley Wigham
269b828538 Fix lssl task (#9967) 2016-08-05 14:16:29 -07:00
Andy Hanson
a485aab055 Lint tests helper files 2016-07-29 08:27:01 -07:00
Andy Hanson
d5beef9261 Get rid of port parameter 2016-07-28 13:40:05 -07:00
Andy
ac96a86437 Merge pull request #9963 from Microsoft/jake_runtests_services
Add servicesSources to the list of prerequisites for running tests
2016-07-27 05:35:41 -07:00
Wesley Wigham
e12f2d8232 Add assertion whitespace lint rule (#9931)
* Add assertion whitespace lint rule

* Fix typo

* Add the word `Rule` to Jakefile
2016-07-26 13:29:53 -07:00
Andy Hanson
89788f818e Add servicesSources to the list of prerequisites for running tests 2016-07-26 11:46:08 -07:00
Sudheesh Singanamalla
f24341f719 Remove dependency on tsd, Related to #9658 (#9724) 2016-07-21 12:25:21 -07:00
Wesley Wigham
2a26beb9d8 Add performance framework from transforms branch (#9536)
* Port performance tools from transforms branch

* Use friendlier names, add compiler option to print all recorded measures

* Always print total time

* + -> .getTime
2016-07-19 15:10:29 -07:00
Wesley Wigham
cfe3aadeb3
Move unittests into harness 2016-07-11 17:42:52 -07:00
Wesley Wigham
fb20df0568
Have tsconfig for harness 2016-07-11 16:36:20 -07:00
Nathan Shively-Sanders
b543074861 Compile with --noImplicitThis
1. Add to various tsconfig.json
2. Add to Jakefile
3. Add annotations where needed.
4. Add workaround to shims.ts, which uses toplevel `this`.
2016-07-08 15:13:32 -07:00
Yui
a591d40584 Increase timeout from running RWC. As UWDWeb takes slightly longer now (#9454) 2016-07-01 09:59:30 -07:00
Wesley Wigham
1c5d8344be
Add new lint rule 2016-06-23 12:32:14 -07:00
Wesley Wigham
a2fdc7e7ca
Add Gulpfile lint to jake, fix lints 2016-06-23 10:12:14 -07:00
Wesley Wigham
b103857b23
Merge branch 'master' into remove-jake 2016-06-20 16:33:01 -07:00
Richard Knoll
f817ffaf47 Merge branch 'master' into glob2_merged 2016-06-17 17:55:15 -07:00
Richard Knoll
08ca1c0dff Merge branch 'master' into glob2_merged 2016-06-17 15:34:06 -07:00
Wesley Wigham
4628e1a809
Add --types to pass an empty array to types to disable @types in Jakefile 2016-06-14 15:19:03 -07:00
Wesley Wigham
dc14ce2eb2
Give Jakefile its ending newline back 2016-06-14 14:58:26 -07:00
Wesley Wigham
684ce6e2d1
Add back in Jakefile for transitional period 2016-06-14 14:44:38 -07:00
Andy Hanson
7d31bcf87b Add option to bail out of jake runtests when one test fails 2016-06-13 13:35:37 -07:00
Yui
81d1ccfe87 Only inlineSourceMap when debugging through jake-browser (#9080)
* Only inlineSourceMap when debugging through jake-browser

* Address PR: fix typo in opt's property
2016-06-10 18:22:20 -07:00
Wesley Wigham
2b1b58ba44
Add gulpfile with same tasks as Jakefile 2016-06-10 01:49:38 -07:00
Ron Buckton
a1e41350f6 Merge pull request #9066 from Microsoft/fixRuntestsParallel
Fixes issue with runtests-parallel
2016-06-09 23:59:09 -07:00
Ron Buckton
5af8ba8bf8 Fixes an issue with runtests-parallel when global mocha is not installed. 2016-06-09 22:07:07 -07:00
Wesley Wigham
d0f669e956 Merge pull request #9059 from Microsoft/remove-tsservicesinbrowser
Fix sourcemaps for debugging tests in browser
2016-06-09 13:57:10 -07:00
Wesley Wigham
88be1ac1c3
Fix sourcemaps for debugging tests 2016-06-09 11:47:41 -07:00
Ron Buckton
c14d711ab6 Merge pull request #9043 from Microsoft/parallelTestProgress
Adds progress indicators to the runtests-parallel build task.
2016-06-08 19:23:45 -07:00
Ron Buckton
19baf1f38a Adds progress indicators to the runtests-parallel build task. 2016-06-08 18:09:36 -07:00
Mohamed Hegazy
d36d2b3eaa Merge pull request #8771 from YuichiNukiyama/fix8505
add SharedArrayBuffer
2016-06-08 13:27:09 -07:00
Dick van den Brink
65bbeb1f8c Force LF newlines for LKG builds/non debug builds
Fixes 6630
2016-06-08 19:33:03 +02:00
Andy
2918c18f28 Merge pull request #8992 from Microsoft/runtests-browser-spaces
Make `jake runtests-browser` support test regexes with spaces
2016-06-06 13:20:44 -07:00
Andy Hanson
52138e0078 Make jake runtests-browser support test regexes with spaces
For example: `jake runtests-browser t="transpile .js files"` now works.
2016-06-06 11:48:08 -07:00
Andy Hanson
e05e11200b Remove trailing whitespace in jakefile 2016-06-06 11:37:59 -07:00
Vladimir Matveev
92177bee91 initial revision of unit test support for project system in tsserver 2016-06-02 00:03:10 -07:00
Nathan Shively-Sanders
e4ca76898f Remove redundant parameter to writeTestConfigFile
It allowed a new parameter to silently succeed, causing runtests-browser
to run zero files.
2016-05-31 10:17:45 -07:00
Vladimir Matveev
eab2511989 update signature of finishWorker 2016-05-27 09:51:30 -07:00
Richard Knoll
50f0033e61 Merge branch 'master' into glob2_merged
Conflicts:
	src/compiler/sys.ts
	src/harness/harnessLanguageService.ts
	tests/cases/unittests/cachingInServerLSHost.ts
	tests/cases/unittests/tsconfigParsing.ts
2016-05-26 10:04:54 -07:00
Richard Knoll
084b94c4c1 Merge branch 'master' into glob2
Conflicts:
	Jakefile.js
	src/compiler/commandLineParser.ts
	src/compiler/core.ts
	src/compiler/sys.ts
	src/harness/harness.ts
	src/server/editorServices.ts
	src/services/shims.ts
	tests/cases/unittests/cachingInServerLSHost.ts
2016-05-25 17:06:50 -07:00
Vladimir Matveev
3e3ae7bd90 merge with origin/master, address PR feedback 2016-05-25 16:23:51 -07:00
Vladimir Matveev
aa53b9ee7b Merge pull request #8804 from Microsoft/fixTestRun
do not swallow test execution errors (uncovers recent build break)
2016-05-25 09:50:22 -07:00