Add support for snapshot testing.

User macro files passed on the command line allow a user to
override the defaults in configuration files to test new changes
in pending releases.

Fix macros issues with keys with more than one map.
This commit is contained in:
Chris Johns
2013-04-13 18:29:30 +10:00
parent 667255cb77
commit 0565e1fa4b
3 changed files with 62 additions and 43 deletions

View File

@@ -239,8 +239,6 @@ class build:
# sources as these may be overridden by user loaded macros.
#
sources = package.sources()
for sm in self.macros.find('source[0-9]*'):
sources[sm] = [self.macros[sm]]
url = None
for s in sources:
tag = s[len('source'):]