diff options
author | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2013-01-09 22:23:44 +0200 |
---|---|---|
committer | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2013-01-09 22:23:44 +0200 |
commit | 0d645df538726de99f2e403b383a7b5d1f1bdf65 (patch) | |
tree | 1353f83d04f882816a027dcba09fbd87384d035e /node | |
parent | d83132e9bde79a530686bad14e287565ce18caa1 (diff) |
Add new build type: build-android-toolchain-linaro-restricted .
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: |