aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2016-10-11 09:10:16 +0100
committerPascal Terjan <pterjan@gmail.com>2016-10-11 09:10:16 +0100
commit5dad5637e0b624568adac81feaafcca418b9d502 (patch)
treeaf09ee613e762aba40e12c6067aaf2d502489737
parentbe053c1ef4f64b106657902b3b37cd5e3c7ce22e (diff)
downloadiurt-5dad5637e0b624568adac81feaafcca418b9d502.tar
iurt-5dad5637e0b624568adac81feaafcca418b9d502.tar.gz
iurt-5dad5637e0b624568adac81feaafcca418b9d502.tar.bz2
iurt-5dad5637e0b624568adac81feaafcca418b9d502.tar.xz
iurt-5dad5637e0b624568adac81feaafcca418b9d502.zip
Describe some tests
-rw-r--r--t/emi_mandatory.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/emi_mandatory.t b/t/emi_mandatory.t
index 90ba2a2..ce0a54b 100644
--- a/t/emi_mandatory.t
+++ b/t/emi_mandatory.t
@@ -87,8 +87,8 @@ my %pkg_tree = (
my %targets = find_prefixes_ready_to_upload($config, %pkg_tree);
# 20160113183431.nobody.valstar.23515 is not ready to upload, mandatory arch i586 is missing
-ok(!('20160113183431.nobody.valstar.23515' ~~ @{$targets{'cauldron'}{'core/release'}{'to_upload'}}));
+ok(!('20160113183431.nobody.valstar.23515' ~~ @{$targets{'cauldron'}{'core/release'}{'to_upload'}}), 'mandatory architecture missing');
# 20160113183432.nobody.valstar.23515 is ready to upload, all arches are present
-ok('20160113183432.nobody.valstar.23515' ~~ @{$targets{'cauldron'}{'core/release'}{'to_upload'}});
+ok('20160113183432.nobody.valstar.23515' ~~ @{$targets{'cauldron'}{'core/release'}{'to_upload'}}, 'all mandatory architectures present');
# 20160113183433.nobody.valstar.23515 is ready to upload, i586 is excluded
-ok('20160113183433.nobody.valstar.23515' ~~ @{$targets{'cauldron'}{'core/release'}{'to_upload'}});
+ok('20160113183433.nobody.valstar.23515' ~~ @{$targets{'cauldron'}{'core/release'}{'to_upload'}}, 'mandatory architecture excluded');