Add missing `make test-programs` step. Configure the number of
make jobs to match the number of vcpus.
Change-Id: I3a3547478a4043b46a941267bcfbaaef0fc7e552
Reviewed-on: https://code.wireshark.org/review/34579
Reviewed-by: João Valverde <j@v6e.pt>
Fix a dependency issue for the vagrant build system and update
it to the latest Ubuntu LTS release (16.04 LTS). Also give it
more vCPU's and RAM by default.
Change-Id: I058e6a05356dba57a55ada7fe84f959e227a04b4
Reviewed-on: https://code.wireshark.org/review/26541
Reviewed-by: Sake Blok <sake.blok@SYN-bit.nl>
For out-of-tree builds you have to pass the location of your build to our tools
like the fuzz script, valgrind script etc. Modify them so that the value can be
set in the environment rather than requiring a shell script flag.
Set the environment variable in the vagrant provision step, so that the scripts
Just Work (TM) in the VM.
Change-Id: If8ce6b278176085ba6dd994137b82fc989b80124
Reviewed-on: https://code.wireshark.org/review/9168
Reviewed-by: Evan Huus <eapache@gmail.com>
Put WIRESHARK_RUN_FROM_BUILD_DIRECTORY in the shell profile so that wireshark
knows it's running from a build directory (which it otherwise sometimes doesn't
for out-of-tree cmake). This fixes lua and other things in the vagrant build.
Change-Id: I69775612d0f9161ce9b30c32122aee52a1106cbc
Reviewed-on: https://code.wireshark.org/review/9148
Reviewed-by: Evan Huus <eapache@gmail.com>
- add license headers to the scripts
- don't mount `.` into the VM manually, vagrant already puts it in /vagrant/
for us, just use that.
- build with -j3, slightly more efficient even with two cores
Change-Id: I43580ade7ae2635696072b39e4f18a401a030a85
Reviewed-on: https://code.wireshark.org/review/9127
Reviewed-by: Evan Huus <eapache@gmail.com>
For non-linux developers this should somewhat simplify development with e.g.
valgrind and other useful tools.
Change-Id: I973ab7412ad9a61f0892c25c079ea3424208abd1
Reviewed-on: https://code.wireshark.org/review/9117
Reviewed-by: Evan Huus <eapache@gmail.com>