nietingting
c98330fed9
[ltp] fix build failure with Argument too long issue
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2021-01-05 07:12:46 -06:00
nietingting
ccf5bd28fd
ltp: fix build fail issue
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2021-01-05 07:12:46 -06:00
ligd
ef0c6b30c4
apps: update mqueue_open usage
...
As the mqd_t change to int
Change-Id: I16a9c137b6308eeec0badd241a101359e5f751b4
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-01-03 21:23:34 -06:00
ligd
135c5f61e1
testing/ostest/timedmqueue.c: fix nx_style
...
Change-Id: Ic7ba4f9008164932d3d94da1d09096a0f3e9534b
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-01-03 21:23:34 -06:00
dongjiuzhu
89bceba6b0
testing/sensortest: fix bug because getopt and add debug log
...
Change-Id: Id9c3499dd56690c60b2f6579d128850ce7522a6e
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2020-12-31 23:53:08 +01:00
dongjiuzhu
89376af38d
testing/sensortest: fix bug because of adding custom type
...
Change-Id: I69fc7881e3fa7f94b549b1a342339fe5a9ec13ab
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2020-12-31 23:53:08 +01:00
Xiang Xiao
eff52fefcf
Fix nxstyle warning
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-31 12:29:59 -08:00
Xiang Xiao
625832aa59
ostest: Don't assign NULL to mq_t varaibles
...
change to 0 instead since mq_t mayn't be a pointer
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-12-31 12:29:59 -08:00
YAMAMOTO Takashi
961fface44
testing/irtest: Remove an unused function
2020-12-22 03:07:29 -06:00
Huang Qi
3040c59ae9
Replace all wget with curl
...
wget is missing from some system (like macOS and Windows native),
it's better to use curl to simplify build environment.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-12-21 22:45:46 -06:00
nietingting
384d423415
ltp: fix build fail issue
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2020-12-18 08:57:02 -06:00
nietingting
c335c13578
add .gitignore for ltp
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2020-12-15 16:16:02 +01:00
nietingting
ef1845e215
Add LTP support
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2020-12-15 00:31:49 -08:00
dongjiuzhu
b506600c5b
irtest: use global arrays instead of __attributes__((section)) organization
...
N/A
fix __attribute__((section)) syntax issues on linux and mac
Change-Id: Ie8b5f52e552280bf3435b5bac03ffd8aed4d9e02
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-11-27 23:53:16 -06:00
Yoshinori Sugino
e1a7c2539e
testing/getprime/getprime_main.c: Fix a comment
2020-11-27 05:18:04 -06:00
dongjiuzhu
85f96e379e
testing/irtest: test ir by LIRC interface
...
N/A
Change-Id: I008d2cf3f1db18cfa24bc20a5643f4960a97be3e
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-11-21 18:47:29 -08:00
dongjiuzhu
a96867a65d
test/sensor: fix test failed when some apis are NULL
...
N/A
Change-Id: Ieb40b3ce73240057a181ee0dd482564cf27f6afa
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-11-18 00:05:28 -08:00
YAMAMOTO Takashi
c1b11a1e35
testing/sensortest/sensortest.c: Fix a printf format warning
2020-11-16 00:38:24 -08:00
YAMAMOTO Takashi
2a74046c2d
testing/sensortest/sensortest.c: Fix printf format warnings
2020-11-15 21:33:25 -08:00
YAMAMOTO Takashi
5555d0ae91
testing/ostest/fpu.c: Fix a printf format warning
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
916543213f
testing/ostest/fpu.c: Appease nxstyle
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
10a0764175
testing/ostest/posixtimer.c: Fix printf format warnings
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
361615b8b4
testing/ostest/posixtimer.c: Appease nxstyle
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
135ee16d6c
testing/ostest/sighand.c: Fix printf format warnings
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
469daed335
testing/getprime/getprime_main.c: Fix a printf format warning
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
4d00277111
testing/fstest/fstest_main.c: Fix printf format warnings
2020-11-13 05:51:23 -08:00
Subhra Sankha Sarkar
ac5cda8daa
Fix for file naming issue for sim:nxffs configuration
2020-11-10 19:06:53 -08:00
YAMAMOTO Takashi
6f6c452991
testing/ostest/signest.c: Fix a printf warning
...
error: too many arguments for format [-Werror=format-extra-args]
2020-11-09 04:10:59 -08:00
YAMAMOTO Takashi
0a1825b384
testing/ostest/signest.c: Appease nxstyle
2020-11-09 04:10:59 -08:00
dongjiuzhu
60342ec862
testing/sensortest: add sensor driver test
...
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-10-23 00:43:47 +08:00
Xiang Xiao
ecae66fe59
Replace all CONFIG_NFILE_STREAMS with CONFIG_FILE_STREAM
...
follow up the kernel side change
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ic27ad65d7cc2ea570921e0c17098dcb6bfe1893a
2020-09-11 17:57:58 +08:00
Xiang Xiao
e6c5ff9208
Remove the unnecessary touch and clean from Makefile
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-08-11 19:10:19 +01:00
Peter Bee
63a5ddcc7c
testing/cxxtest: increase STACKSIZE to avoid crash
...
The previous version of cxxtest uses a fixed value(4096) for STACKSIZE,
insufficient when no optimization options are set(CONFIG_DEBUG_NOOPT).
This patch increased the STACKSIZE to CONFIG_DEFAULT_TASK_STACKSIZE for
stability and consistency.
Change-Id: I45a4806d2cda1583f60a5cf24b98b8df58f377d0
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2020-08-03 21:05:01 +01:00
Johannes Schock
6aada750d9
Testing for UTF8 support for FAT Filesystem.
2020-07-31 18:03:03 -03:00
Masayuki Ishikawa
813f834018
testing: getprime: Replace license header with Apache License 2.0
...
Summary:
- This commit replaces license headers under testing/getprime.
Impact:
- No impact
Testing:
- Buid check only
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-07-29 01:05:31 -05:00
Maciej Wójcik
21049ece6e
Rewritten READMEs to Markdown
2020-07-25 01:01:51 -07:00
Maciej Wójcik
51e6645f71
Rename README and README.txt to README.md
2020-07-25 01:01:51 -07:00
Xiang Xiao
deaa6c5b7b
build: Replace $(TOPDIR)/Make.defs with $(APPDIR)/Make.defs
...
and move NUTTXLIB defintion to the common place
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-09 15:17:37 -03:00
qiaowei
d07db1fa5e
ostest: fix assert when open CONFIG_SIG_DEFAULT
...
SIGKILL was captured and call nxsig_abnormal_termination,
which kills the children when SIGCHLD was set. Solution:
change SIGKILL to SIGUSR1.
Signed-off-by: qiaowei <qiaowei@xiaomi.com>
Change-Id: I4a4b06220a28fcf9d50debfd8a3b789fdbdf1976
2020-07-08 00:20:06 +01:00
Xiang Xiao
278c9fe5f5
testing/cxxtest: Fix the compiler warning
...
cxxtest_main.cxx: In function ‘void test_rtti()’:
cxxtest_main.cxx:199:3: warning: deleting object of polymorphic class type ‘Base’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
199 | delete a;
| ^~~~~~~~
cxxtest_main.cxx:200:3: warning: deleting object of polymorphic class type ‘Base’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
200 | delete b;
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Id80100a09f7b1d5931e7898a1a5a75ca00007c75
2020-07-08 00:18:49 +01:00
Xiang Xiao
9df0272279
apps: Let c++ examples/testing depends on UCLIBCXX or LIBCXX
...
since the test should work with either uClibc++ or libcxx
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ie6d7b1706314cbe82d4e89eb2d5c47ed36118ea4
2020-07-02 08:47:40 +02:00
Xiang Xiao
b217de70e5
apps: Remove all stuff related to CONFIG_xxx_CXXINITIALIZE
...
since it is moved to the central place in nuttx side instead
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I544d6110f1ca6460f7c82f970870aa9b1e7ab3dd
2020-07-01 10:03:12 -06:00
Xiang Xiao
3a92024b52
cxxtest: Should check CONFIG_CXX_EXCEPTION instead of CONFIG_UCLIBCXX_EXCEPTION
...
because user may use libcxx which just define CONFIG_LIBCXX_EXCEPTION
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I67e7e93cd994e7ad895e93f859f78e038a7a10cb
2020-06-29 13:48:11 +01:00
YAMAMOTO Takashi
faba0249c1
Include malloc.h instead of stdlib.h for mallinfo()
...
Adapt to the change in the main repo.
mallinfo is meant to be API compatible with Linux,
where it's provided by malloc.h.
(I think the API actually originated with System V. I don't
remember how it was there though. Anyway, I guess the
compatibility with Linux is more important than System V
these days.)
2020-06-15 07:21:52 -06:00
Xiang Xiao
69f013e74e
build: Remve the unnecessary .gitignore
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-23 15:56:35 +01:00
Xiang Xiao
ea135b89c6
build: Replace all -I to INCDIR
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-21 17:43:42 +01:00
Xiang Xiao
ead498a788
build: Remove the workaround for the inexistence of .config/Make.defs
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-21 17:43:42 +01:00
Gregory Nutt
f918be8d2a
Rename CONFIG_NPTHREAD_KEYS to CONFIG_TLS_NELEM
...
After the redesign of pthread-specific data, CONFIG_NPTHREAD_KEYS is removed and replaced with CONFIG_TLS_NELEM
2020-05-08 17:43:28 +01:00
Gregory Nutt
8a92862e03
Remove CONFIG_TLS
...
A first step in implementing the user-space error is force TLS to be enabled at all times. It is no longer optional
2020-05-07 17:29:02 +01:00
Brennan Ashton
ed3c1cbe2d
Resolve style issues in ostest/prioinherit
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-04-30 15:18:04 +08:00