[releng] convert-to-tarballs: Make missing module a fatal error



commit aa18011ecebd2a9f8fc907d94a4bc8e3b9c529cc
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Tue Feb 13 11:30:27 2018 -0600

    convert-to-tarballs: Make missing module a fatal error

 tools/smoketesting/convert-to-tarballs.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tools/smoketesting/convert-to-tarballs.py b/tools/smoketesting/convert-to-tarballs.py
index 2d036e0..3434e3e 100755
--- a/tools/smoketesting/convert-to-tarballs.py
+++ b/tools/smoketesting/convert-to-tarballs.py
@@ -755,7 +755,8 @@ class ConvertToTarballs:
                                 versions.write(triplet)
                                 done[triplet] = True
                     except:
-                        print 'No version found for %s' % module
+                        print 'FATAL: module %s missing from BuildStream projects' % module
+                        sys.exit(1)
                 subdirs_keys = subdirs.keys()
                 subdirs_keys.sort ()
                 for subdir in subdirs_keys:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]