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

John Dickinson jad at sinodun.com
Wed Apr 17 09:33:54 UTC 2013


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: run_build.sh
Type: application/octet-stream
Size: 6832 bytes
Desc: not available
URL: <http://lists.opendnssec.org/pipermail/opendnssec-develop/attachments/20130417/3427a7db/attachment.obj>


More information about the Opendnssec-develop mailing list