Commit Graph

9 Commits

Author SHA1 Message Date
Nalin Dahyabhai 230b9ab91a Replace the build system
Replace the bundle-targeted build system with simpler Makefile targets
and fewer helper scripts.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-05-25 15:50:33 -04:00
Nalin Dahyabhai e65bca53cb Re-enable the "gccgo" build target
Use a workaround from https://github.com/golang/go/issues/15628 for
issues with newer-style vendoring in gcc-go.

Travis's trusty images have gcc-go 4.9, which implements Go 1.2, so it's
missing sync.Pool (introduced in 1.3), so we can't enable the test
there.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-03-06 17:57:44 -05:00
Nalin Dahyabhai 584b6828a3 Use the VM's default version of golang
Use the version of golang that's packaged for our test VMs, rather than
forcing 1.7.4.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-03-06 16:09:51 -05:00
Nalin Dahyabhai a4a33a135f Move "modprobe" to run-in-vm
Don't bother attempting to load the aufs and zfs kernel modules during
provisioning for test VMs, since they'll get restarted for running
tests, and we only care if they're loaded when we actually want to run
tests.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-03-06 16:08:27 -05:00
Erik Hollensbe 9a2b6c119d Resolve a number of GOPATH-related issues previously missed
Signed-off-by: Erik Hollensbe <github@hollensbe.org>
2017-02-27 12:56:17 -08:00
Erik Hollensbe b921859b2a Retab shell script; use official golang package everywhere, adjust paths.
Signed-off-by: Erik Hollensbe <github@hollensbe.org>
2017-01-30 08:47:26 -08:00
Erik Hollensbe e9c7fca74d Flip the order of testing for virtualbox installations.
Signed-off-by: Erik Hollensbe <github@hollensbe.org>
2017-01-30 08:46:41 -08:00
Nalin Dahyabhai 25b7d157da Try to detect libvirt or vbox for running VMs
Try to detect whether the kvm or vboxdrv modules are loaded, and if they
are, assume libvirt or virtualbox as providers for vagrant.  The
Vagrantfile should reference boxes that are available for both.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2016-07-28 14:11:16 -04:00
Nalin Dahyabhai d1d0e63a45 Rework some of the build machinery
- Run tests in VMs with sufficiently-new gccgo
- Assume that all binary builds build dynamic binaries

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2016-07-28 14:01:54 -04:00