On Tuesday 22 July 2014 05:17 AM, Lisa Nguyen wrote:
Modify Test.mk to resolve the following build error:
make: [uncheck] Error 1 (ignored).
Signed-off-by: Lisa Nguyen <lisa.ngu...@linaro.org>
---
Changes from v1 to v2:
- Forgot to add @ to silence the shell command
---
Test.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Test.mk b/Test.mk
index 89e5cd9..df9cd62 100644
--- a/Test.mk
+++ b/Test.mk
@@ -22,7 +22,7 @@
# - initial API and implementation
SNT=$(wildcard *sanity.sh)
-TST=$(wildcard *[^(sanity)].sh)
+TST=$(wildcard *[^{sanity}].sh)
LOG=$(TST:.sh=.log)
CFLAGS?=-g -Wall -pthread
CC?=gcc
@@ -57,6 +57,6 @@ clean:
rm -f *.o $(EXEC)
uncheck:
- -@test ! -z "$(LOG)" && rm -f $(LOG)
+ -@$(shell test ! -z "$(LOG)" && rm -f $(LOG))
recheck: uncheck check
applied, thanks
--
sanjay
_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev