summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--morphlib/morphloader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/morphloader.py b/morphlib/morphloader.py
index 597d4ec6..50aa9b38 100644
--- a/morphlib/morphloader.py
+++ b/morphlib/morphloader.py
@@ -271,7 +271,7 @@ class MorphologyLoader(object):
# it has chunks built in bootstrap mode.
if 'build-depends' not in morph:
for spec in morph['chunks']:
- if spec.get('build-mode') == 'bootstrap':
+ if spec.get('build-mode') in ['bootstrap', 'test']:
break
else:
raise NoStratumBuildDependenciesError(