summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/Makefile.am (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-09-21build: Remove old build systemSebastian Huber1-1499/+0
Close #3250. Close #4081.
2021-04-26Makefile.am: Remove legacy networking filesVijay Kumar Banerjee1-69/+0
2020-07-23libtest: Add T_interrupt_test()Sebastian Huber1-0/+9
Update #3199.
2020-05-07libtests/tar0[12]: Add tar archiveSebastian Huber1-12/+6
Do not generate the test tar archive on the host computer since not all file systems support symbolic links. Close #3968.
2020-03-18record: Add rtems_record_dump()Sebastian Huber1-0/+1
Add rtems_record_dump_base64() and rtems_record_dump_base64_zlib(). Add CONFIGURE_RECORD_FATAL_DUMP_BASE64 and CONFIGURE_RECORD_FATAL_DUMP_BASE64_ZLIB configuration options. Update #3904.
2020-03-09imfs: Replace devfs with an IMFS specializationSebastian Huber1-18/+0
Add a simplified path evaluation function IMFS_eval_path_devfs() for a device only IMFS configuration. The code size can be further reduced by the application if it disables the support for legacy IO drivers via: #define CONFIGURE_IMFS_DISABLE_MKNOD #define CONFIGURE_IMFS_DISABLE_MKNOD_DEVICE Obsolete CONFIGURE_MAXIMUM_DEVICES. Remove BSP_MAXIMUM_DEVICES. Update #3894. Update #3898.
2019-12-20libtest: Add T_check_task_context() actionSebastian Huber1-0/+1
2019-11-26untar: Properly make parent pathSebastian Huber1-4/+4
Close #3823.
2019-11-26libtests/dl*: Rename source filesSebastian Huber1-29/+29
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-25libtests: Use '-' for TAR file namesSebastian Huber1-24/+24
Use uniform pattern for all TAR file names. Use the dl* tests as a template. Update #3818.
2019-11-25libtests/dl*: Do not generate files via "echo"Sebastian Huber1-21/+7
Add the static files to the repository. This simplifies the build. Update #3818.
2019-11-25libtests/tar0[12]:: Use static archive contentSebastian Huber1-20/+4
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-21testsuite: Only include termios10/termios11 tests if compiled with POSIXHesham Almatary1-0/+4
Both need POSIX support
2019-11-12sptests: Avoid include path magicSebastian Huber1-4/+2
Update #3818.
2019-11-12tests: Simplify fatal error test supportSebastian Huber1-1/+1
Move system.h to shared init.c. Update #3818.
2019-11-12block08: Use local includeSebastian Huber1-1/+1
Update #3818.
2019-11-12libtests: Remove superfluous include pathSebastian Huber1-2/+1
Update #3818.
2019-11-12libtests: Avoid build system defined definesSebastian Huber1-14/+13
Update #3818.
2019-10-11ttest01: Add more test casesSebastian Huber1-0/+15
Update #3199.
2019-10-08termios: Add Capability to Generate SIGINTR and SIGQUITJoel Sherrill1-1/+21
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-02Revert "record: Add wrappers for malloc() functions"Sebastian Huber1-8/+0
It was accidentally committed. This reverts commit a314544a278f1533ae001f742d7fe24fcee253e6.
2019-10-01record: Add wrappers for malloc() functionsSebastian Huber1-0/+8
Introduce new library librtemsrecordwrap.a which contains wrappers for operating system functions which produce entry/exit events. The wrappers can be selected during link time via the GNU ld --wrap option. Update #3665.
2019-03-27ttest01: New testSebastian Huber1-0/+10
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.
2019-03-22libdl: Add an archive commandChris Johns1-0/+52
- The archive command lists archives, symbols and any duplicate symbols. - Change the RTL shell commands to the rtems_printer to allow the output to be captured.
2019-02-09libdl: Add powerpc large memory and small data support.Chris Johns1-3/+4
- Add support for architecure sections that can be handled by the architecture back end. - Add trampoline/fixup support for PowerPC. This means the PowerPC now supports large memory loading of applications. - Add a bit allocator to manage small block based regions of memory. - Add small data (sdata/sbss) support for the PowerPC. The support makes the linker allocated small data region of memory a global resource available to libdl loaded object files. Updates #3687 Updates #3685
2019-02-09libdl: Add support for large memory programsChris Johns1-6/+9
- Add trampolines to support relocs that are out of range on support architectures. - Support not loading separate text/data sections in an object file if the symbol provided in the section is a duplicate. A base image may have pulled in part of an object and another part needs to be dynamically loaded. - Refactor the unresolved handling to scale to hundreds of unresolved symbols when loading large number of files. Updates #3685
2019-02-09libdl: Add support for trampolinesChris Johns1-4/+44
- Trampolines or fixups for veneers provide long jump support for instruciton sets that implement short relative address branches. The linker provides trampolines when creating a static image. This patch adds trampoline support to libdl and the ARM architecture. - The dl09 test requires enough memory so modules are outside the relative branch instruction ranges for the architecture. Updates #3685
2019-02-09libtest/dl08: Add a test for archives.Chris Johns1-1/+54
- Create 2 archives. - Load 1 object file which loads 6 object files from the libraries. Updates #3686
2019-01-30build: Do not install test programsSebastian Huber1-2/+1
2019-01-29Add low level event recording supportSebastian Huber1-0/+18
Add low level event recording infrastructure for system and user defined events. The infrastructure is able to record high frequency events such as * SMP lock acquire/release, * interrupt entry/exit, * thread switches, * UMA zone allocate/free, and * Ethernet packet input/output, etc. It allows post-mortem analysis in fatal error handlers, e.g. the last events are in the record buffer, the newest event overwrites the oldest event. It is possible to detect record buffer overflows for consumers that expect a continuous stream of events, e.g. to display the system state in real-time. The implementation supports high-end SMP machines (more than 1GHz processor frequency, more than four processors). Add a new API instead. The implementation uses per-processor data structures and no atomic read-modify-write operations. It is uses per-processor ring buffers to record the events. The CPU counter is used to get the time of events. It is combined with periodic uptime events to synchronize it with CLOCK_REALTIME. The existing capture engine tries to solve this problem also, but its performance is not good enough for high-end production systems. The main issues are the variable-size buffers and the use of SMP locks for synchronization. To fix this, the API would change significantly. Update #3665.
2019-01-14build: Add missing $(LDADD) for dependenciesSebastian Huber1-6/+6
2019-01-08build: Call rtems-ld with the $(CC) of the buildSebastian Huber1-2/+3
This enables support for non-standard compiler names, e.g. sparc-rtems6-gcc.
2019-01-08build: Call rtems-syms with the $(CC) of the buildSebastian Huber1-6/+6
This enables support for non-standard compiler names, e.g. sparc-rtems6-gcc.
2018-11-22libdl: Add object file dependencies to track referencesChris Johns1-1/+39
Tracking references lets us manage when an object file can be unloaded. If an object file has references to it, it cannot be unloaded. Modules that depend on each other cannot be unloaded. Updates #3605
2018-11-08build: Fix library orderSebastian Huber1-47/+47
Update #3551.
2018-10-29Move default config to librtemsdefaultconfig.aSebastian Huber1-0/+47
An RTEMS application default configuration is contained in cpukit/libmisc/dummy/default-configuration.c. This default configuration was contained in librtemscpu.a. This had at least two problems: 1. Application configuration errors may have pulled in the default configuration which in turn lead to multiply define symbols error. This was quite confusing. You had to consult the linker map file to figure out what cased the pull in of the default configuration. You needed to know what a linker map file is and how you generate it with your build system. This was not very user friendly. 2. It prevented the use of default configuration items for each subsystem in librtemscpu.a. This may be used to reduce the size of the configuration itself. Move the default configuration to the separate library librtemsdefaultconfig.a. Close #3551.
2018-10-14libtests/Makefile.am: Add CPU_CFLAGS to rtems-ld invocationJoel Sherrill1-1/+2
closes #3401, #3402.
2018-10-10telnetd: Remove keep stdio featureSebastian Huber1-0/+12
The Telnet service started via rtems_telnetd_start() had a keep stdio feature. This just created a task and executed the command function in a loop. For this kind of service we do not library support. This can be done by an application task on its own. Remove this feature and provide only the real Telnet server functionality. Use syslog() for error and status messages. Add test program for the Telnet server. Close #3542.
2018-10-10build: Remove local.amSebastian Huber1-1/+0
2018-10-10build: Directly reference libraries in testsSebastian Huber1-4/+4
Remove use of TMPINSTALL_FILES.
2018-05-02ftpfs: Always build FTP clientSebastian Huber1-1/+1
Move FTP client filesystem to separate library libftpfs.a. Update #3419.
2018-05-02libdebugger: Move to separate librarySebastian Huber1-0/+1
Always build remote TCP support since it depends only on the POSIX socket API. It works with the legacy network stack and libbsd. Move it to a separate libdebugger.a library to allow an easy use with libbsd via "-ldebugger -lbsd" otherwise we would have a cyclic dependency between libbsd.a and librtemscpu.a. Update #3419.
2018-04-12libdl: Fix the tests loading the correct filesChris Johns1-1/+1
2018-04-12testsuites/dl06: Add a test for RAP format.Chris Johns1-26/+78
This test loads a RAP format file that contains calls that are not in the kernel and linked from libm. It uses and test rtems-ld. Update #2769
2018-04-12build: Add support for automake's silent build support.Chris Johns1-61/+61
2018-04-10testsuite/libtests: Merged nested Makefile.am files into one Makefile.amChris Johns1-96/+1235
This change is part of the testsuite Makefile.am reorganization. Update #3382
2017-11-17getentropy: Add test.Christian Mauderer1-0/+1
Update #3239.
2017-04-04testsuite: Add a common test configuration. Fix configure.ac and Makefile.am ↵Chris Johns1-33/+80
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.
2017-02-28termios: Ignore carriage return early if desiredSebastian Huber1-0/+1
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.
2016-11-29cpukit: Add libdebugger, a remote debugger agent for GDB.Chris Johns1-0/+4