summaryrefslogtreecommitdiffstats
path: root/QA
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-10-06 20:49:34 (GMT)
committerKevin Smith <kevin.smith@isode.com>2016-10-21 07:54:02 (GMT)
commit223bdbe232d42e459d4e1b840fe91486e5b4b733 (patch)
treef6b5e245bdba0b7a58d30a97df41f242b4c7c58d /QA
parentda871d063e4c24d64317b5a2df69a59e3b60c9b7 (diff)
downloadswift-223bdbe232d42e459d4e1b840fe91486e5b4b733.zip
swift-223bdbe232d42e459d4e1b840fe91486e5b4b733.tar.bz2
Fix version number for libminiupnpc version switch
Test-Information: Without this building failed under Gentoo Linux distribution. Verified this on Sabayon, a desktop Linux distribution based on Gentoo, by adding it to our cross distribution test. With this fix it builds on all platforms, including Sabayon. Change-Id: I23aec19b9755244dd3dbe6f581cf170eaf334dfc
Diffstat (limited to 'QA')
-rwxr-xr-xQA/CrossDistributionTest/VagrantCrossDistributionTest.py7
-rw-r--r--QA/CrossDistributionTest/playbook.yml4
2 files changed, 9 insertions, 2 deletions
diff --git a/QA/CrossDistributionTest/VagrantCrossDistributionTest.py b/QA/CrossDistributionTest/VagrantCrossDistributionTest.py
index ed0639c..3530fe5 100755
--- a/QA/CrossDistributionTest/VagrantCrossDistributionTest.py
+++ b/QA/CrossDistributionTest/VagrantCrossDistributionTest.py
@@ -21,6 +21,7 @@ testSystems = [
"bento/debian-8.5",
"bento/opensuse-leap-42.1",
"bento/fedora-24",
+ "Sabayon/spinbase-amd64"
]
progressBar = tqdm(testSystems)
@@ -40,7 +41,7 @@ Vagrant.configure("2") do |config|
config.ssh.insert_key = false
config.vm.provider "virtualbox" do |v|
- v.memory = 3072
+ v.memory = 4096
v.cpus = 2
end
@@ -50,6 +51,10 @@ Vagrant.configure("2") do |config|
config.vm.provision "shell", inline: "sudo dnf install -y python2 python2-dnf libselinux-python"
end
+ if config.vm.box.include? "Sabayon"
+ config.vm.provision "shell", inline: "sudo equo update && sudo env ACCEPT_LICENSE=* equo install dev-vcs/git sys-apps/lsb-release"
+ end
+
config.vm.synced_folder "../..", "/home/vagrant/swift-host", type: "rsync"
config.vm.synced_folder ".", "/vagrant", type: "rsync"
diff --git a/QA/CrossDistributionTest/playbook.yml b/QA/CrossDistributionTest/playbook.yml
index bad4d30..aa4b8f5 100644
--- a/QA/CrossDistributionTest/playbook.yml
+++ b/QA/CrossDistributionTest/playbook.yml
@@ -21,11 +21,13 @@
- name: Clone git from host working directory
git: repo=/home/vagrant/swift-host dest=/home/vagrant/swift
- - name: 'Install Swift dependencies'
+ - name: 'Install Swift dependencies for openSUSE Leap'
shell: ./BuildTools/InstallSwiftDependencies.sh --non-interactive chdir=/home/vagrant/swift
become: true
when: ansible_distribution == 'openSUSE Leap'
- name: 'Install Swift dependencies'
+ environment:
+ ACCEPT_LICENSE: '*'
shell: yes | ./BuildTools/InstallSwiftDependencies.sh chdir=/home/vagrant/swift
become: true
when: ansible_distribution != 'openSUSE Leap'