You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by chewbranca <gi...@git.apache.org> on 2014/08/29 22:53:24 UTC
[GitHub] couchdb pull request: 1963 eunit bigcouch
GitHub user chewbranca opened a pull request:
https://github.com/apache/couchdb/pull/266
1963 eunit bigcouch
This adds a rebar plugin to bootstrap to tmp test environment with data folders and the relevant ini files. To run this right now you'll need to `cp src/couch/priv/couchjs bin/couchjs` until we figure out how to handle that properly.
One issue with the setup_eunit command is that the rebar templates require all variables to be defined in order to overwrite them. So I've set default destinations of `/tmp`, which I'm not convinced is great. The test suite won't run, but it will create the files and folders in there. One hacky solution would be to use `/somelongdirectorythatdoesntexist` that will cause rebar to explode, but I'm not a huge fan of that approach.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/couchdb 1963-eunit-bigcouch
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb/pull/266.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #266
----
commit 0955cc946d064772aa4c0148bd28519c01dd0631
Author: Russell Branca <ch...@apache.org>
Date: 2014-08-29T19:32:52Z
Add setup_eunit rebar command
This adds a rebar plugin that introduces the setup_eunit function to
bootstrap the test ini files necessary to run the eunit test suite. It
grabs the ini template files from rel/overlay/*.ini primarily to be
able to set an absolute path for data directories and the prefix based
on the location of the CouchDB source directory.
commit 3b2c3f52e9df903469ca0d7610b3e12d43108b70
Author: Russell Branca <ch...@apache.org>
Date: 2014-08-29T19:33:49Z
Set the BUILDDIR environment variable for use in eunit tests
commit 63703d7e43d2d45531834edc2d844eb9685d6c96
Author: Russell Branca <ch...@apache.org>
Date: 2014-08-29T19:34:43Z
Disable problematic tests
commit c7cf437e1845ceecde9eb0652963e0c145ad67e3
Author: Russell Branca <ch...@apache.org>
Date: 2014-08-29T19:45:42Z
TMP: use 1963-eunit-bigcouch branches
commit 36bd96a3b33616b9d332273b9f978aba5b5c243d
Author: Russell Branca <ch...@apache.org>
Date: 2014-08-29T20:45:54Z
TMP: enable verbose eunit output
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb pull request: 1963 eunit bigcouch
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/couchdb/pull/266
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb pull request: 1963 eunit bigcouch
Posted by hdiedrich <gi...@git.apache.org>.
Github user hdiedrich commented on a diff in the pull request:
https://github.com/apache/couchdb/pull/266#discussion_r17116215
--- Diff: NOTICE ---
@@ -193,3 +193,7 @@ This product also includes the following third-party components:
* velocity.js (https://github.com/julianshapiro/velocity)
Copyright (c) 2014 Julian Shapiro
+
+* is_base_dir function in eunit_plugin.erl (https://github.com/ChicagoBoss/ChicagoBoss/blob/master/skel/priv/rebar/boss_plugin.erl)
+
+ Copyright (c) 2009-2011 Evan Miller
--- End diff --
looks like it could use a newline?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] couchdb pull request: 1963 eunit bigcouch
Posted by chewbranca <gi...@git.apache.org>.
Github user chewbranca commented on a diff in the pull request:
https://github.com/apache/couchdb/pull/266#discussion_r17155656
--- Diff: NOTICE ---
@@ -193,3 +193,7 @@ This product also includes the following third-party components:
* velocity.js (https://github.com/julianshapiro/velocity)
Copyright (c) 2014 Julian Shapiro
+
+* is_base_dir function in eunit_plugin.erl (https://github.com/ChicagoBoss/ChicagoBoss/blob/master/skel/priv/rebar/boss_plugin.erl)
+
+ Copyright (c) 2009-2011 Evan Miller
--- End diff --
Thanks @hdiedrich, fixed in 9024342.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---