Re: [PATCH 1/1] eng: Add software test framework chapter

2019-03-22 Thread Sebastian Huber
I rename T Test in RTEMS Test and updated https://ftp.rtems.org/pub/rtems/people/sebh/eng.pdf with the attached patch. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu.

[PATCH v2 3/3] ttest01: New test

2019-03-22 Thread Sebastian Huber
This is an example test using the RTEMS Test Framework. It tests also the framework itself. Add T_FILE_NAME command line define to get rid of the full file path. This is important to reduce the read-only data of test files and make them build system independent. Update #3199. --- testsuites/aut

[PATCH v2 1/3] build: Move test support to librtemstest.a

2019-03-22 Thread Sebastian Huber
One reason to move the test support into a dedicated library are the standard output __wrap_*() functions. They may conflict with application level wrappers. Update #3199. --- cpukit/Makefile.am | 14 +- cpukit/{libmisc/testsupport => libtest}/tes

Re: RTEMS Requirement Management Tools

2019-03-22 Thread Sebastian Huber
Hello, I searched a bit for Doorstop use cases. I found this: https://arxiv.org/abs/1807.05422 It was used for this NASA mission: https://wfirst.gsfc.nasa.gov/observatory.html -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47

Re: RTEMS Requirement Management Tools

2019-03-22 Thread Sebastian Huber
On 21/03/2019 14:32, Joel Sherrill wrote: 5. Is it possible to have custom fields? I worked on a project where requirements were tagged with project phase and HW/SW. Alternatively, can we add comments to the YAML files. Or who cares since the author information is in git. According to the D

[PATCH 3/4] libfs/src/pipe/fifo.c: Fix warning.

2019-03-22 Thread Joel Sherrill
--- cpukit/libfs/src/pipe/fifo.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/cpukit/libfs/src/pipe/fifo.c b/cpukit/libfs/src/pipe/fifo.c index 3275e5f..f7f186c 100644 --- a/cpukit/libfs/src/pipe/fifo.c +++ b/cpukit/libfs/src/pipe/fifo.c @@ -158,8 +158,6 @@ static int pipe_new( PIPE_LOC

[PATCH 2/4] erc32/start/setvec.c: Fix warning

2019-03-22 Thread Joel Sherrill
--- bsps/sparc/erc32/start/setvec.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/bsps/sparc/erc32/start/setvec.c b/bsps/sparc/erc32/start/setvec.c index d3aa8ed..0200f42 100644 --- a/bsps/sparc/erc32/start/setvec.c +++ b/bsps/sparc/erc32/start/setvec.c @@ -40,10

[PATCH 1/4] pthreadcreate.c: Silence unused variable warning (CID 1399716)

2019-03-22 Thread Joel Sherrill
--- cpukit/posix/src/pthreadcreate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cpukit/posix/src/pthreadcreate.c b/cpukit/posix/src/pthreadcreate.c index b70be00..211b2cf 100644 --- a/cpukit/posix/src/pthreadcreate.c +++ b/cpukit/posix/src/pthreadcreate.c @@ -137,6 +137,7 @@ int pthread_c

[PATCH 4/4] psxhdrs/stdio/v*.c: Fix warnings in varargs tests

2019-03-22 Thread Joel Sherrill
--- testsuites/psxtests/psxhdrs/stdio/vdprintf.c | 6 -- testsuites/psxtests/psxhdrs/stdio/vfprintf.c | 6 -- testsuites/psxtests/psxhdrs/stdio/vfscanf.c | 5 +++-- testsuites/psxtests/psxhdrs/stdio/vprintf.c | 5 +++-- testsuites/psxtests/psxhdrs/stdio/vscanf.c| 5 +++-- testsui

[PATCH] coverage: remove utf-8 encoding in symbolset names

2019-03-22 Thread Vijay Kumar Banerjee
--- tester/rt/coverage.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tester/rt/coverage.py b/tester/rt/coverage.py index eef88f7..3e722cb 100644 --- a/tester/rt/coverage.py +++ b/tester/rt/coverage.py @@ -256,10 +256,9 @@ class symbol_parser(object): sel

Re: [PATCH] coverage: remove utf-8 encoding in symbolset names

2019-03-22 Thread Joel Sherrill
I am testing this now and then will apply. On Fri, Mar 22, 2019 at 10:05 AM Vijay Kumar Banerjee < vijaykumar9...@gmail.com> wrote: > --- > tester/rt/coverage.py | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/tester/rt/coverage.py b/tester/rt/coverage.py > index eef88

Re: [PATCH] coverage: remove utf-8 encoding in symbolset names

2019-03-22 Thread Joel Sherrill
This has been pushed. Thanks. On Fri, Mar 22, 2019 at 10:26 AM Joel Sherrill wrote: > I am testing this now and then will apply. > > On Fri, Mar 22, 2019 at 10:05 AM Vijay Kumar Banerjee < > vijaykumar9...@gmail.com> wrote: > >> --- >> tester/rt/coverage.py | 3 +-- >> 1 file changed, 1 inserti

Re: RTEMS Requirement Management Tools

2019-03-22 Thread Joel Sherrill
On Fri, Mar 22, 2019 at 8:03 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > > > On 21/03/2019 14:32, Joel Sherrill wrote: > > 5. Is it possible to have custom fields? I worked on a project where > > requirements were > > tagged with project phase and HW/SW. Alternatively, can we

Re: RTEMS Requirement Management Tools

2019-03-22 Thread Joel Sherrill
On Fri, Mar 22, 2019 at 5:28 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello, > > I searched a bit for Doorstop use cases. I found this: > > https://arxiv.org/abs/1807.05422 > > It was used for this NASA mission: > > https://wfirst.gsfc.nasa.gov/observatory.html Ironicall

[PATCH] coverage: Add subdirectory name in HTML reports

2019-03-22 Thread Vijay Kumar Banerjee
--- tester/rt/coverage.py | 18 ++ 1 file changed, 18 insertions(+) diff --git a/tester/rt/coverage.py b/tester/rt/coverage.py index 3e722cb..bdf3c5f 100644 --- a/tester/rt/coverage.py +++ b/tester/rt/coverage.py @@ -211,6 +211,23 @@ class report_gen_html: path.copy_t

Re: Sub-Tickets selected for POSIX Compilance GSoc Project

2019-03-22 Thread Vaibhav Gupta
Ticket #2974 - Enable search.h functionality in newlib. : https://devel.rtems.org/ticket/2974 . The following declarations are missing from newlib-cygwin/newlib/libc/include/search.h: void insque(void *, void *); void *lfind(const void *, const void *, size_t *, size_t, int (*)(const void *cons

Re: Sub-Tickets selected for POSIX Compilance GSoc Project

2019-03-22 Thread Vaibhav Gupta
For long double and complex methods, I compared the given resources: https://docs.rtems.org/branches/master/posix-compliance/posix-compliance.html https://wiki.freebsd.org/Numerics . Following Function/Features are missing from newlib / RTEMS: - CMPLX - CMPLXF - CMPLXL - sincos - sincosf - sincosl