summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* testsuite: Add a common test configuration. Fix configure.ac and Makefile.am ↵Chris Johns2017-04-0427-347/+516
| | | | | | | | | | | | | | | | | | | | | | | | | | errors. - Add a top level test configuration file for test states that are common to all BSPs. This saves adding a test configuration (tcfg) file for every BSP. - Add the test states 'user-input' and 'benchmark'. This lets 'rtems-test' stop the test rather than waiting for a timeout or letting a benchmark run without the user asking for it to run. - Implement rtems-test-check in Python to make it faster. The shell script had grown to a point it was noticably slowing the build down. - Fix the configure.ac and Makefile.am files for a number of the test directories. The files are difficiult to keep in sync with the number of tests and mistakes can happen such as tests being left out of the build. The test fsrofs01 is an example. Also a there was a mix of SUBDIRS and _SUBDIRS being used and only _SUBDIRS should be used. - Fix the test fsrofs01 so it compiles. Closes #2963.
* libdl: Support link ordered loading of ELF sections.Chris Johns2017-03-311-1305/+1357
| | | | | | | | | | | | | The ARM C++ exception ABI uses an address ordered index table to locate the correct frame data and this requires the EXIDX sections are loaded in the order the order the matching text is loaded. The EXIDX sections set the SHF_LINK_ORDER flag and link field. This patch adds support to load those flagged sections in the linked-to section order. Updates #2955. Closes #2959
* benchmarks/whetstone: Port to RTEMSSebastian Huber2017-03-295-15/+39
| | | | Update #2958.
* benchmarks/whetstone: ImportSebastian Huber2017-03-291-0/+433
| | | | | | | | Import whetstone sources from: http://www.netlib.org/benchmark/whetstone.c Update #2958.
* benchmarks/linpack: Port to RTEMSSebastian Huber2017-03-295-180/+109
| | | | Close #2958.
* benchmarks/linpack: ImportSebastian Huber2017-03-291-0/+1333
| | | | | | | | Import linpack sources from: http://www.netlib.org/benchmark/linpack-pc.c Update #2958.
* benchmarks/dhrystone: Port to RTEMSSebastian Huber2017-03-297-33/+128
| | | | Update #2958.
* benchmarks/dhrystone: ImportSebastian Huber2017-03-296-0/+1596
| | | | | | | | Import dhrystone sources from: http://www.netlib.org/benchmark/dhry-c Update #2958.
* benchmarks: Add benchmark templatesSebastian Huber2017-03-2915-1/+273
| | | | Update #2958.
* termios: Synchronize with latest FreeBSD headersKevin Kirspel2017-03-2212-256/+592
| | | | | | | | | | | Adding modified FreeBSD headers to synchronize RTEMS termios with FreeBSD. Modify termios to support dedicated input and output baud for termios structure. Updated BSPs to use dedicated input and output baud in termios structure. Updated tools to use dedicated input and output baud in termios structure. Updated termios testsuites to use dedicated input and output baud in termios structure. Close #2897.
* dosfs: Fix file name searchSebastian Huber2017-03-161-1/+10
| | | | | | | Do not use our long file name entry count to optimize the file name search. The Unicode comparison must be taken into account. Update #2939.
* dosfs: Fix fat_file_write()Sebastian Huber2017-03-167-6/+172
| | | | | | | | Remove forced overwrite which leads to file data corruption. The logic to determine a forced overwrite was fundamentally broken. For simplity, disable this feature. Update #2622.
* dosfs: Fix msdos_utf8_normalize_and_fold()Sebastian Huber2017-03-161-3/+20
| | | | | | | | It is all right in case the result uses the full destination buffer. Without this fix the handling of a maximum 8.3 short file name is broken. Update #2928.
* libio: Fix deadlock in location managementSebastian Huber2017-03-161-4/+4
| | | | | | | | Perform a context-dependent deferred location release to avoid a deadlock on the file system instance locks, for example during a chdir(). Update #2936.
* psxstrsignal01: New testJoel Sherrill2017-03-156-1/+198
|
* Fix rtems-test-check with a BSD sed.Chris Johns2017-03-141-1/+1
| | | | | BSD sed does not support '\t' and treated '[ \t]' as 3 characters. This patch uses a standard method of supporting blank spaces.
* cdtest: Print begin of test only onceSebastian Huber2017-03-031-2/+0
|
* termios09: Test send callbackSebastian Huber2017-02-281-0/+26
|
* termios: Implement non-blocking writeSebastian Huber2017-02-281-0/+33
|
* termios: Make write POSIX compatibleSebastian Huber2017-02-281-2/+136
| | | | | | | | Currently only blocking read/write operations are implemented. A blocking write must transfer at least one character. It should not wait for the device for the second character and so on. Close #2917.
* termios: Simplify oproc()Sebastian Huber2017-02-281-4/+5
| | | | Call rtems_termios_puts() only once. Adjust column in one place.
* termios09: Test output post processingSebastian Huber2017-02-281-0/+358
|
* termios: Fix infinite loop in receive pathSebastian Huber2017-02-281-0/+3
| | | | | | | In canonical mode, the raw input buffer or the canonical buffer may overflow without an end of line. Avoid an infinite loop in this case. Close #2915.
* termios: Change receive callback invocationSebastian Huber2017-02-281-1/+325
| | | | | | | | Call the receive callback in case a read will succeed without to block. This enables the use of the receive callback for a poll() and select() support. Increase raw input buffer size to allow buffering of one line. Close #2916.
* termios: Ignore carriage return early if desiredSebastian Huber2017-02-286-0/+303
| | | | | | | In case carriage return characters should be ignored in the input (IGNCR), then drop them early before they reach the raw input buffer. This makes it easier to calculate the content size of the raw input buffer.
* spextensions01: Fix extension create orderSebastian Huber2017-02-211-11/+11
| | | | Update #2692.
* psxtests: Fix warningsSebastian Huber2017-02-152-10/+9
|
* spqreslib: Remove invalid test casesSebastian Huber2017-02-141-16/+2
|
* spcbssched02: Remove invalid test casesSebastian Huber2017-02-141-16/+2
|
* psxsem01: Fix warningSebastian Huber2017-02-141-1/+1
|
* Rename CONFIGURE_SMP_MAXIMUM_PROCESSORSSebastian Huber2017-02-1450-58/+58
| | | | | | | Rename CONFIGURE_SMP_MAXIMUM_PROCESSORS to CONFIGURE_MAXIMUM_PROCESSORS since the SMP part is superfluous. Update #2894.
* tmacros.h: Fix print definesSebastian Huber2017-02-141-4/+4
|
* sppagesize: Include missing header fileSebastian Huber2017-02-141-0/+1
|
* dosfs: Fix msdos_find_file_in_directory()Sebastian Huber2017-02-141-0/+22
| | | | | | For a filename match the entry must match without anything remaining. Close #2908.
* smptests: Fix warningsSebastian Huber2017-02-034-28/+27
|
* Prefix confdefs.h internal def with an underscoreSebastian Huber2017-02-032-3/+3
| | | | Close #2895.
* score: Improve scheduler helping protocolSebastian Huber2017-02-031-20/+6
| | | | | | | | | | | Only register ask for help requests in the scheduler unblock and yield operations. The actual ask for help operation is carried out during _Thread_Do_dispatch() on a processor related to the thread. This yields a better separation of scheduler instances. A thread of one scheduler instance should not be forced to carry out too much work for threads on other scheduler instances. Update #2556.
* Remove CONFIGURE_SMP_APPLICATIONSebastian Huber2017-02-0251-97/+2
| | | | | | Enable the SMP support if CONFIGURE_SMP_MAXIMUM_PROCESSORS > 1. Update #2893.
* sprmsched01/spedfsched04: ReviseKuan-Hsun Chen2017-01-316-153/+92
| | | | | | | | Instead of using the target time and console driver, both tests now use assertions and rtems_rate_monotonic_get_status() to verify the count of postponed jobs. The setting of spedfsched04 is slightly changed. Close #2795.
* rtems: Fix _Rate_monotonic_Renew_deadline()Kuan-Hsun Chen2017-01-306-1/+171
| | | | | | | | | | | | Prepare a precondition to prevent the potential integer overflow. Remove one redundant parameter in _Rate_monotonic_Renew_deadline(). sptests/sprmsched02: Create A test case for checking the overflow condition of postponed_jobs in rtems_rate_monotonic_period_status. Update #2885.
* score: Fix user extensions orderSebastian Huber2017-01-262-36/+32
| | | | | | | | | | | Use forward and reverse order for initial and dynamic extensions. This is the behaviour documented in the C Users Guide. Change thread terminate order to backward to be in line with the thread delete order. Change fatal error order to forward to ensure that initial extensions are called first due the peculiar execution context of fatal error extensions, see _Terminate() documentation. Update #2692.
* Remove rtems_rate_monotonic_postponed_job_count()Kuan-Hsun Chen2017-01-263-4/+15
| | | | | | | | | | | Add a variable named "count" in rtems_rate_monotonic_period_status structure. Revise rtems_rate_monotonic_get_status() for the postponed job count. sptests/sp69: Add in the verification of the postponed job count for rtems_rate_monotonic_get_status(). Update #2795.
* psxtests: Relax shared memory testsSebastian Huber2017-01-252-18/+24
| | | | | | There is currently no proper mmap() implementation. Update #2859.
* sptests/spedfsched04: Merge and fixSebastian Huber2017-01-254-193/+113
| | | | | | | Merge into one file and fix obvious problems (e.g. out of bounds array access). Update #2795.
* sptests/sprmsched01: Merge and fixSebastian Huber2017-01-244-196/+112
| | | | | | | Merge into one file and fix obvious problems (e.g. out of bounds array access). Update #2795.
* fsscandir01: Check MAXNAMLEN and NAME_MAXSebastian Huber2017-01-241-0/+2
| | | | Update #1394.
* smptests/smpsignal01: Check signal ISR levelSebastian Huber2017-01-242-7/+68
| | | | Close #2751.
* classic: adjust names of RM postponed job functionsGedare Bloom2017-01-132-6/+6
| | | | closes #2795
* sptests: EDF scheduler overrun handlingKuan-Hsun Chen2017-01-138-1/+316
| | | | Update #2795.
* sptests: rate monotonic scheduler overrun handlingKuan-Hsun Chen2017-01-138-0/+349
| | | | Update #2795.