couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Test_procedure" by NoahSlater
Date Tue, 17 May 2011 17:00:46 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Test_procedure" page has been changed by NoahSlater.
http://wiki.apache.org/couchdb/Test_procedure?action=diff&rev1=2&rev2=3

--------------------------------------------------

  
  Any Apache CouchDB user is free to test a source release, and in fact we encourage you to
do so!
  
+ This might seem like a complex process, but that is only because it has been documented
very thoroughly to make sure that we're all doing the same thing. Once you've done this a
few times, the whole process becomes very easy to remember.
+ 
  === Setting Up ===
  
+ Remove any existing temporary directory:
+ 
+ {{{
+ rm -f /tmp/couchdb
+ }}}
+ 
+ Obviously, don't run this command if you're already using this directory for something else.
+ 
+ The location isn't important, but this is a sensible default.
+ 
  Create a new temporary directory to work in:
  
  {{{
  mkdir /tmp/couchdb
  }}}
  
- You can remove this directory and all of its contents when you're done.
+ You can safely remove this directory and all of its contents when you're done.
  
  === Downloading the Release Artefacts ===
  
@@ -101, +113 @@

  
  === Checking the Release Artefacts ===
  
- '''SKIP THIS SECTION IF YOU'RE NOT FAMILIAR WITH AUTOTOOLS'''
+ '''SKIP THIS SECTION IF YOU DON'T KNOW ANYTHING ABOUT AUTOTOOLS'''
  
  You should have a copy of the vote email with links to the tag directory.
  
@@ -178, +190 @@

  Only in apache-couchdb-1.1.0/var: Makefile.in
  }}}
  
+ === Checking the Release Artefacts ===
+ 
+ 
+ Change into your `dist` directory:
+ 
+ {{{
+ cd /tmp/couchdb/dist
+ }}}
+ 
+ Unpack the tarball:
+ 
+ {{{
+ tar -xvzf apache-couchdb-*.tar.gz
+ }}}
+ 
+ Obviously, skip this step if you've already unpacked the tarball.
+ 
+ Change into the tarball directory:
+ 
+ {{{
+ cd apache-couchdb-1.1.0
+ }}}
+ 
+ Configure CouchDB to install into your temporary directory:
+ 
+ {{{
+ ./configure --prefix=/tmp/couchdb/install
+ }}}
+ 
+ Run the unit tests:
+ 
+ {{{
+ make check
+ }}}
+ 
+ Make and install CouchDB into your temporary directory:
+ 
+ {{{
+ make install
+ }}}
+ 
+ Run your test copy of CouchDB:
+ 
+ {{{
+ /tmp/couchdb/install/bin/couchdb 
+ }}}
+ 
+ Open Firefox and visit:
+ 
+   http://127.0.0.1:5984/_utils/couch_tests.html?script/couch_tests.js
+ 
+ Please note that the unit tests do not run properly under Safari.
+ 
+ If you report problems with Safari, you will be asked to test again using Firefox.
+ 
+ Click on "Run All" and wait a few minutes.
+ 
+ Your browser will lock up while the tests are run.
+ 
+ === Wrapping it Up ===
+ 
+ If you manage to get all the way through this without a single error, the release is good.
Please reply to the vote email with a summary of the steps you completed. If anything strange
happens, or you run into any problems, please reply to the vote email with an outline of the
steps you took, and the problems you noticed. In some cases, it might be due to a slight difference
in test setup. If that is the case, please update this document to help future testers.
+ 

Mime
View raw message