Sebastian Huber
d0b704b09c
libtest: Change expected pass state string
...
Use separator character '_' for all test states.
2019-12-05 07:10:59 +01:00
Sebastian Huber
a6879a418d
testsuites: Remove rtems_test_pause*()
...
The rtems_test_pause() and rtems_test_pause_and_screen_number() macros
had different implementations depending on the RTEMS_TEST_NO_PAUSE
define. This define was defined to 1 by default. The user was able to
change this via the undocumented --disable-test-no-pause configure
command line option.
Pausing tests and waiting for user input contradicts the goal of having
automated test runs. Remove this feature.
Update #3818 .
2019-12-04 07:40:32 +01:00
Sebastian Huber
8f6b7abd1a
Move feature macro before "config.h" include
...
This allows to use header includes in "config.h" to reduce the build
configuration checks.
Update #3818 .
2019-12-02 07:46:25 +01:00
Sebastian Huber
ae716da79f
ada/sp19: Add m4 generated sptest.adb
...
Update #3818 .
2019-11-29 19:12:45 +01:00
Sebastian Huber
1fca166597
testsuites/ada: Introduce init.c files
...
Provide an init.c for each Ada test instead of the #include <config.h>
magic which works only due to hand crafted include paths.
Update #3818 .
2019-11-27 11:50:09 +01:00
Sebastian Huber
4551f5f0db
untar: Properly make parent path
...
Close #3823 .
2019-11-26 08:10:27 +01:00
Sebastian Huber
4a056523cf
libtests/dl*: Rename source files
...
Rename source files to use a %.c -> %.o and %.cc -> %.o pattern. Use
*.cc for C++ source files instead of *.cpp to be in line with other C++
source files.
Update #3818 .
2019-11-26 07:21:44 +01:00
Sebastian Huber
b8b954a3e9
libtests/dl*: Use rtems_tarfs_load()
...
Use rtems_tarfs_load() instead of Untar_FromMemory() to reduce the
memory demands of the tests.
2019-11-26 07:21:44 +01:00
Sebastian Huber
e9fdcd79b7
psxinttypes01: Remove invalid test cases
...
The functions expect a valid string as input according to POSIX. On
systems with a NULL pointer protection the test cases ended up in
exceptions.
2019-11-26 07:21:40 +01:00
Sebastian Huber
5c2e7104e7
libtests: Use '-' for TAR file names
...
Use uniform pattern for all TAR file names. Use the dl* tests as a
template.
Update #3818 .
2019-11-25 13:01:54 +01:00
Sebastian Huber
8f021bdbf9
libtests/dl*: Do not generate files via "echo"
...
Add the static files to the repository. This simplifies the build.
Update #3818 .
2019-11-25 11:32:19 +01:00
Sebastian Huber
273e8b72c8
libtests/tar0[12]:: Use static archive content
...
This simplifies the build process. Do not generate the archive content
through the build system. Let the version control system deal with
symbolic links.
Update #3818 .
2019-11-25 11:32:19 +01:00
Hesham Almatary
1a95dd738f
testsuite: Only include termios10/termios11 tests if compiled with POSIX
...
Both need POSIX support
2019-11-21 10:32:46 +00:00
Sebastian Huber
f377998568
imfs: Add IMFS_make_linfile()
...
Update #3818 .
2019-11-19 16:22:00 +01:00
Sebastian Huber
b882b07e84
Remove BSP_SMALL_MEMORY BSP option
...
Use the test state configuration instead.
Update #3818 .
2019-11-15 07:45:30 +01:00
Hesham Almatary
3a5bc21392
testsuite/dl02: Fix bug to correctly check the handle of the second object file
2019-11-12 10:21:53 +00:00
Hesham Almatary
a4c5da686d
riscv: preliminarily support for libdl
...
Support for targets compiled with -fno-pic and -mno-relax
2019-11-12 10:21:40 +00:00
Sebastian Huber
f51594897c
ada/mptests: Make them compile clean
...
Fix all warnings.
Update #3818 .
2019-11-12 09:47:20 +01:00
Sebastian Huber
1a48cbfa16
sptests: Avoid include path magic
...
Update #3818 .
2019-11-12 09:47:20 +01:00
Sebastian Huber
1e343825f4
tests: Simplify fatal error test support
...
Move system.h to shared init.c.
Update #3818 .
2019-11-12 09:47:20 +01:00
Sebastian Huber
6da85f49ea
block08: Use local include
...
Update #3818 .
2019-11-12 09:47:17 +01:00
Sebastian Huber
37d509b249
libtests: Remove superfluous include path
...
Update #3818 .
2019-11-12 09:46:26 +01:00
Sebastian Huber
b88c7583b8
fstests: Use tmacros.h instead of pmacros.h
...
This avoids an extra include path.
Update #3818 .
2019-11-12 09:36:21 +01:00
Sebastian Huber
0b520cb718
mptests: Avoid build system defined defines
...
Update #3818 .
2019-11-12 09:36:21 +01:00
Sebastian Huber
786ae3f7df
ada/samples: Avoid build system defined defines
...
Update #3818 .
2019-11-12 09:36:20 +01:00
Sebastian Huber
eae263c609
mptests/mp14: Make MAX_LONG_TEST_DURATION constant
...
If there is a real need, it can be made a configuration option again.
Update #3818 .
2019-11-12 09:36:20 +01:00
Sebastian Huber
34cbac1a03
tmtests: Avoid build system defined defines
...
Update #3818 .
2019-11-12 09:36:20 +01:00
Sebastian Huber
6d6719a533
samples/paranoia: Remove <bsp.h> include
...
This include is superfluous.
2019-11-12 09:36:20 +01:00
Sebastian Huber
c89a5dc821
samples: Avoid build system defined defines
...
Update #3818 .
2019-11-12 09:36:20 +01:00
Sebastian Huber
5ba4f38399
libtests: Avoid build system defined defines
...
Update #3818 .
2019-11-12 09:36:20 +01:00
Sebastian Huber
5176555384
sptests: Remove obsolete semaphore consume driver
...
This driver is no longer used by a test program.
Update #3818 .
2019-11-12 09:36:20 +01:00
Sebastian Huber
e92c495674
spfatal16: Remove obsolete test program
...
The "TRrc" semaphore was removed in commit
2c12262f9a .
2019-11-12 09:36:20 +01:00
Sebastian Huber
a467f59963
sptests: Avoid build system defined defines
...
Update #3818 .
2019-11-12 09:36:20 +01:00
Sebastian Huber
150fbaf9c9
psxtmtests: Avoid build system defined defines
...
Update #3818 .
2019-11-12 09:36:19 +01:00
Sebastian Huber
f32e119716
psxtests: Avoid build system defined defines
...
Update #3818 .
2019-11-12 09:36:19 +01:00
Sebastian Huber
9f3c558bbc
tests: Remove superfluous SMPTESTS define
...
Update #3818 .
2019-11-12 09:36:19 +01:00
Sebastian Huber
224ceb0b95
psxfenv01: Check FE_DIVBYZERO define
2019-11-12 08:50:01 +01:00
sebastian.huber
3859cd63af
rtems-5: Improve heap fatal error information
...
Update #3806 .
2019-11-05 07:29:00 +01:00
Sebastian Huber
795b167545
score: Add RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION()
...
Update #3799 .
2019-10-28 10:00:31 +01:00
Sebastian Huber
e71f0a5358
ttest01: Check init/final run output
...
Update #3199 .
2019-10-11 08:55:53 +02:00
Mikail Yayla
5a1df5e73e
ttest01: Add test outputs all test cases
2019-10-11 08:55:53 +02:00
Sebastian Huber
feb27f9031
ttest01: Add more test cases
...
Update #3199 .
2019-10-11 08:55:49 +02:00
Sebastian Huber
b406d071ec
libtest: Do all output in test runner
...
This ensures that lines are output atomically if they are produced by
different other contexts, e.g. interrupts, other processors, other
threads.
Update #3199 .
2019-10-11 08:55:49 +02:00
Sebastian Huber
f88025aebe
ttest01: Adjust SPDX-License-Identifier
...
Update #3199 .
2019-10-11 08:55:46 +02:00
Joel Sherrill
667501a314
termios: Add Capability to Generate SIGINTR and SIGQUIT
...
This patch adds the ability for termios to send SIGINTR on receipt
of VINTR and SIGQUIT for VKILL and return -1/EINTR from read() on
a termios channel. Importantly, this patch does not alter the default
behavior or force POSIX signal code in just because termios is used.
The application must explicitly enable the POSIX behavior of generating
a signal upon receipt of these characters. This is discussed in the
POSIX standard:
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap11.html
Closes #3800 .
2019-10-08 14:25:41 -05:00
Joel Sherrill
ff4a4a862b
termios04/init.c: Remove dead copy of change_iflag()
2019-10-04 09:13:28 -05:00
Sebastian Huber
8d989c56ff
score: Install timecounter according to quality
...
This makes it possible to install higher quality timecounter in
plug-and-play systems and helps to override the clock driver provided
timecounter in some test scenarios.
2019-10-02 07:01:36 +02:00
Sebastian Huber
47e5c1d7cd
score: Remove strange timecounter init step
...
The double call of the timecounter get method was added to FreeBSD in
2002 without a comment. It is not clear why this is needed.
2019-10-02 07:01:36 +02:00
Sebastian Huber
2763f530d3
score: Remove superfluous timecounter members
2019-10-02 07:01:36 +02:00
Sebastian Huber
6ae25220d6
Revert "record: Add wrappers for malloc() functions"
...
It was accidentally committed.
This reverts commit a314544a27 .
2019-10-02 06:40:30 +02:00