Commit Graph

10 Commits

Author SHA1 Message Date
João Valverde e37a3b9ebf Vagrant: Fix provisioning script
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>
2019-09-20 22:06:21 +00:00
João Valverde 65a95123ce vagrant: Mount synced folder under home
Change-Id: Ib533f762f110d45d3daae6b5ccb6e3d243f60058
Reviewed-on: https://code.wireshark.org/review/29361
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-31 05:53:13 +00:00
João Valverde fd103ed417 vagrant: Enable ccache
Change-Id: Ifcf24a7ad2a1745f67838ee76a8a49e51049fc3a
Reviewed-on: https://code.wireshark.org/review/29359
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-31 05:52:43 +00:00
João Valverde f2c74b7dbd vagrant: Run test suite
Change-Id: If4df6e98ec39b6517fd441d48b4a00c2ca2c43c6
Reviewed-on: https://code.wireshark.org/review/29358
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-31 05:52:01 +00:00
Sake Blok 10b63fa684 Fix and update the vagrant build system
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>
2018-03-19 22:22:55 +00:00
Dario Lombardo 8a5385b9c9 More licenses converted to SPDX.
Change-Id: Id4f987dcdacf06622d70263f4659a4400e30dc39
Reviewed-on: https://code.wireshark.org/review/26332
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-03-07 13:35:49 +00:00
Evan Huus 8f40e2cd8d tools: permit setting BIN_DIR in the environment
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>
2015-06-26 06:52:58 +00:00
Evan Huus f613b92fd2 Tell vagrant that it's a dev environment
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>
2015-06-25 20:04:45 +00:00
Evan Huus 47abcfc747 Vagrant setup fixes
- 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>
2015-06-25 15:24:06 +00:00
Evan Huus 5aaaa550fd Add basic Vagrant configuration
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>
2015-06-25 02:53:40 +00:00