summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/Makefile.am (follow)
Commit message (Collapse)AuthorAgeFilesLines
* build: Remove old build systemSebastian Huber2021-09-211-1499/+0
| | | | | Close #3250. Close #4081.
* Makefile.am: Remove legacy networking filesVijay Kumar Banerjee2021-04-261-69/+0
|
* libtest: Add T_interrupt_test()Sebastian Huber2020-07-231-0/+9
| | | | Update #3199.
* libtests/tar0[12]: Add tar archiveSebastian Huber2020-05-071-12/+6
| | | | | | | Do not generate the test tar archive on the host computer since not all file systems support symbolic links. Close #3968.
* record: Add rtems_record_dump()Sebastian Huber2020-03-181-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.
* imfs: Replace devfs with an IMFS specializationSebastian Huber2020-03-091-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.
* libtest: Add T_check_task_context() actionSebastian Huber2019-12-201-0/+1
|
* untar: Properly make parent pathSebastian Huber2019-11-261-4/+4
| | | | Close #3823.
* libtests/dl*: Rename source filesSebastian Huber2019-11-261-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.
* libtests: Use '-' for TAR file namesSebastian Huber2019-11-251-24/+24
| | | | | | | Use uniform pattern for all TAR file names. Use the dl* tests as a template. Update #3818.
* libtests/dl*: Do not generate files via "echo"Sebastian Huber2019-11-251-21/+7
| | | | | | Add the static files to the repository. This simplifies the build. Update #3818.
* libtests/tar0[12]:: Use static archive contentSebastian Huber2019-11-251-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.
* testsuite: Only include termios10/termios11 tests if compiled with POSIXHesham Almatary2019-11-211-0/+4
| | | | Both need POSIX support
* sptests: Avoid include path magicSebastian Huber2019-11-121-4/+2
| | | | Update #3818.
* tests: Simplify fatal error test supportSebastian Huber2019-11-121-1/+1
| | | | | | Move system.h to shared init.c. Update #3818.
* block08: Use local includeSebastian Huber2019-11-121-1/+1
| | | | Update #3818.
* libtests: Remove superfluous include pathSebastian Huber2019-11-121-2/+1
| | | | Update #3818.
* libtests: Avoid build system defined definesSebastian Huber2019-11-121-14/+13
| | | | Update #3818.
* ttest01: Add more test casesSebastian Huber2019-10-111-0/+15
| | | | Update #3199.
* termios: Add Capability to Generate SIGINTR and SIGQUITJoel Sherrill2019-10-081-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.
* Revert "record: Add wrappers for malloc() functions"Sebastian Huber2019-10-021-8/+0
| | | | | | It was accidentally committed. This reverts commit a314544a278f1533ae001f742d7fe24fcee253e6.
* record: Add wrappers for malloc() functionsSebastian Huber2019-10-011-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.
* ttest01: New testSebastian Huber2019-03-271-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.
* libdl: Add an archive commandChris Johns2019-03-221-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.
* libdl: Add powerpc large memory and small data support.Chris Johns2019-02-091-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
* libdl: Add support for large memory programsChris Johns2019-02-091-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
* libdl: Add support for trampolinesChris Johns2019-02-091-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
* libtest/dl08: Add a test for archives.Chris Johns2019-02-091-1/+54
| | | | | | | - Create 2 archives. - Load 1 object file which loads 6 object files from the libraries. Updates #3686
* build: Do not install test programsSebastian Huber2019-01-301-2/+1
|
* Add low level event recording supportSebastian Huber2019-01-291-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.
* build: Add missing $(LDADD) for dependenciesSebastian Huber2019-01-141-6/+6
|
* build: Call rtems-ld with the $(CC) of the buildSebastian Huber2019-01-081-2/+3
| | | | | This enables support for non-standard compiler names, e.g. sparc-rtems6-gcc.
* build: Call rtems-syms with the $(CC) of the buildSebastian Huber2019-01-081-6/+6
| | | | | This enables support for non-standard compiler names, e.g. sparc-rtems6-gcc.
* libdl: Add object file dependencies to track referencesChris Johns2018-11-221-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
* build: Fix library orderSebastian Huber2018-11-081-47/+47
| | | | Update #3551.
* Move default config to librtemsdefaultconfig.aSebastian Huber2018-10-291-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.
* libtests/Makefile.am: Add CPU_CFLAGS to rtems-ld invocationJoel Sherrill2018-10-141-1/+2
| | | | closes #3401, #3402.
* telnetd: Remove keep stdio featureSebastian Huber2018-10-101-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.
* build: Remove local.amSebastian Huber2018-10-101-1/+0
|
* build: Directly reference libraries in testsSebastian Huber2018-10-101-4/+4
| | | | Remove use of TMPINSTALL_FILES.
* ftpfs: Always build FTP clientSebastian Huber2018-05-021-1/+1
| | | | | | Move FTP client filesystem to separate library libftpfs.a. Update #3419.
* libdebugger: Move to separate librarySebastian Huber2018-05-021-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.
* libdl: Fix the tests loading the correct filesChris Johns2018-04-121-1/+1
|
* testsuites/dl06: Add a test for RAP format.Chris Johns2018-04-121-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
* build: Add support for automake's silent build support.Chris Johns2018-04-121-61/+61
|
* testsuite/libtests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-101-96/+1235
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* getentropy: Add test.Christian Mauderer2017-11-171-0/+1
| | | | Update #3239.
* testsuite: Add a common test configuration. Fix configure.ac and Makefile.am ↵Chris Johns2017-04-041-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.
* termios: Ignore carriage return early if desiredSebastian Huber2017-02-281-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.
* cpukit: Add libdebugger, a remote debugger agent for GDB.Chris Johns2016-11-291-0/+4
|