[Opendnssec-develop] script to aid manual build/testing

John Dickinson jad at sinodun.com
Tue Apr 23 10:32:01 UTC 2013

Thanks Matthijs,

I have implemented your suggestion and added the ability to patch the checked out ods or softHSM code before building.

It can be found in svn at: trunk/testing/run_build.sh


On 17 Apr 2013, at 10:05, Matthijs Mekking <matthijs at NLnetLabs.nl> wrote:

> Hi John,
> Script looks good, I would only like to see that the user can set the
> workspace (either with an option or just manually). And instead of doing
> for example the following in the script:
> cd ~/workspace/OpenDNSSEC/testing	
> export WORKSPACE=`pwd`
> do
> cd $WORKSPACE/OpenDNSSEC/testing	
> Perhaps similar for SVN_REVISION. I will try it out next time I do some
> local testing.
> Best regards,
>  Matthijs
> On 04/17/2013 11:33 AM, John Dickinson wrote:
>> Hi developers,
>> I have taken the instructions from https://wiki.opendnssec.org/display/OpenDNSSEC/How+To+Develop+tests+locally and create a script to make it easier to build the test environment by hand for manual testing.
>> This is the current usage
>> Script to aid manual testing using the jenkins test framework and tests
>> Taken from https://wiki.opendnssec.org/display/OpenDNSSEC/How+To+Develop+tests+locally#HowToDeveloptestslocally-Runningexistingtestsoptional
>> Modifications include:
>> 1. run bash in debug mode is mow an option
>> 2. Options tp allow rebuilding of a single component even if the framework thinks it is not necessary
>> 3. Option to allow sqlite 3 3.7.X to be built and installed in workspace/root/local-test/ and for softHSM and OpenDNSSEC to be built against it
>> 4. Create log file for each step of the build
>> Usage: ./run_build.sh [options]
>> Supported options:
>>  -u the URL that you wish to checkout for softHSM (Default: http://svn.opendnssec.org/trunk/softHSM/)
>>  -U the URL that you wish to checkout for OpenDNSSEC (Default: http://svn.opendnssec.org/trunk/OpenDNSSEC/)
>>  -f force overwriting of the checked out code if the URL changes
>>  -p prevent any checkout
>>  -7 enable building of sqlite 3.7.X
>>  -m build against mysql
>>  -l force rebuild of ldns
>>  -s force rebuild of sqlite 3.7.X (requires -7)
>>  -S force rebuild of softHSM
>>  -o force rebuild of OpenDNSSEC
>>  -r delete install and reinstall
>>  -d run in bash debug mode
>>  -h this help
>> If people think this would be useful I will check it in to svn.
>> regards,
>> John
>> _______________________________________________
>> Opendnssec-develop mailing list
>> Opendnssec-develop at lists.opendnssec.org
>> https://lists.opendnssec.org/mailman/listinfo/opendnssec-develop

More information about the Opendnssec-develop mailing list