on master help sign in
Fix target groups not working correctly

RUNNING_BENCHMARKS/RUNNING_TESTS variables were getting cleared up by set_common_vars. Also, all_grp is a function and should be treated differently than variables.

commit0c29627667b99c9decfbe7a340e2d68d1ca46f0a authorHarendra Kumar <harendra@composewell.com> dateWed 30 Dec 2020, 20:42 (6 years ago) parentdd8bd7d
1 file changed+2−4
bin/build-lib.sh+2−4
bin/build-lib.sh+2−4
@@ -62,9 +62,8 @@ all_grp () {
6262 } | sort | uniq
6363}
6464
65−# All groups including all_grp
65+# All groups
6666all_target_groups () {
67− echo all_grp
6867 echo $GROUP_TARGETS
6968}
7069
@@ -80,6 +79,7 @@ list_targets () {
8079
8180# XXX pass as arg
8281list_target_groups () {
82+ echo "All Targets: all_grp"
8383 echo "Target groups:"
8484 for i in $(all_target_groups)
8585 do
@@ -133,8 +133,6 @@ set_common_vars () {
133133 SLOW=0
134134 QUICK_MODE=0
135135
136− RUNNING_TESTS=
137− RUNNING_BENCHMARKS=
138136 RUNNING_DEVBUILD=
139137
140138 TARGET_EXE_ARGS=