1 |
From 5dad5637e0b624568adac81feaafcca418b9d502 Mon Sep 17 00:00:00 2001 |
2 |
From: Pascal Terjan <pterjan@gmail.com> |
3 |
Date: Tue, 11 Oct 2016 09:10:16 +0100 |
4 |
Subject: [PATCH 06/14] Describe some tests |
5 |
|
6 |
--- |
7 |
t/emi_mandatory.t | 6 +++--- |
8 |
1 file changed, 3 insertions(+), 3 deletions(-) |
9 |
|
10 |
diff --git a/t/emi_mandatory.t b/t/emi_mandatory.t |
11 |
index 90ba2a2..ce0a54b 100644 |
12 |
--- a/t/emi_mandatory.t |
13 |
+++ b/t/emi_mandatory.t |
14 |
@@ -87,8 +87,8 @@ my %pkg_tree = ( |
15 |
my %targets = find_prefixes_ready_to_upload($config, %pkg_tree); |
16 |
|
17 |
# 20160113183431.nobody.valstar.23515 is not ready to upload, mandatory arch i586 is missing |
18 |
-ok(!('20160113183431.nobody.valstar.23515' ~~ @{$targets{'cauldron'}{'core/release'}{'to_upload'}})); |
19 |
+ok(!('20160113183431.nobody.valstar.23515' ~~ @{$targets{'cauldron'}{'core/release'}{'to_upload'}}), 'mandatory architecture missing'); |
20 |
# 20160113183432.nobody.valstar.23515 is ready to upload, all arches are present |
21 |
-ok('20160113183432.nobody.valstar.23515' ~~ @{$targets{'cauldron'}{'core/release'}{'to_upload'}}); |
22 |
+ok('20160113183432.nobody.valstar.23515' ~~ @{$targets{'cauldron'}{'core/release'}{'to_upload'}}, 'all mandatory architectures present'); |
23 |
# 20160113183433.nobody.valstar.23515 is ready to upload, i586 is excluded |
24 |
-ok('20160113183433.nobody.valstar.23515' ~~ @{$targets{'cauldron'}{'core/release'}{'to_upload'}}); |
25 |
+ok('20160113183433.nobody.valstar.23515' ~~ @{$targets{'cauldron'}{'core/release'}{'to_upload'}}, 'mandatory architecture excluded'); |
26 |
-- |
27 |
2.10.1 |
28 |
|