testing: do not rely on "compile" being enabled
This fixes a problem during source checkout.
This commit is contained in:
parent
edda92b352
commit
333b282b9b
1 changed files with 1 additions and 1 deletions
|
@ -1242,7 +1242,7 @@ if options.prebuilt != None:
|
|||
compile.installdir = options.schrootdir
|
||||
compile.installed = True
|
||||
else:
|
||||
if enabled["compile"] == "no-tests":
|
||||
if enabled.get("compile", None) == "no-tests":
|
||||
# Regular build.
|
||||
build = AutotoolsBuild
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue