mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Revert unnecessary commits attempting to fix Travis/Circle CI tests.
After much debugging, I have tracked down and fixed the root cause of the
test failures: colorized app output was silenced because the Log.format
function could not require("cli-color").
Revert "Wait for "=> App running at:" in packages/test-in-console/run.sh."
This reverts commit 0713b9d153.
Revert "Use console.log to print test-in-console listening message."
This reverts commit a421da5a5e.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
summary: "Run tests noninteractively, with results going to the console.",
|
||||
version: '1.0.13'
|
||||
version: '1.0.12'
|
||||
});
|
||||
|
||||
Package.onUse(function (api) {
|
||||
|
||||
@@ -1,10 +1,3 @@
|
||||
// provide some notification we're started. This is to allow use
|
||||
// in automated scripts with `meteor run --once` which does not
|
||||
// print when the proxy is listening.
|
||||
Meteor.startup(function () {
|
||||
console.log("test-in-console listening");
|
||||
});
|
||||
|
||||
// A hacky way to extract the phantom runner script from the package.
|
||||
if (process.env.WRITE_RUNNER_JS) {
|
||||
Npm.require('fs').writeFileSync(
|
||||
@@ -33,3 +26,10 @@ Meteor.methods({
|
||||
return null;
|
||||
}
|
||||
});
|
||||
|
||||
// provide some notification we're started. This is to allow use
|
||||
// in automated scripts with `meteor run --once` which does not
|
||||
// print when the proxy is listening.
|
||||
Meteor.startup(function () {
|
||||
Meteor._debug("test-in-console listening");
|
||||
});
|
||||
|
||||
@@ -19,7 +19,7 @@ export URL='http://localhost:4096/'
|
||||
exec 3< <(meteor test-packages --driver-package test-in-console -p 4096 --exclude ${TEST_PACKAGES_EXCLUDE:-''})
|
||||
EXEC_PID=$!
|
||||
|
||||
sed '/^=> App running at:/q' <&3
|
||||
sed '/test-in-console listening$/q' <&3
|
||||
./dev_bundle/bin/phantomjs "$METEOR_HOME/packages/test-in-console/runner.js"
|
||||
STATUS=$?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user