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 "Build_Tests" by NoahSlater
Date Sun, 02 Dec 2012 20:20:31 GMT
Dear Wiki user,

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

The "Build_Tests" page has been changed by NoahSlater:
http://wiki.apache.org/couchdb/Build_Tests?action=diff&rev1=15&rev2=16

  <<Include(EditTheWiki)>>
  
- = Method =
  
+ = Steps =
-  * Run the test sequence on one machine
-  * Export the distribution archives to another machine
-  * Run the test sequence on the exported archives
  
- Repeat this for as many machines as you want to test with.
+ Boot a new AWS instance.
  
+ Install Git and install dependencies.
- = Test Sequence =
- 
- Clone the source into a temporary directory:
  
  {{{
  git clone http://git-wip-us.apache.org/repos/asf/couchdb.git
@@ -20, +15 @@

  
  Switch to the branch or tag you are testing.
  
- Without dependencies:
- 
  {{{
  ./bootstrap && ./configure && make
  }}}
  
  This should fail.
  
- With some required dependencies:
+ Install some required build dependencies.
  
  {{{
  ./bootstrap && ./configure && make 
@@ -36, +29 @@

  
  This should fail.
  
- With all required dependencies:
+ Install all required build dependencies.
  
  {{{
  ./bootstrap && ./configure && make distcheck
@@ -44, +37 @@

  
  This should fail.
  
- With all required dependencies:
+ Install all required build dependencies.
  
  {{{
  ./bootstrap && ./configure && make dist
  }}}
  
+ Export the distribution artefact.
- Copy the distribution artefact so that it can be tested separately.
- 
- Install locally:
- 
- {{{
- ./bootstrap && ./configure && sudo make install
- }}}
- 
- Specify an alternate `PREFIX` as needed and drop `sudo` as needed.
- 
- Check for `man` and `info` documentation. This should fail.
- 
- Start the sever.
- 
- Check for Futon documentation. This should fail.
- 
- Verify installation and run the test suite.
- 
- Without optional dependencies:
  
  {{{
  ./bootstrap && ./configure --enable-strictness && make
  }}}
  
+ This should fail.
+ 
- With some optional dependencies:
+ Install some optional build dependencies.
  
  {{{
  ./bootstrap && ./configure --enable-strictness && make
  }}}
  
+ This should fail.
+ 
- With all optional dependencies:
+ Install all optional build dependencies.
  
  {{{
  ./bootstrap && ./configure --enable-strictness && make distcheck 
  }}}
  
- Copy the distribution artefact so that it can be tested separately.
+ Export the distribution artefact.
  
- Install locally:
+ You should now have two exported distribution artefacts.
+ 
+ Terminate this AWS instance.
+ 
+ Boot a new AWS instance.
+ 
+ Import both distribution artefacts.
+ 
+ Install Git, install dependencies, and required build dependencies.
+ 
+ Unpack both distribution artefacts.
+ 
+ Run the following command in both distribution directories.
  
  {{{
- ./bootstrap && ./configure && make install
+ ./bootstrap && ./configure && make dist
  }}}
  
- Specify an alternate `PREFIX` as needed and drop `sudo` as needed.
+ Switch to the distribution artefact with docs.
  
- Check for `man` and `info` documentation. This should succeed.
+ {{{
+ ./bootstrap && ./configure --prefix=/tmp/install/some-with && make install
+ }}}
  
- Start the sever.
+ Switch to the distribution artefact without docs.
  
- Check for Futon documentation. This should succeed.
+ {{{
+ ./bootstrap && ./configure --prefix=/tmp/install/some-without && make install
+ }}}
  
- Verify installation and run the test suite.
+ Install all optional build dependencies.
  
+ Run the following command in both distribution directories.
+ 
+ {{{
+ ./bootstrap && ./configure && make distcheck
+ }}}
+ 
+ Switch to the distribution artefact with docs.
+ 
+ {{{
+ ./bootstrap && ./configure --prefix=/tmp/install/all-with && make install
+ }}}
+ 
+ Switch to the distribution artefact without docs.
+ 
+ {{{
+ ./bootstrap && ./configure --prefix=/tmp/install/all-without && make install
+ }}}
+ 

Mime
View raw message