Commit Graph

869 Commits

Author SHA1 Message Date
David Glasser
55928eae0a Use consistent require filename within function 2014-02-03 17:16:52 -08:00
David Glasser
20860eb8f6 Allow packages named 'constructor', etc
Not a regression in tool-refactoring.
2014-02-03 16:55:38 -08:00
David Glasser
5d11ee54c2 Don't describe update --release as "latest"
This bug predated tool-refactoring.
2014-02-03 11:39:30 -08:00
David Glasser
211021c24c Fix "meteor update --release some-old-release" 2014-02-03 11:21:18 -08:00
David Glasser
4155bd2372 Update update comment
Unless I'm confused, the code in the comment also runs in the pretty
typical case where you already have the latest release on your system
but the app you're in is pinned to an older release, and you run "meteor
update" without passing --release.  And that case was not described by
the previous comment.
2014-02-03 11:11:28 -08:00
David Glasser
14bd4fb592 grammar: make 'net' skip message match others
I am resisting writing the code to change the grammar if only 1 test is
skipped due to that tag.
2014-02-03 10:41:55 -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
David Glasser
f6022a57c8 self-test: detect online status
rationale: I had no idea that "self-test --offline" existed, and I even
gave code review suggesting that it be implemented! Since we have code
already to detect whether you are online, and we print a clear message
about the skipped tests, make the default convenient.

Automated QA (which want to always run every test) can pass
--force-online instead.
2014-02-03 10:36:50 -08:00
David Glasser
f36dc758b8 add "scoped" Sandbox.cd to tests
I honestly have found it difficult in the old cli-test.sh to figure out
which tests were inside which directories and wanted something like
this there.
2014-02-03 10:27:08 -08:00
David Glasser
fd9c0c8641 Fix wrong variable name
This commit should come with a test, but I'm offline and you can't
generate this error while offline.
2014-02-03 10:04:24 -08:00
David Glasser
13b84e5c80 Don't require('request') unless necessary
13% speedup to `meteor self-test`. (Thanks, $METEOR_PROFILE_REQUIRE!)
2014-01-31 16:43:30 -05:00
David Glasser
f782a51442 document default value of requiresApp 2014-01-31 15:24:46 -05:00
David Glasser
53220acc72 Extend a comment 2014-01-31 15:18:55 -05:00
David Glasser
d954baeaac Support "meteor admin help".
(I assume this was intended to work because it is explicitly suggested
when you type "meteor admin"!)
2014-01-31 14:16:00 -05:00
David Glasser
ddf38a72ac Move a declaration closer to its use 2014-01-31 13:59:27 -05:00
David Glasser
a20d1bd7f1 Remove check for no-longer-used env var 2014-01-31 13:51:11 -05:00
David Glasser
36c1db9e03 Minor comment cleanups
(Good news; no commands do call process.exit!)
2014-01-30 22:05:31 -05:00
David Glasser
42ddda33b5 Remove unused require from main 2014-01-30 20:47:31 -05:00
David Glasser
c26a5e13b8 Sort of explain why an error shouldn't happen 2014-01-30 20:31:40 -05:00
David Glasser
5323dbef3f Use utils.randomToken in meteor-npm.js 2014-01-30 20:23:58 -05:00
David Glasser
00a3dbeb5d Remove unused cp_r preserveMode option
I had originally created a commit which let preserveMode reuse the
return value of the fs.statSync a few lines up in the file, but since
the code is dead, there was no way to test it. Removing the dead code
seemed like a better approach.  (If you want to revert this commit, I
recommend reusing the stat buffer!)
2014-01-30 20:17:18 -05:00
David Glasser
f5f42e96d5 Restore a comment I found helpful. 2014-01-30 20:12:22 -05:00
David Glasser
fb84f4c48b (Some dots do go inside parens.) 2014-01-30 16:54:14 -08:00
David Glasser
46482f51fb typo fix 2014-01-30 16:47:00 -08:00
David Glasser
57095409fb More concrete explanation of markBottom vs markTop 2014-01-30 16:46:28 -08:00
David Glasser
5ca01e736a drop unused nonstandard require 2014-01-30 16:13:14 -08:00
David Glasser
6f7a6d82c7 remove recursive require 2014-01-30 11:39:19 -08:00
David Glasser
736cac2e42 Fix stack trace on 'asdf --version', etc 2014-01-30 11:30:55 -08:00
David Glasser
ed72f1807e tidiness 2014-01-30 11:10:59 -08:00
David Glasser
b42a29f628 Fix misunderstanding of kexec arguments 2014-01-30 11:02:04 -08:00
David Glasser
a49e7def5e Merge branch 'sso' into tool-refactoring
Conflicts:
	tools/meteor.js
	tools/run.js
2014-01-30 10:49:29 -08:00
Emily Stark
36ff205437 Merge remote-tracking branch 'origin/devel' into sso 2014-01-30 10:18:42 -08:00
David Glasser
a3b7213247 Clean up #1774 2014-01-29 14:39:35 -08:00
Marc-Andre Lafortune
5cfe47e1f6 Document 'where' parameter for packages 2014-01-29 14:39:35 -08:00
Geoff Schmidt
b7d84a93e7 Fix cli-test for new port scheme. 2014-01-29 03:35:11 -08:00
Geoff Schmidt
e1994f6ece First installment of 'meteor run' tests.
Tests meteor --once and restarting on upgrade.
2014-01-29 02:02:17 -08:00
Geoff Schmidt
377d940ba0 fake-mongod, a stub mongod for automated testing 2014-01-28 19:36:04 -08:00
Geoff Schmidt
fd5073888a Rename 'self tests' directory to 'tests' 2014-01-28 16:00:46 -08:00
David Glasser
3104ddb6e5 Style change to skel to match shark. 2014-01-27 14:17:31 -08:00
David Glasser
8f4963ecd2 Use new exec 2014-01-27 13:52:54 -08:00
Geoff Schmidt
cdc894a0aa finish bringing all old tool tests under the 'meteor self-test' umbrella 2014-01-27 07:02:38 -08:00
Geoff Schmidt
b26ccb914e port some old tests - WIP 2014-01-27 06:02:01 -08:00
Geoff Schmidt
b3a113e699 port some old tests - WIP 2014-01-27 05:22:01 -08:00
Geoff Schmidt
83183a98d0 remove unused, bitrotted engine transition test hook 2014-01-27 02:34:53 -08:00
Geoff Schmidt
5f7393b3a4 Autoupdater tests! They pass. 2014-01-27 02:31:39 -08:00
Geoff Schmidt
32f2791942 Test springboarding errors/edge cases. 2014-01-27 01:13:18 -08:00
Geoff Schmidt
8c4d68ee28 double-check that we're springboarding 2014-01-27 00:08:36 -08:00
Geoff Schmidt
35c208b5b9 Tags group tests. 2014-01-26 22:27:15 -08:00
Geoff Schmidt
170861a358 better handling for apps in self-test sandbox 2014-01-26 21:08:59 -08:00
Geoff Schmidt
89d778a622 Hey cool! A springboarding test! 2014-01-26 20:48:20 -08:00