Bart van der Schoor
967e9c865f
removed runner code from repos
...
linked to definition-tester on github
2014-07-01 21:44:29 +02:00
Ryan Cavanaugh
98cd5ba776
Add readFile promise wrapper
2014-05-21 14:25:16 -07:00
Ryan Cavanaugh
2910d80558
Don't use tscparams files that are just '""'
2014-05-21 14:25:08 -07:00
vvakame
887dfd3c68
add TypeScript 1.0.2.1(225bad534ce29fb27e66b451a501ccc18518e33c) to _infrastructure
2014-05-13 11:46:44 +09:00
vvakame
ed08c5278d
add TypeScript 1.0.1 to _infrastructure
2014-05-13 11:45:00 +09:00
Bart van der Schoor
d7f85b5df8
quick fix for runner, added npm script to recompile runner
...
use less cores (24 vs 32)
use bundled compiler to rebuild
added '$ npm run tsc_runner'
2014-04-07 01:52:46 +02:00
vvakame
a732bb1c40
added TypeScript 1.0 LKG to _infrastructure/tests/typescript/1.0.0/
2014-04-03 09:07:26 +09:00
Bart van der Schoor
967dae3a67
changed runner Syntax pass to only compile declarations
2014-03-08 02:09:36 +01:00
Bart van der Schoor
751c92514b
added --sourcemap to compile bat
2014-03-08 01:26:06 +01:00
Bart van der Schoor
0119825e4a
allow magic branch to run full test
2014-03-08 01:25:43 +01:00
Bart van der Schoor
c70eba3237
fixed async flaw in test runner
...
silly flow problem could bypass concurrency limits
2014-03-08 01:06:08 +01:00
Bart van der Schoor
08c3557397
added tester cli options
...
added optimist dependency
sourced optimist definition
changed cli options to use optimist
expose verbose info printers as options
added skipTests option
added npm scripts (lazy)
$ npm run test
$ npm run dry
$ npm run all
$ npm run list
$ npm run help
bumped default tsc version to 0.9.7
tester disabled test filer
tuned suite regexs
tuned npm run commands
added print helpers
2014-03-02 01:44:24 +01:00
Bart van der Schoor
a0e4fc304f
parallelized tester
...
added TestQueue class
suites now have TestQueue instance that queues and runs Tests
defaults to two (or more if more cores available)
- Travis has '1.5 virtual cores' (weird)
dropped index parameter from suite callback
added index parameter to Reporter
dropped double Suite::filterTargetFiles calls
small fix in bluebird defs
also print some system info in tester header
2014-03-02 01:41:38 +01:00
Bart van der Schoor
b134395b23
tuned tester
...
tuned output to show changes / removals
test filter RegExp finds:
- file-tests.d.ts
- file-test.d.ts
2014-03-01 06:24:09 +01:00
Bart van der Schoor
4f99c0eb3c
tester refactored & handle removed files
...
abort test if a referred file is removed
reworked main promise flow
moved code from runner to index.ts
moved code from runner to print.ts
added logic to handle file removal to index.ts
expanded state in index.ts
dropped property File::formatName
2014-03-01 05:09:00 +01:00
Bart van der Schoor
8c80a0a768
reworked tester flow and resolver
...
rewrote the reference loop
- ditched triple loop
- added reference map with low-fi queue resolver
simplified promise flow
ditched some methods
move print code to helpers
2014-03-01 01:38:00 +01:00
Bart van der Schoor
ca2fa0719b
converted tester to promises & lazy iteration
...
added bluebird & lazy.js dependencies
checking-in used definitions
added tsd.json
parallelized async with bluebird
most iteration uses lazy.js
re-factored test flow to promise structure (instead of chain)
renamed some stuff
linted some quotes
cleaned up output
added some color
2014-02-28 20:32:41 +01:00
Bart van der Schoor
76ffe56a44
first setup for incremental testing
...
combines reference parser and git changes
still very dev mode
2014-02-28 20:27:33 +01:00
Bart van der Schoor
8b1a4c1040
added git-change helper
...
added dependencies to package.json
renamed file index helper
restructured references
added _ref.d.ts
changed references to double-quoted
2014-02-28 20:27:33 +01:00
Bart van der Schoor
880e167158
added reference parser
...
stores as File::references[]:File
added source-map-support dependency
added glob dependency
ditched io env wrapper for regular node fs / glob
ditched exec env windows wrapper
added <reference> extract util
cleaned File.ts directory handling
added pre-stage to test runner
temporary exclude most files (for testing)
2014-02-28 20:27:32 +01:00
Bart van der Schoor
513db1d6ad
split runner code over files
...
main file got cumbersome
- extracted parts to own files
- still one --out file
- existing code into DT module
cleaned some syntax and lint
expanded arrow-functions to full form
builds using 0.9.7
2014-02-28 20:27:32 +01:00
vvakame
d76b9833b2
Removed unreleased TypeScript versions
2014-02-26 09:34:14 +09:00
vvakame
53a1f820ca
Added a new version of TypeScript (0.9.7)
2014-02-26 09:32:53 +09:00
vvakame
281e3ab866
Added a new version of TypeScript (66c2df0a382d7533605236567acfb8fcc7800726)
2014-02-25 11:15:50 +09:00
vvakame
13a7504512
Added a new version of TypeScript (59a846d0bb3d532d26d9cc94696d7b7e276e0666)
2014-02-12 12:20:16 +09:00
Masahiro Wakame
86079ffb6e
Switch test runner's tsc version 0.9.1.1 to 0.9.5
2013-12-06 10:40:31 +09:00
vvakame
ebb41cfe47
Add tsc version 0.9.5 beta
...
from typescript repo origin/release-0.9.5/HEAD (f22a9d2ba03c102b096e9f8c4157a9a066c004d9)
2013-11-22 12:32:19 +09:00
vvakame
9b7dba0e10
Add support to switch tsc version at testing
2013-11-22 12:32:18 +09:00
Masahiro Wakame
f5e0efcc87
Fix latent bug it found by prev commit, avoid unexpected callback happen.
...
maxBuffer’s default is 200*1024 byte in Node.js require('child_process').exec
but…
$ node _infrastructure/tests/typescript/tsc.js --noImplicitAny threejs/three-tests.ts 2>&1 > /dev/null | wc
1963 21628 291809
over 200KB, when exec method called callback function, but it is not completed yet. exitCode === undefined.
2013-11-21 19:59:41 +09:00
Masahiro Wakame
c94bdd6794
Fix success or failed determine code bug
...
currently implementation was erroneous decision, e.g. _infrastructure/tests/typescript/tsc.js not exists.
2013-11-21 19:59:40 +09:00
vvakame
c09cda4109
Add option --try-without-tscparams support to runner.ts
2013-11-19 13:56:06 +09:00
vvakame
fdf282571a
Rename runner2.ts to runner.ts
2013-11-19 02:42:42 +09:00
vvakame
371eaf5bea
Remove runner.ts
2013-11-19 02:42:42 +09:00
vvakame
68c1c3c1a8
Rewrite runner2.ts
...
It became easy to add more test suite!
2013-11-19 02:42:16 +09:00
basarat
2a0c6199e7
infrastructure: closes #1234 , Print errors delivered from the typescript compiler if any
2013-11-10 22:24:26 +11:00
basarat
dbb2bb6b15
infrastructure: naming review for Print functions
2013-11-10 19:49:57 +11:00
basarat
ef2d61cff4
infrastructure: keep a reference to execResult instead of only exit code to possibly print the stderr stream contents
2013-11-10 19:46:45 +11:00
basarat
a5c59d1e26
infrastructure : cosmetic changes to test runner
2013-11-10 18:57:46 +11:00
vvakame
e7561e2fca
Added default parameter '--noImplicitAny' to runner.ts
2013-10-03 10:18:57 +09:00
Boris Yankov
0ffe032102
Fix typo in test runner
2013-08-26 00:16:13 +03:00
Diullei
f782f46537
update runner.ts version
2013-08-24 22:29:08 -03:00
Diullei
0caec5769f
update test runner to 0.9.1.1
2013-08-24 21:17:53 -03:00
gstamac
eb4eb383bc
added possibility to provide extra TSC params in test runner (see Backgrid)
2013-08-23 20:52:29 +02:00
Andrew Gaspar
35fcd0d844
Merge branch 'moduletests' of https://github.com/AndrewGaspar/DefinitelyTyped into moduletests
2013-08-16 14:24:44 -05:00
Andrew Gaspar
8d8f64e39b
Updated runner.ts to compile with the module flag to improve test performance.
2013-08-16 14:15:13 -05:00
Andrew Gaspar
d23d64c2a0
tests now run with module flag set to commonjs
2013-08-15 19:48:49 -05:00
Boris Yankov
f677cca98d
Multiple bool => boolean fixes
2013-08-07 18:02:05 +03:00
Boris Yankov
dd35f69637
Big replacement: bool with boolean
2013-08-07 16:59:39 +03:00
Diullei Gomes
830258f9f4
update test runner to 0.9.1
2013-08-06 19:34:20 -03:00
jraymakers
5ce7d2786a
fix spelling mistakes in test runner
2013-07-27 18:28:08 -07:00