Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 80A1DE5FF for ; Sun, 2 Dec 2012 20:20:53 +0000 (UTC) Received: (qmail 47652 invoked by uid 500); 2 Dec 2012 20:20:53 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 47610 invoked by uid 500); 2 Dec 2012 20:20:53 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 47602 invoked by uid 500); 2 Dec 2012 20:20:53 -0000 Delivered-To: apmail-incubator-couchdb-commits@incubator.apache.org Received: (qmail 47597 invoked by uid 99); 2 Dec 2012 20:20:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Dec 2012 20:20:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Dec 2012 20:20:52 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id DB20E51E; Sun, 2 Dec 2012 20:20:31 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Sun, 02 Dec 2012 20:20:31 -0000 Message-ID: <20121202202031.46396.77418@eos.apache.org> Subject: =?utf-8?q?=5BCouchdb_Wiki=5D_Update_of_=22Build=5FTests=22_by_NoahSlater?= Auto-Submitted: auto-generated X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for c= hange notification. The "Build_Tests" page has been changed by NoahSlater: http://wiki.apache.org/couchdb/Build_Tests?action=3Ddiff&rev1=3D15&rev2=3D16 <> = - =3D Method =3D = + =3D Steps =3D - * 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. - =3D Test Sequence =3D - = - 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=3D/tmp/install/some-with && make inst= all + }}} = - Start the sever. + Switch to the distribution artefact without docs. = - Check for Futon documentation. This should succeed. + {{{ + ./bootstrap && ./configure --prefix=3D/tmp/install/some-without && make i= nstall + }}} = - 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=3D/tmp/install/all-with && make insta= ll + }}} + = + Switch to the distribution artefact without docs. + = + {{{ + ./bootstrap && ./configure --prefix=3D/tmp/install/all-without && make in= stall + }}} +=20