diff options
Diffstat (limited to 'node')
-rwxr-xr-x | node/prepare_build_config.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/node/prepare_build_config.py b/node/prepare_build_config.py index 7708ff4..2697dd7 100755 --- a/node/prepare_build_config.py +++ b/node/prepare_build_config.py @@ -58,7 +58,9 @@ def validate_config(config, slave_type): else: owner_cat = "normal" - if config.get("BUILD_TYPE", "build-android") in ["build-android-private", "build-android-restricted"]: + if config.get("BUILD_TYPE", "build-android") in ["build-android-private", + "build-android-restricted", + "build-android-toolchain-linaro-restricted"]: build_type_cat = "restricted" else: build_type_cat = "normal" @@ -69,7 +71,7 @@ def validate_config(config, slave_type): raise BuildConfigMismatchException("Only jobs owned by ~linaro-android-restricted may run on this build slave type") if owner_cat == "restricted" and build_type_cat != "restricted": - raise BuildConfigMismatchException("Jobs owned by ~linaro-android-restricted must use BUILD_TYPE=build-android-restricted") + raise BuildConfigMismatchException("Jobs owned by ~linaro-android-restricted must use BUILD_TYPE=build-android-*-restricted") # Finally, generic mismatch detection if slave_type_cat != owner_cat or slave_type_cat != build_type_cat: |