Commit Graph

17 Commits

Author SHA1 Message Date
David Glasser
ee220b1da7 fix cli-test 2013-10-03 15:52:20 -07:00
David Glasser
997fbf33f6 Re-enable cli-test with fake warehouse. 2013-08-02 18:41:15 -07:00
David Glasser
957729c8ce Get run-tools-tests.sh passing.
In addition to minor "make the tests match the code" changes, there's also:

 - missing require('tar') in tarball download code
 - fix an fd leak in the bundler that was causing EMFILE on mac
 - switch run.js to listening for 'exit' to 'close' so that the end
   of stdout/err can be read
 - some concerningly necessary deletions of .build directories

Also, the version of cli-test.sh that runs against a fixed release is disabled,
since we're not building releases with the new package format for now.
2013-05-17 18:19:20 -07:00
Geoff Schmidt
45217c41f3 Unbreak cli-test.sh 2013-05-13 11:51:52 -07:00
Avital Oliver
1ef5cfceb1 Glasser code review 2013-04-24 15:27:17 -07:00
Avital Oliver
b8886b3935 Improve CLI testing
- Test fake installed version of CLI
- Test springboarding against a fake release
2013-04-24 15:27:17 -07:00
David Glasser
d7c25052a5 allow TEST_RELEASE with --global 2013-04-01 17:19:08 -07:00
David Glasser
9a0fd7f5d7 make cli-test.sh --global work again 2013-04-01 17:14:28 -07:00
David Glasser
69b19330a2 make cli-test pass again 2013-03-30 17:58:04 -07:00
David Glasser
d9af3c210d make run-tools-tests pass for a brief while 2013-03-29 22:43:38 -07:00
David Glasser
4df4a5e03c fix cli-test for new help text 2013-03-29 16:26:51 -07:00
David Glasser
3c8f21a409 make TEST_WAREHOUSE_DIR a non-test thing called METEOR_WAREHOUSE_DIR
(the non-springboarding piece of that is now controlled by
METEOR_TEST_NO_SPRINGBOARD)

This means that run-all-tests.sh can use launch-meteor to bootstrap a warehouse
instead of starting with an empty warehouse directory (which is no longer
allowed).

also, fix npm module usage out of the bootstrap tarball: we were too liberal in
the "never update npm dependencies in the warehouse" rule since the bootstrap
tarball would contain packages with no node_modules (or if we had a failure
between downloading a package and running installNpmDependencies).  instead,
"never update npm dependencies in the warehouse if .npm/node_modules already
exists".
2013-03-29 11:52:32 -07:00
David Glasser
425278ad35 use alpha1 in run-tools-tests 2013-03-21 15:16:47 -07:00
David Glasser
7712b3a077 replace --package-dir with the ability to specify paths to packages.
while I'm at it, fix it so that it actually works if the package's on_test tries
to use() itself (which is common). This previously did not work with
--package-dir
2013-03-19 23:25:21 -07:00
David Glasser
83907a9f5b fix test: stuff is now going to stderr 2013-03-19 20:31:48 -07:00
David Glasser
b7bec5a391 update scripts because --version exits 1 2013-03-19 20:22:01 -07:00
David Glasser
8a79edb43b "tools" -> "scripts", "engine" -> "tools" 2013-03-19 18:19:31 -07:00