Commit Graph

545 Commits

Author SHA1 Message Date
ekatek
f2378ce616 some processing on how we display release name 2014-10-21 17:49:48 -07:00
Emily Stark
97c85bc3da Exit 'meteor run' when cordova plugins or platforms change.
We don't have a way to HCP a changed set of plugins or platforms, so
just exit and ask the user to re-run. There are probably some cases
where we don't have to exit (e.g. if you add the android platform, we
probably don't need to exit out of 'meteor run ios'), but we exit in all
cases for simplicity.
2014-10-21 15:59:40 -07:00
ekatek
5d9cde97bb adding a test for watching the versions file 2014-10-21 15:58:18 -07:00
Emily Stark
79aa54bcde Update publish-one-arch test for new 'meteor publish' output 2014-10-20 22:43:15 -07:00
Emily Stark
8d8589714f Update old cli tests for new 'meteor remove' text 2014-10-20 22:39:44 -07:00
David Glasser
44c7aa2d78 fix springboard test 2014-10-17 13:47:21 -07:00
David Glasser
87f4a7826f Get a little farther in springboard test 2014-10-17 13:47:21 -07:00
Justin SB
4ec3cb2a55 Rename LayeredCatalog refresh -> refreshLocalPackages, drop cached resolver 2014-10-17 13:47:20 -07:00
David Glasser
fb21aa42b0 release.load can't throw OfflineError any more
So stop giving tests a way to force-throw it (might break springboard
test; fix this before merging) and stop catching it.

(release.load now just does a single sqlite query!)
2014-10-17 13:47:19 -07:00
David Glasser
cdbaca0b8b release.load no longer needs buildmessage
It used to need buildmessage because catalog.official.getReleaseVersion
used to be capable of rebuilding local packages. Now it can't! Simplify
all call sites.

Note that buildmessage was not actually used to express "no such
release", before or now.
2014-10-17 13:47:19 -07:00
David Glasser
174a059904 Improve cli-test 2014-10-17 13:37:04 -07:00
Justin SB
15375be8f8 Bump timeout for self-test 'package with --name' 2014-10-17 13:24:44 -07:00
Justin SB
66261e0b5a Fix expected exit code in self-test for cordova 2014-10-17 13:24:43 -07:00
Justin SB
eed545e313 Update self-test for new text for meteor remove-platform 2014-10-17 12:56:25 -07:00
Justin SB
78b7896ea5 Update match for new deprecation warning on meteor bundle 2014-10-17 12:49:49 -07:00
Emily Stark
1082efd0b2 Add missing tags to a package self-test 2014-10-17 10:28:31 -07:00
Emily Stark
1126449baa Fix 'meteor show' for unknown version of package 2014-10-16 23:12:55 -07:00
Emily Stark
aa52136c8e Fix 'api.versionsFrom' in skeleton packages created from releases 2014-10-16 15:08:38 -07:00
Emily Stark
7bc75b7a63 Bump test timeout 2014-10-16 14:54:39 -07:00
Emily Stark
a75ba12c6b Fix stack trace when adding package with no compatible builds 2014-10-16 14:53:14 -07:00
Justin SB
864af5061b Fix reported problem with "=> Starting Cordova" wrapping
This was one of the few remaining uses of logTemporary.

Replaced with buildmessage.enterJob
2014-10-15 14:22:44 -07:00
David Glasser
8f3966fbf4 Format deploy console messages to include protocol 2014-10-13 17:36:40 -07:00
Avital Oliver
cb97ed238b Add clarifying comment to failing pre-release versions self-test 2014-10-13 09:56:03 -07:00
Justin SB
73ff027fec Avoid EULA prompt that is breaking self-test
We need to rework the EULA prompt to be once-per-machine anyway.
2014-10-13 09:49:30 -07:00
Avital Oliver
9a6532c640 Work towards fixing the "do-not-update-to-rcs" self-test.
The test was failing because it was written to run against the real
local warehouse, instead of a stubbed one. When initializing the
Sandbox with an explicit warehouse, the test failed because of
incorrect logic piping the right path to the packages database
(in this case "test-packages.data.db" instead of "packages.data.db").

Unfortunately, the test still fails -- this time potentially due to a bug:
After publishing the package for the first time with `--create`,
the next step tries to update but gets the following error:
    There is no package named test:i1iyhj. If you are creating a
    new package, use the --create flag.
2014-10-12 23:08:26 -07:00
Nick Martin
11d43de256 disable test that breaks other tests 2014-10-11 20:44:02 -07:00
Emily Stark
99568e5d9b Add another 'selftest.markStack' 2014-10-11 00:04:27 -07:00
Emily Stark
f102432892 Add some selftest.markStack's and selftest.fail's 2014-10-10 23:39:31 -07:00
Justin SB
6bff6020be Add install-sdk to "cordova builds with server options" test 2014-10-10 19:50:34 -07:00
Slava Kim
4d41c4c7cd Fix failing meteor build self-test 2014-10-10 14:36:43 -07:00
Justin SB
c1cedff917 Add a sleep to the CSS HCP test 2014-10-10 04:45:40 -07:00
Justin SB
4c082bb87a Add install-sdk into cordova self-test 2014-10-10 02:55:38 -07:00
Emily Stark
99228d7c7b Clean up tarball in old-cli-test.
If we don't clean up the tarball, then the following command (`meteor
build`) fails ("Couldn't create tarball"), but for some reason still
exits with code 0. So we then go on to successfully untar the output of
`meteor build`. If we clean up the tarball from `meteor bundle`, we at
least catch the failure by trying to untar a nonexistent file.
2014-10-09 22:21:32 -07:00
Emily Stark
141f3cdf3d Switch to single quotes in 'publish-and-search' selftest 2014-10-09 21:53:29 -07:00
Emily Stark
a3f07028e2 Check a selftest Error to 'selftest.fail' 2014-10-09 16:35:11 -07:00
Sashko Stubailo
e1c745aab6 Merge branch 'devel' into 0.9.4 2014-10-09 11:27:28 -07:00
ekatek
b8d927851a increment client cache format to v2
The client cache in sql-land was broken: it sent over the wrong sync token as the default.
This meant that the server thought that this was a much older client. As a result, any
0.9.3+ packages with '_' or '||' in their versions/dependencies were filtered out. There is no
easy way to undo that sort of filtering without deleting the db for a variety of reasons, and if
we are going to delete the db, we might as well increment the version so we don't have to worry about
consistency.
2014-10-08 22:31:37 -07:00
ekatek
7f134bdfb4 changed the test to catch that we fail to not link in the export variable 2014-10-08 22:06:47 -07:00
David Glasser
659128025d first step towards fixing a test 2014-10-08 18:07:01 -07:00
Emily Stark
d1ee2043f9 Don't say "removed cordova:blah" if it wasn't in the project. 2014-10-08 17:28:08 -07:00
David Glasser
04f515da85 Merge branch '0.9.4' into devel
Conflicts:
	docs/client/data.js
	tools/tests/package-tests.js
2014-10-08 17:26:39 -07:00
David Glasser
1df375d3a2 Fix test-package-server tag
... and also make some fixes to the 'update package server data' test,
though it's possible that only the other change is strictly necessary
2014-10-08 17:21:44 -07:00
ekatek
6c8b0832d7 do not use clone since the catalog is backed by a real db 2014-10-08 16:04:13 -07:00
ekatek
d166119beb do not use clone since the catalog is backed by a real db 2014-10-08 16:03:29 -07:00
Emily Stark
d8bd9264d7 Update 'add cordova plugins' test to reflect reality.
If we fail to install one plugin, then we uninstall all plugins to avoid
awakening the Cordova monsters. Previously, this test was passing
because we were passing a `--settings` argument, which was allowing the
facebookconnect plugin to install, but the build to fail to other,
not-understood reasons. Now that we've removed `--settings`, the plugin
fails to install, which means that all plugins get uninstalled.

Test passes now.
2014-10-08 15:27:11 -07:00
Emily Stark
d8923c5874 Fixes to 'add cordova plugins' selftest.
* Remove --settings option that is no longer supported.
* Add --server option that is now required.

Test still doesn't pass.
2014-10-08 15:27:03 -07:00
Emily Stark
9fd8b1cd47 Update 'add cordova platforms' to match latest command output 2014-10-08 15:26:54 -07:00
Emily Stark
c09f52d89b Update path in cordova builds selftest 2014-10-08 15:26:49 -07:00
Emily Stark
2d73bc082f Fix argument parsing test; default port is now a string 2014-10-08 15:26:43 -07:00
Emily Stark
1e3e65fbf5 Use single quotes in 'packages with organizations' selftest 2014-10-08 15:26:36 -07:00