You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/01/05 13:12:58 UTC

[incubator-nuttx-apps] branch master updated (54bbfee -> c98330f)

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git.


    from 54bbfee  system/readline: check the control ascii only to support multi-languages
     new ccf5bd2  ltp: fix build fail issue
     new c98330f  [ltp] fix build failure with Argument too long issue

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 testing/ltp/Makefile | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)


[incubator-nuttx-apps] 02/02: [ltp] fix build failure with Argument too long issue

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git

commit c98330fed99cd7f0da401505f17d61b71d720809
Author: nietingting <ni...@xiaomi.com>
AuthorDate: Tue Jan 5 16:43:30 2021 +0800

    [ltp] fix build failure with Argument too long issue
    
    Signed-off-by: nietingting <ni...@xiaomi.com>
---
 testing/ltp/Makefile | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/testing/ltp/Makefile b/testing/ltp/Makefile
index cfc26e1..022f9fc 100644
--- a/testing/ltp/Makefile
+++ b/testing/ltp/Makefile
@@ -83,12 +83,10 @@ BLACKSRCS += 35-2-buildonly.c
 
 MAINWORDS    += "main("
 
-LTP_ORIGINS  := $(shell find $(TESTDIR) -name *.c)
+$(foreach word, $(BLACKWORDS), $(eval BLACKLIST+=$(shell find $(TESTDIR) -name *.c |xargs grep -lr $(word))))
+$(foreach src, $(BLACKSRCS), $(eval BLACKLIST+=$(filter %$(src),$(shell find $(TESTDIR) -name *.c))))
 
-$(foreach word, $(BLACKWORDS), $(eval BLACKLIST+=$(shell grep -lr $(word) $(LTP_ORIGINS))))
-$(foreach src, $(BLACKSRCS), $(eval BLACKLIST+=$(filter %$(src),$(LTP_ORIGINS))))
-
-LTP_ORIGINS  := $(filter-out $(BLACKLIST), $(LTP_ORIGINS))
+LTP_ORIGINS  := $(filter-out $(BLACKLIST), $(shell find $(TESTDIR) -name *.c))
 
 $(foreach word, $(MAINWORDS), $(eval LTP_MAINCSRCS+=$(shell grep -lr $(word) $(LTP_ORIGINS))))
 
@@ -109,8 +107,6 @@ $(LTP_UNPACK):
 	$(Q) echo "git clone $(LTP_URL)"
 	$(Q) git clone $(LTP_URL)
 
-$(LTP_CSRCS): $(LTP_UNPACK)
-
 context:: $(LTP_UNPACK)
 
 distclean::


[incubator-nuttx-apps] 01/02: ltp: fix build fail issue

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git

commit ccf5bd28fdd1469e96396587d5309beb37c7bf65
Author: nietingting <ni...@xiaomi.com>
AuthorDate: Fri Dec 18 15:10:37 2020 +0800

    ltp: fix build fail issue
    
    Signed-off-by: nietingting <ni...@xiaomi.com>
---
 testing/ltp/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/testing/ltp/Makefile b/testing/ltp/Makefile
index f88658a..cfc26e1 100644
--- a/testing/ltp/Makefile
+++ b/testing/ltp/Makefile
@@ -109,6 +109,8 @@ $(LTP_UNPACK):
 	$(Q) echo "git clone $(LTP_URL)"
 	$(Q) git clone $(LTP_URL)
 
+$(LTP_CSRCS): $(LTP_UNPACK)
+
 context:: $(LTP_UNPACK)
 
 distclean::