Bug fix: generate fuel reporting page when no aarch64 available 33/39133/1
authorMorgan Richomme <morgan.richomme@orange.com>
Fri, 11 Aug 2017 12:22:27 +0000 (14:22 +0200)
committerMorgan Richomme <morgan.richomme@orange.com>
Fri, 11 Aug 2017 12:22:27 +0000 (14:22 +0200)
In fuel we may deal with x86 or aarch64 architecture
We generate dedicated reporting page
- fuel@x86
- fuel@aarch64

However when there is no results for one of the architecture
the test on the number of architecture lead to a bug

Change-Id: I9906bd6078c8493587dc667eb23399a1e8311e77
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
utils/test/reporting/reporting/functest/reporting-status.py

index 48c4bb1..c7c2051 100755 (executable)
@@ -126,7 +126,7 @@ for version in versions:
             # in case of more than 1 architecture supported
             # precise the architecture
             installer_display = installer
-            if (len(architectures) > 1):
+            if "fuel" in installer:
                 installer_display = installer + "@" + architecture
 
             # For all the scenarios get results