summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/Makefile.am (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add SPI bus frameworkAlexander Krutwig2016-09-161-0/+1
| | | | | | User API is compatible to Linux userspace API. New test libtests/spi01. Update #2776.
* testsuite: Add libdl/dl05 reloc test.Chris Johns2016-09-081-1/+1
|
* testsuite: Add libdl/dl04 cache test.Chris Johns2016-08-151-0/+3
|
* testsuite: Add libdl/dl03 cache test.Chris Johns2016-08-151-1/+1
|
* librtems++: Remove from RTEMS.Chris Johns2016-08-111-1/+1
| | | | | | | This is old and there are better design patterns for threading and C++. We recommend you use the new C++ standards based support. Closes #2777.
* libnetworking: Add minimal getnameinfo()Christian Mauderer2016-06-281-0/+1
| | | | | | | This implementation just falls back to giving a string representation of the IP. It supports IPv4 only. Add test for getnameinfo().
* libfdt: Initial importSebastian Huber2015-10-161-0/+1
| | | | | | | | | | | | | | Import from: git://git.kernel.org/pub/scm/utils/dtc/dtc.git Commit: 604e61e081e3c6c8fa1a8189c71cb3908a5bbc1e Date: 2015-09-29T09:09:08Z
* libmisc: More useful default configurationSebastian Huber2014-12-051-0/+1
| | | | | | | | | | | The dummy.c was a de-facto default configuration. Rename it to default-configuration.c. Use unlimited objects and the stack checker. This makes it easier for new RTEMS users which will likely use this file if they just work with the usual main() function as the application entry point. Provide proper arguments for main() using the BSP command line. Add spare user extensions and drivers. Do not initialize the network by default. Delete bspinit.c.
* libcsupport: Delete malloc statisticsSebastian Huber2014-11-281-1/+1
| | | | | | | Use the heap handler statistics instead. Add heap walk option to MALLOC shell command. close #1367
* Ensure security of default user environmentSebastian Huber2014-11-201-0/+1
|
* shell: Use crypt_r() in rtems_shell_login_check()Sebastian Huber2014-11-201-0/+1
| | | | | | | Use '*" to disable shell login instead of '!' according to the Linux man page. Use getpwnam_r() instead of getpwnam(). Do not access the user environment directly. Update the user environment only after a successful login check.
* libcsupport: Avoid TOCTOU and format errorsSebastian Huber2014-11-201-0/+1
|
* Add crypt_r(), etc.Sebastian Huber2014-11-201-0/+1
| | | | | Add crypt_add_format(), crypt_r(), crypt_md5_r(), crypt_sha256_r() and crypt_sha512_r().
* Add SHA256 and SHA512 supportSebastian Huber2014-11-201-0/+1
|
* Add I2C driver frameworkSebastian Huber2014-11-201-0/+1
| | | | | | | | | | | | | | | | | This I2C driver framework has some major differences compared to libi2c. * It is compatible to the Linux I2C user-space API. * It uses generic IMFS nodes and thus reduces the levels of indirection. * The drivers don't have to mess around with minor numbers to get their state information. * No arbitrary bus controller model is assumed. The main task of an I2C bus controller driver is to process I2C messages. How this is done is private to the driver. * Scatter/gather operations are supported (I2C_M_NOSTART).
* libtests: Add libdl test dl02.Chris Johns2014-11-041-1/+1
| | | | Loads 2 interdependent ELF object files.
* cpukit: Add libdl with the Runtime Loader (RTL) code.Chris Johns2014-10-311-1/+5
| | | | This is a merge of the RTL project.
* top: Add new test.Jennifer Averett2014-10-281-1/+1
|
* capture01: New non-interactive test for capture engine.Jennifer Averett2014-07-111-0/+1
|
* testsuite: Add a per BSP test check for tests not to build.Chris Johns2014-05-051-19/+19
| | | | | | | | Provide a file per BSP to list tests that do not build for a BSP. This change removes the BSP_SMALL_MEMORY hack from the code. That hack was a mistake. Provide configuration files for each BSP with tests that cannot build.
* libtests/newlib01: New testSebastian Huber2014-04-011-0/+1
|
* libtests: added test to confirm patch fixes bugDaniel Ramirez2014-01-091-1/+1
|