aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2016-10-11 09:06:22 +0100
committerPascal Terjan <pterjan@gmail.com>2016-10-11 09:06:22 +0100
commitbe053c1ef4f64b106657902b3b37cd5e3c7ce22e (patch)
tree94d7ec814a374ac2e3835620fcdd22407c56117e /t
parentcc76f64e8faa77cfcc93a9d56f6b86cfd8cade10 (diff)
downloadiurt-be053c1ef4f64b106657902b3b37cd5e3c7ce22e.tar
iurt-be053c1ef4f64b106657902b3b37cd5e3c7ce22e.tar.gz
iurt-be053c1ef4f64b106657902b3b37cd5e3c7ce22e.tar.bz2
iurt-be053c1ef4f64b106657902b3b37cd5e3c7ce22e.tar.xz
iurt-be053c1ef4f64b106657902b3b37cd5e3c7ce22e.zip
Fix reuse of {arch} part of the tree
It is used by ulri for both builds in progress and already done, while emi expects it to be only for done ones. This causes to upload only part of mandatory arches and later reject the other.
Diffstat (limited to 't')
-rw-r--r--t/emi_finisher.t4
-rw-r--r--t/emi_mandatory.t6
-rw-r--r--t/emi_non_mandatory.t10
3 files changed, 10 insertions, 10 deletions
diff --git a/t/emi_finisher.t b/t/emi_finisher.t
index b66a1be..8bfed63 100644
--- a/t/emi_finisher.t
+++ b/t/emi_finisher.t
@@ -12,7 +12,7 @@ my %pkg_tree = (
'target' => 'cauldron',
'media' => {
'core/release' => {
- 'arch' => {
+ 'done_arch' => {
'i586' => 1,
'x86_64' => 1,
'src' => 1
@@ -43,7 +43,7 @@ my %pkg_tree = (
'media' => {
'core/release' => {
'uploaded' => 1,
- 'arch' => {
+ 'done_arch' => {
'armv5tl' => 1,
'i586' => 1,
'x86_64' => 1,
diff --git a/t/emi_mandatory.t b/t/emi_mandatory.t
index e50d328..90ba2a2 100644
--- a/t/emi_mandatory.t
+++ b/t/emi_mandatory.t
@@ -12,7 +12,7 @@ my %pkg_tree = (
'target' => 'cauldron',
'media' => {
'core/release' => {
- 'arch' => {
+ 'done_arch' => {
'x86_64' => 1,
'src' => 1
},
@@ -34,7 +34,7 @@ my %pkg_tree = (
'target' => 'cauldron',
'media' => {
'core/release' => {
- 'arch' => {
+ 'done_arch' => {
'i586' => 1,
'x86_64' => 1,
'src' => 1
@@ -61,7 +61,7 @@ my %pkg_tree = (
'target' => 'cauldron',
'media' => {
'core/release' => {
- 'arch' => {
+ 'done_arch' => {
'x86_64' => 1,
'src' => 1
},
diff --git a/t/emi_non_mandatory.t b/t/emi_non_mandatory.t
index 8aa2c94..44031f6 100644
--- a/t/emi_non_mandatory.t
+++ b/t/emi_non_mandatory.t
@@ -28,7 +28,7 @@ my %pkg_tree = (
'target' => 'cauldron',
'media' => {
'core/release' => {
- 'arch' => {
+ 'done_arch' => {
'armv5tl' => 1,
'x86_64' => 1,
'src' => 1
@@ -58,7 +58,7 @@ my %pkg_tree = (
'target' => 'cauldron',
'media' => {
'core/release' => {
- 'arch' => {
+ 'done_arch' => {
'armv5tl' => 1,
'i586' => 1,
'x86_64' => 1,
@@ -93,7 +93,7 @@ my %pkg_tree = (
'target' => 'cauldron',
'media' => {
'core/release' => {
- 'arch' => {
+ 'done_arch' => {
'armv5tl' => 1,
'x86_64' => 1,
'src' => 1
@@ -127,7 +127,7 @@ my %pkg_tree = (
'media' => {
'core/release' => {
'uploaded' => 1,
- 'arch' => {
+ 'done_arch' => {
'armv5tl' => 1,
'i586' => 1,
'x86_64' => 1,
@@ -154,7 +154,7 @@ my %pkg_tree = (
'target' => 'cauldron',
'media' => {
'core/release' => {
- 'arch' => {
+ 'done_arch' => {
'x86_64' => 1,
'src' => 1
},