Sashko Stubailo
b7979dde37
Add missing phantomjs script file
2015-02-10 11:56:20 -08:00
Sashko Stubailo
1bd5ea4cc5
Fix test that was broken by newline conversion
...
We used to convert newlines on readFile, and now we don't.
This broke the test, so I have manually inspected the output
and updated the hash.
2015-02-10 11:54:43 -08:00
Avital Oliver
08fccd4e27
Don't run tests with colon filenames on Windows
...
These tests are intended to guard against accidentally working with files
that have colons when on Mac/Linux, and then those packages not working on
Windows. There's nothing to test about the other direction.
2015-02-10 11:46:14 -08:00
Sashko Stubailo
23e71a764f
Mark two tests as client-refresh
2015-02-10 11:42:36 -08:00
Sashko Stubailo
7f6231f01d
Don't use bash to run phantomjs
2015-02-10 11:42:36 -08:00
Avital Oliver
15e87e33e8
Fix tests hard-coding METEOR as release track
...
Now it reads the value from catalog.DEFAULT_TRACK, which is both more
correct and necessary for the current "preview" state of Windows.
Fixed the following self-tests on Windows:
- run: update during run
- releases: springboard
Unfortunately, the autoupdate self-test still fails, maybe due to a real
bug?
2015-02-10 11:21:17 -08:00
Avital Oliver
d747157806
Add clarifying comment about Windows workaround
2015-02-09 22:36:50 -08:00
Avital Oliver
504e05326f
Delete mongod.lock file when starting Meteor
...
When we try to kill old running versions of mongod, then we may have to
resort to killing the process without it having an opportunity to close
gracefully, so we need to also delete the lock file if we want to be able
to start mongod again.
This is made especially worse on Windows, where `process.kill` always
kills a process non-gracefully.
Should fix https://github.com/meteor/windows-preview/issues/34 , and some
self-test failures.
2015-02-09 22:31:10 -08:00
Sashko Stubailo
2eaa848bcc
Convert __dirname to standard path
2015-02-09 13:49:57 -08:00
David Glasser
8c48196f4d
Remove unnecessary requires from mini-files.js
...
and add a comment making it clear that we are NOT using this file for
the concurrency-related changes, just for cross-platform normalization.
2015-02-09 11:40:44 -08:00
Sashko Stubailo
18692b672d
Special cases for files.getHomeDir on win32
...
Fixes https://github.com/meteor/windows-preview/issues/38
2015-02-09 11:33:32 -08:00
Ben Newman
4ad860ca47
Move tools/shell/server.js to tools/server/shell-server.js.
...
Since this file ends up getting copied into the server bundle, along with
files like boot.js, it makes sense to keep it with those files.
Renamed tools/shell/client.js to tools/shell-client.js for symmetry.
2015-02-09 11:42:49 -05:00
Slava Kim
d07ff8e99c
Convert the Windows-styled path from Assets.get* calls
2015-02-07 08:54:44 -08:00
Sashko Stubailo
ce93b8f108
Improve findMongoPids and style in run-mongo.js
2015-02-06 17:14:22 -08:00
Avital Oliver
02038e70a6
Correctly detect which package versions are installed
...
This was a small mistake left over from a previous commit
to change the return value of _alreadyInstalled
2015-02-06 16:50:11 -08:00
Avital Oliver
ff32eb5722
In selftest in Windows, kill child processes more
...
In a previous commit we did that in one but not all cases in selftest
where we try to kill child processes.
2015-02-06 15:33:24 -08:00
David Glasser
b276aa79ca
Give a more specific error message on disk full
...
Fixes #2378 .
Note that this error is detected by reading stdout, and we don't
actually want to buffer all of stdout in memory (it grows pretty fast).
2015-02-06 14:57:40 -08:00
Sashko Stubailo
6aa9142e67
Fix some test bugs related to package names/dirs
2015-02-06 14:49:23 -08:00
Avital Oliver
2f24eb418d
Fix incorrect logic, while improving an error message
2015-02-06 14:28:51 -08:00
Sashko Stubailo
e6a26bded0
Wrong method call in self test. (add flow plz)
2015-02-06 13:56:01 -08:00
Sashko Stubailo
497340498f
Fix missing createPackage arguments in selftest
2015-02-06 13:53:24 -08:00
Avital Oliver
8fb583507f
Make "run" selftest pass on Windows
2015-02-06 13:47:15 -08:00
Sashko Stubailo
0ba325d1ca
Guard against undefined options
2015-02-06 13:40:33 -08:00
Ben Newman
19080bd53d
Split server/shell.js into shell/server.js and shell/client.js.
...
Note that shell/server.js is copied into the bundle as shell-server.js,
like before, however now it contains none of the extraneous code that
belongs in shell/client.js.
The original reason server and client code were combined in a single file
was to share helper functions and configuration variables (e.g.
getInfoFile and EXITING_MESSAGE). Now, shell/client.js requires
shell/server.js to access those shared exports.
2015-02-06 14:33:19 -05:00
David Glasser
30481e10bb
Mongo 2.6 makes --nohttpinterface the default
2015-02-05 22:40:44 -08:00
David Glasser
505a77ecad
Update other places that mention the Node version
2015-02-05 22:40:43 -08:00
David Glasser
6e5f034a0d
if a self-test throws, don't stop running tests
...
Previously, if a random exception was thrown in a self-test test (as
opposed to a specific TestFailure), it would crash the whole process and
not run any more tests. That's silly. It should just be a test
failure!
2015-02-05 22:39:32 -08:00
David Glasser
2cc0d41ee2
Fix packages with organizations test
2015-02-05 22:32:42 -08:00
David Glasser
bcf2b58946
avoid use of shell
...
use execFile's callback instead of an event
2015-02-05 20:39:06 -08:00
David Glasser
695ed96a22
fix non-run uses of bundler
2015-02-05 20:35:15 -08:00
Sashko Stubailo
3cd883bda4
Merge branch 'windows-r' into devel
...
Conflicts:
meteor
tools/tropohouse.js
2015-02-05 20:28:09 -08:00
Sashko Stubailo
0c8e7baf30
Add fail fast and rename option to "reference directly"
2015-02-05 20:12:39 -08:00
Sashko Stubailo
48db054307
Move path to top and unrequire files.js in profile require
2015-02-05 19:55:56 -08:00
Sashko Stubailo
f525218ca9
"not yet available"
2015-02-05 19:52:20 -08:00
Sashko Stubailo
e55632a66b
Don't load windows code if we aren't on windows
2015-02-05 19:51:40 -08:00
Sashko Stubailo
019f58cb90
Remove redundant windows checks
2015-02-05 19:49:25 -08:00
Slava Kim
599f6b4f37
Convert __dirname
2015-02-05 17:02:19 -08:00
Slava Kim
4eb73b3984
Fix requires to profile.js since we replaced the wrapper with tiny-profile.js
2015-02-05 16:40:14 -08:00
Slava Kim
a04ac580e9
Remove redundant profile.js left from old times
2015-02-05 16:33:21 -08:00
Slava Kim
312d395daa
Fix comment per glasser's comments
2015-02-05 16:29:49 -08:00
Slava Kim
b0f51a62f3
Don't access Isopack directly because of potential problems of circular
...
dependencies
2015-02-05 16:27:29 -08:00
Slava Kim
7ff1f6b2d2
Glasser's comments
2015-02-05 16:25:44 -08:00
Slava Kim
e6419e7cfe
Make all calls to copyDirectory to explicitely state the option "symlink: false"
2015-02-05 16:17:53 -08:00
Slava Kim
dff3bf1d43
Remove dead code per glasser's comments
2015-02-05 16:14:59 -08:00
Slava Kim
5948763bbb
More windows cordova tests, fixes for every command
2015-02-05 16:07:49 -08:00
Slava Kim
a470dc99c2
Refine the windows cordova script once again
2015-02-05 15:31:50 -08:00
David Glasser
e27ca92451
Fix bundler-npm test-only crash
2015-02-05 15:26:40 -08:00
Slava Kim
cbac505a12
Move the mobile check on Windows earlier: before the ip/port parsing
2015-02-05 15:19:53 -08:00
Slava Kim
91667d927f
Make the cordova on windows test more nuanced on having whethear the app had
...
mobile platforms or not
2015-02-05 15:16:58 -08:00
Slava Kim
810eaa573d
Add the underscore dependency to the test
2015-02-05 15:11:51 -08:00