Commit 53be4c2e authored by Kirill Smelkov's avatar Kirill Smelkov

Mark generic_testrunner_init as synthethic setction

else:

    NotImplementedError: generic_testrunner_init uses slapos.recipe.build without url

Occurs in Wendelin.
parent 49fc9a26
...@@ -124,7 +124,7 @@ def bom_software(installed_software_path): # -> {} (name,kind) -> PkgInfo ...@@ -124,7 +124,7 @@ def bom_software(installed_software_path): # -> {} (name,kind) -> PkgInfo
# the one installed via slapos will come in its own section # the one installed via slapos will come in its own section
# [python] is similar - it picks up python2 or python3 # [python] is similar - it picks up python2 or python3
# ZODB, ZEO, ... are similar as well # ZODB, ZEO, ... are similar as well
if s in ('gcc', 'python', 'ZODB', 'ZEO', 'tempstorage'): if s in ('gcc', 'python', 'ZODB', 'ZEO', 'tempstorage', 'generic_testrunner_init'):
continue continue
raise NotImplementedError('%s uses %s without url' % (s, recipe)) raise NotImplementedError('%s uses %s without url' % (s, recipe))
......
...@@ -136,7 +136,7 @@ url = http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz ...@@ -136,7 +136,7 @@ url = http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz
GeoLite2-Country dc6224c6 http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz GeoLite2-Country dc6224c6 http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz
""") """)
for x in ('gcc', 'python', 'ZODB', 'ZEO', 'tempstorage'): for x in ('gcc', 'python', 'ZODB', 'ZEO', 'tempstorage', 'generic_testrunner_init'):
case1("""\ case1("""\
[%s] [%s]
recipe = slapos.recipe.build recipe = slapos.recipe.build
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment