Re: [PATCH 0/9] *** Covoar Improvements ***

2017-08-25 Thread Chris Johns
On 26/8/17 7:53 am, Cillian O'Donnell wrote: > *** As the full coverage analysis tools integrated with RTEMS Tester > is not ready yet, I've cherry picked these standalone fixes to covoar. > This includes work from myself and the previous 2 students that worked > on the project in 2014 and 2015. *

Re: [PATCH 3/9] covoar: Fix buffer overflow and fix br tag in html report.

2017-08-25 Thread Chris Johns
On 26/8/17 7:53 am, Cillian O'Donnell wrote: > From: Hermann Felbinger > > Co-Author: Krzysztof Miesowicz > --- > tester/covoar/ReportsBase.cc | 5 +++-- > tester/covoar/ReportsHtml.cc | 46 > ++-- > 2 files changed, 26 insertions(+), 25 deletions(-) >

Re: [rtems-source-builder commit] 4.12: Change clock_t to 64-bit

2017-08-25 Thread Chris Johns
On 25/8/17 10:37 pm, Sebastian Huber wrote: > +%patch add newlib -p1 > https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=7b2c3621901dbb0a3535f8056a2eadb9095a5ad2 > +%hash sha512 > newlib-cygwin-git-7b2c3621901dbb0a3535f8056a2eadb9095a5ad2.patch > de14e30ad11716b15edf18fd6cbd593

[PATCH 9/9] covoar: Remove config file and test critical options are valid.

2017-08-25 Thread Cillian O'Donnell
--- tester/covoar/covoar.cc | 164 +++- tester/covoar/wscript | 1 - 2 files changed, 63 insertions(+), 102 deletions(-) diff --git a/tester/covoar/covoar.cc b/tester/covoar/covoar.cc index 005cb8e..d362255 100644 --- a/tester/covoar/covoar.cc +++ b

[PATCH 1/9] rtemstoolkit/host.py: Change option to search parent directory in Python3.

2017-08-25 Thread Cillian O'Donnell
This works in Python2.7 and Python3.5. Python2 __import__ searches relative and absolute paths by default. Python3 searches only absolute paths as default. The option change searches 1 parent directory relative to the calling function and has the same meaning in Python2 and Python3. --- rtemstoolk

[PATCH 4/9] covoar: Add information to improve diagnostics.

2017-08-25 Thread Cillian O'Donnell
From: Hermann Felbinger --- tester/covoar/CoverageMap.cc | 7 --- tester/covoar/CoverageMap.h | 5 +++-- tester/covoar/CoverageMapBase.cc | 6 -- tester/covoar/CoverageMapBase.h | 11 +-- tester/covoar/DesiredSymbols.cc | 25 ++--- tester/co

[PATCH 6/9] covoar/wscript: Add paths to rtemstoolkit to build.

2017-08-25 Thread Cillian O'Donnell
From: Krzysztof Miesowicz Co-Author: Cillian O'Donnell --- tester/covoar/wscript | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/tester/covoar/wscript b/tester/covoar/wscript index 68184a7..d121a21 100644 --- a/tester/covoar/wscript +++ b/tester/covoar/ws

[PATCH 8/9] covoar/CoverageReaderQEMU.cc: Remove trace block matching check.

2017-08-25 Thread Cillian O'Donnell
This removes the 'Trace block inconsistent with coverage map' check as it was deemed to be too restrictive and not neccessary. --- tester/covoar/CoverageReaderQEMU.cc | 15 --- 1 file changed, 15 deletions(-) diff --git a/tester/covoar/CoverageReaderQEMU.cc b/tester/covoar/CoverageRe

[PATCH 2/9] covoar/qemu-traces.h: Change to match current couverture-qemu file.

2017-08-25 Thread Cillian O'Donnell
From: Fabien Chouteau --- tester/covoar/qemu-traces.h | 76 +++-- 1 file changed, 39 insertions(+), 37 deletions(-) diff --git a/tester/covoar/qemu-traces.h b/tester/covoar/qemu-traces.h index 7e37840..1b3d118 100644 --- a/tester/covoar/qemu-traces.h +++

[PATCH 5/9] covoar/ObjdumpProcessor.cc: Remove jump tables from the end of symbols.

2017-08-25 Thread Cillian O'Donnell
Some tests objdumps have jump tables added to the end of them causing the same symbols to have different sizes when processed. This removes them and their associated errors. --- tester/covoar/ObjdumpProcessor.cc | 37 - 1 file changed, 36 insertions(+), 1 deleti

[PATCH 7/9] covoar: Use rld tempfile and add signals to clean up in event of crash.

2017-08-25 Thread Cillian O'Donnell
Use rld tempfile for temporary files and add fatal signal handling to clean them up in the event of a crash. --- tester/covoar/ObjdumpProcessor.cc | 168 +--- tester/covoar/ObjdumpProcessor.h| 30 --- tester/covoar/TraceConverter.cc | 60 ++--

[PATCH 3/9] covoar: Fix buffer overflow and fix br tag in html report.

2017-08-25 Thread Cillian O'Donnell
From: Hermann Felbinger Co-Author: Krzysztof Miesowicz --- tester/covoar/ReportsBase.cc | 5 +++-- tester/covoar/ReportsHtml.cc | 46 ++-- 2 files changed, 26 insertions(+), 25 deletions(-) diff --git a/tester/covoar/ReportsBase.cc b/tester/covoar/Repor

[PATCH 0/9] *** Covoar Improvements ***

2017-08-25 Thread Cillian O'Donnell
*** As the full coverage analysis tools integrated with RTEMS Tester is not ready yet, I've cherry picked these standalone fixes to covoar. This includes work from myself and the previous 2 students that worked on the project in 2014 and 2015. *** Cillian O'Donnell (5): rtemstoolkit/host.py: Ch

Re: [PATCH v2] Testsuite for inttypes methods

2017-08-25 Thread Gedare Bloom
Merge this with the previous commits to only provide 1 single commit adding this new test. On Wed, Aug 23, 2017 at 3:35 PM, Aditya Upadhyay wrote: > --- > testsuites/psxtests/Makefile.am| 5 -- > testsuites/psxtests/configure.ac | 5 -- > testsuites/psxtes

[PATCH] Fix integer overflow problems in times()

2017-08-25 Thread Sebastian Huber
An integer overflow may still happen, however, only after 68 years of system uptime. Close #2135. --- cpukit/libcsupport/src/__times.c | 55 ++-- 1 file changed, 19 insertions(+), 36 deletions(-) diff --git a/cpukit/libcsupport/src/__times.c b/cpukit/libcsuppo

Re: [PATCH] leon, grspw: for SMP use GRSPW Packet driver

2017-08-25 Thread Sebastian Huber
Please check the patches it in (including the 4.11 back ports) with a fixed "leon,grascs: fix semaphore policies" 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

Re: [PATCH] leon,grascs: fix semaphore policies

2017-08-25 Thread Sebastian Huber
On 25/08/17 13:51, Daniel Hellstrom wrote: Closes #2726 --- c/src/lib/libbsp/sparc/shared/ascs/grascs.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/c/src/lib/libbsp/sparc/shared/ascs/grascs.c b/c/src/lib/libbsp/sparc/shared/ascs/grascs.c index bc09159..d078e

[PATCH] leon,gr1553b: improve init check

2017-08-25 Thread Daniel Hellstrom
Check in init3 not needed since same data is already checked in init2 stage. Adds an extra check that the APB register space is available before accessing it. Updates #2331 but needs to be applied to 4.11 according to ticket. --- c/src/lib/libbsp/sparc/shared/1553/gr1553b.c | 11 --- 1 fi

[PATCH] drvmgr: clean up info_drv print

2017-08-25 Thread Daniel Hellstrom
Fixes #2930 --- cpukit/libdrvmgr/drvmgr_print.c | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/cpukit/libdrvmgr/drvmgr_print.c b/cpukit/libdrvmgr/drvmgr_print.c index 2b7a2e5..f53d87f 100644 --- a/cpukit/libdrvmgr/drvmgr_print.c +++ b/cpukit/libdrvmgr/drvmgr

[PATCH] libchip,greth: disable driver if SMP kernel

2017-08-25 Thread Daniel Hellstrom
Update #2355 --- c/src/libchip/Makefile.am | 4 +++- c/src/libchip/preinstall.am | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/c/src/libchip/Makefile.am b/c/src/libchip/Makefile.am index b0b54bc..cc7b27f 100644 --- a/c/src/libchip/Makefile.am +++ b/c/src/libchip/Makefil

[PATCH] leon,grascs: fix semaphore policies

2017-08-25 Thread Daniel Hellstrom
Closes #2726 --- c/src/lib/libbsp/sparc/shared/ascs/grascs.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/c/src/lib/libbsp/sparc/shared/ascs/grascs.c b/c/src/lib/libbsp/sparc/shared/ascs/grascs.c index bc09159..d078e59 100644 --- a/c/src/lib/libbsp/sparc/shared/asc

[PATCH] leon, grspw: for SMP use GRSPW Packet driver

2017-08-25 Thread Daniel Hellstrom
The GRSPW packet driver supports SMP and therefore the legacy GRSPW driver is disabled for SMP builds. Update #2355 --- c/src/lib/libbsp/sparc/leon2/Makefile.am | 6 +- c/src/lib/libbsp/sparc/leon2/preinstall.am | 5 + c/src/lib/libbsp/sparc/leon3/Makefile.am | 4 +++- c/src/lib/libbs

[PATCH] leon,occan: remove dead code.

2017-08-25 Thread Daniel Hellstrom
Fixes #2878 --- c/src/lib/libbsp/sparc/shared/can/occan.c | 92 --- 1 file changed, 92 deletions(-) diff --git a/c/src/lib/libbsp/sparc/shared/can/occan.c b/c/src/lib/libbsp/sparc/shared/can/occan.c index 3e637e7..2c0e49a 100644 --- a/c/src/lib/libbsp/sparc/shared/can

[PATCH] leon,ambapp: fixes bad allocation check

2017-08-25 Thread Daniel Hellstrom
Updates #2496 but to close needs to be applied to 4.11 accoring to ticket. --- c/src/lib/libbsp/sparc/shared/amba/ambapp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/src/lib/libbsp/sparc/shared/amba/ambapp.c b/c/src/lib/libbsp/sparc/shared/amba/ambapp.c index e4f1aac..e

[PATCH] leon,ambapp_bus: make unreferenced global function static

2017-08-25 Thread Daniel Hellstrom
Fixes #3072 --- c/src/lib/libbsp/sparc/shared/drvmgr/ambapp_bus.c | 68 ++ .../libbsp/sparc/shared/drvmgr/ambapp_bus_grlib.c | 52 - 2 files changed, 69 insertions(+), 51 deletions(-) diff --git a/c/src/lib/libbsp/sparc/shared/drvmgr/ambapp_bus.c b/c/src/lib