On Mon, Oct 31, 2011 at 9:37 AM, <[email protected]> wrote: > Updated Branches: > refs/heads/master 31edafecb -> 6dcd3a4b6 > > > Start/Stop CouchDB aronud JS CLI tests. > > > Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo > Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/6dcd3a4b > Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/6dcd3a4b > Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/6dcd3a4b > > Branch: refs/heads/master > Commit: 6dcd3a4b635f012b4fab697fbc990de70eb9840d > Parents: 31edafe > Author: Jan Lehnardt <[email protected]> > Authored: Mon Oct 31 09:37:48 2011 +0100 > Committer: Jan Lehnardt <[email protected]> > Committed: Mon Oct 31 09:37:48 2011 +0100 > > ---------------------------------------------------------------------- > test/javascript/run.tpl | 8 ++++++++ > 1 files changed, 8 insertions(+), 0 deletions(-) > ---------------------------------------------------------------------- > > > http://git-wip-us.apache.org/repos/asf/couchdb/blob/6dcd3a4b/test/javascript/run.tpl > ---------------------------------------------------------------------- > diff --git a/test/javascript/run.tpl b/test/javascript/run.tpl > index e4a2029..eb73a61 100644 > --- a/test/javascript/run.tpl > +++ b/test/javascript/run.tpl > @@ -35,6 +35,11 @@ else > fi > fi > > +make dev > +# start CouchDB > +./utils/run -b -r 1 > +sleep 1 # give it a sec > + > cat $SCRIPT_DIR/json2.js \ > $SCRIPT_DIR/sha1.js \ > $SCRIPT_DIR/oauth.js \ > @@ -45,3 +50,6 @@ cat $SCRIPT_DIR/json2.js \ > $JS_TEST_DIR/couch_http.js \ > $JS_TEST_DIR/cli_runner.js \ > | $COUCHJS -H - > + > +# stop CouchDB > +./utils/run -d > >
wouldn't it better if we pass an ini with port=0 ? To make sure tests can be run? - benoit
