Commit Graph

18 Commits

Author SHA1 Message Date
Sashko Stubailo
2eaa848bcc Convert __dirname to standard path 2015-02-09 13:49:57 -08:00
Avital Oliver
5570c31da7 Add clarifying comment 2015-02-04 13:25:20 -08:00
Avital Oliver
7b82a31b9b Use correct path types when using Run in selftest
Originally from a code review comment of Sashko's.
Part of this commit is making explicit the contract
for arguments passed to `Run`.
2015-02-04 13:08:04 -08:00
Avital Oliver
d174d0d134 Fix two self-tests on Windows via files.convertToOSPath 2015-02-02 10:50:44 -08:00
David Glasser
64645d8727 Fix pathwatcher fallback tests
- Future.wait does not throw
- any non-empty env var counts as true
2014-12-16 17:04:53 -08:00
Ben Newman
c3a23698fe Run file watching tests with both pathwatcher.watch and fs.watchFile.
Running the two versions of the test in parallel is safe because they run
in separate processes, and a good idea because it cuts the time taken by
the test in half, from 36sec to 19sec.
2014-12-16 19:25:25 -05:00
Sashko Stubailo
e7167e5257 Factor out almost all fs. and path. calls in the tool
This will be useful when we want to be smart with windows file paths later
Also, all of the file calls are asynchronous with fibers now, which comes with
many benefits.

This is a combination of 23 commits. Original messages:
Wrap a large number of fs calls inside files.*

Convert a few more fs calls to files.*

More moving fs.* to files

Implement read/write streams and open/read/close

Get rid of fs from auth.js

Remove fs and unused imports from catalog-local and catalog-remote

Remove unused imports from catalog.js

Replace a whole lot of fs calls

Fix error

Migrate a lot more fs. calls to files.

Add a temporary symlink method

Convert old test to files.*

Use files.pathX instead of path.x everywhere

Replace path.x to files.pathX in tests

Small fixes to files.js and one rename

Make cleanup run in a fiber

Make wrapping functions take function name in case we need it

Add some timeouts and stuff to HCP tests

wrapFsFunc also makes a sync version of the function

Sometimes you just don't want to yield!

Make sure JsImage readFromDisk doesn't yield

Remove unused imports from npm test

Change order of test now that some things don't yield

Fix missing files import, and add a debug error printout
2014-12-15 15:32:06 -08:00
Emily Stark
dcf3539f7d Remove 'old cli tests (warehouse)'.
It hasn't passed for a while and we have no plans to fix it.
2014-09-11 15:31:02 -07:00
Emily Stark
c1a5443ba7 Two small steps towards getting "old cli tests (warehouse)" to run 2014-07-22 17:14:02 -07:00
ekatek
8bb675c0b6 cleaning up some tests to run from release 2014-07-17 15:41:39 -07:00
David Glasser
d422da3584 bundler-options passes 2014-06-10 19:25:38 -07:00
David Glasser
6d3257909d test-bundler-assets passes 2014-06-10 19:13:48 -07:00
ekatek
1cf0655da4 Bundler should not take appDir and loader as arguments anymore 2014-05-30 18:32:49 -07:00
David Glasser
67bc21c0a9 pass path to node to cli-test 2014-02-06 13:30:09 -08:00
David Glasser
a74855d50a bundler-assets: find meteor 2014-02-06 12:32:07 -08:00
David Glasser
7f2eccecda more efforts to get released self-test working 2014-02-06 12:00:49 -08:00
David Glasser
576573f688 Add 'net' tag to some 'slow' tags that use npm
'meteor self-test --slow' now passes while offline
2014-02-03 10:39:48 -08:00
Geoff Schmidt
fd5073888a Rename 'self tests' directory to 'tests' 2014-01-28 16:00:46 -08:00