# Usage: # cd /where/you/put/helix-installer/dev/test # source ./env.sh # # Alternately use 'main' rather than 'dev' in path above. echo "Loading Helix Installer test environment settings." if [[ "$PWD" != *"/test" ]]; then echo "Bad Usage: Run this from </where/you/put/it>/helix-installer/dev/test" return 1 fi # HIT_FULL=1 = Do full test, including P4Perl/P4Python builds. # HIT_FULL=0 = Skip P4Python/P4Pyton install tests. Much faster. export HIT_FULL=1 echo HIT_FULL=$HIT_FULL # HIT_OS_LIST # Set to 'ALL' to build all availalbe OS's from the helix_installer_test.json # file. Otherwise, specify a single OS, e.g. centos7 or ubuntu16. export HIT_OS_LIST=ALL echo HIT_OS_LIST=$HIT_OS_LIST # HIT_DIR # Set to local workspace directory that maps to what will be in # /hxdepots/test-files in launched test VMs. export HIT_DIR=${PWD} echo HIT_DIR=$HIT_DIR # HIT_RESET_DIR # Set to local workspace directory that maps to what will be in /hxdepots/reset # in launched test VMs. This directory is loaded in test VMs as it is # referenced in the Vagrantfile. export HIT_RESET_DIR=${HIT_DIR/test/src} echo HIT_RESET_DIR=$HIT_RESET_DIR
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#9 | 27294 | C. Thomas Tyler | Added alias to tail latest log file. | ||
#8 | 27284 | C. Thomas Tyler |
Added Docker test suite to displace Vagrant. Initial version passes with options: hits.sh -o centos7 |
||
#7 | 26973 | C. Thomas Tyler | Non-functional change to modernize comment. | ||
#6 | 26795 | C. Thomas Tyler |
Fixed test suite issues: * Shell environment for test suite regression fixed. * Vagrantfile referred to SDP rather than Helix Installer (old Copy/Paste issue, harmless but wrong). * Updated baseline Vagrant image for CentOS6 box. * Fixed issue with setting hostname on CentOS6 by making hostname a paramter to the bootstrap script, and adjusting the bootstrap script. Along with this change, added missing hostmanager plugin on test machine. |
||
#5 | 26784 | C. Thomas Tyler |
reset_sdp.sh v3.17.0: Made /hx* mount points configurable in settings.cfg, and updated documentation accordingly. Added support for configuring /hxmetadata1 and /hxmetadata2 with different values. Added test coverage for changing /hxdepots from the default. Enhanced test suite. TEST FAIL NOTE: As of this change, tests are succeeding on all platforms except CentOS 6. Failures are in the test suite infrastructure, not related to this change. |
||
#4 | 26021 | C. Thomas Tyler |
Test suite enhancements to better test Configured mode with settings.cfg. |
||
#3 | 25987 | C. Thomas Tyler |
Enhanced test suite to mount the local dir with checked out files into the test VMs, rather than using 'curl' from a URL which can only get submitted revisions of reset_sdp.sh. |
||
#2 | 25676 | C. Thomas Tyler | COnifgured for full test. | ||
#1 | 25673 | C. Thomas Tyler |
Added simple test driver and results analysis script. Calls 'vagrant up' to call the Helix Installer on various OS's, and then inspects the installed SDP generated VMs. |