diff options
author | Ryan S. Arnold <ryan.arnold@linaro.org> | 2015-03-17 08:09:13 -0500 |
---|---|---|
committer | Ryan S. Arnold <ryan.arnold@linaro.org> | 2015-03-17 08:09:13 -0500 |
commit | 40c17f794792efc0ce8d9effd94b46b02a48ea39 (patch) | |
tree | 8bf5711570538a75f877e51dbe5571ffda9a3e8b /lib/globals.sh | |
parent | 5db087df4f14319c9027cb011193895157efbcff (diff) |
abe.sh: Add support for --check <directive> and --excludecheck <directive>
The full syntax is: --check [{all|gdb|glibc|binutils|gcc}]
and: --excludecheck {all|gdb|glibc|binutils|gcc}
This patch allows the selective inclusion and exclusion of running
unit-testing for the user designated packages. The existing option
(--check) without a directive still initiates make check on all
toolchain component packages and is the equivalent of --check all.
Change-Id: Ia5e5aa65031bbd578dd3ce3fef20997fc05f16ef
Diffstat (limited to 'lib/globals.sh')
-rw-r--r-- | lib/globals.sh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/globals.sh b/lib/globals.sh index dbf8ae2a..71c1bb6b 100644 --- a/lib/globals.sh +++ b/lib/globals.sh @@ -84,7 +84,17 @@ interactive=no nodepends=no verbose=1 network="" -runtests=no + +# Don't modify this in this file unless you're adding to it. This is the list +# of packages that have make check run against them. It will be queried for +# content when the users passes --check <package> or --excludecheck <package>. +all_unit_tests="glibc gcc gdb binutils" + +# Packages to run make check (unit-test) on. This variable is composed from +# all --check <package> and --excludecheck <package> switches. Don't modify +# this parameter manually. +runtests= + ccache=no #gerrit=no |