summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* testsuites/libtests: Remove networking01Vijay Kumar Banerjee2021-04-073-196/+0
| | | | Update #3850
* libtests/block14: Fix warningSebastian Huber2021-04-071-1/+1
| | | | | | | | | Fix warning: testsuites/libtests/block14/init.c:198:8: warning: 'sc' may be used uninitialized in this function [-Wmaybe-uninitialized] Update #3689.
* Restore FDT in ofw01 to avoid test timeout on RISCVJiri Gaisler2021-03-301-0/+1
|
* libblock: Add rtems_bdbuf_peek()Christian Mauderer2021-03-262-36/+107
| | | | | | | | Adds a peek function that allows (for example) a file system to suggest the next blocks that should be used for read ahead. This can increase the read speed of fragmented files. Update #3689
* libtest: Print SHA256 hash in base64urlSebastian Huber2021-02-261-1/+1
|
* libtest: Report target hashSebastian Huber2021-02-261-2/+6
| | | | Update #4267.
* libtests/ofw01: Added a test for RTEMS OFWG S Niteesh Babu2020-12-276-0/+395
| | | | | This commit adds a basic test that tests all the implemented RTEMS OFW functions.
* libtest: Make test case allocator configurableSebastian Huber2020-11-191-0/+3
|
* testsuits/dl10 : Prototype missingFrank Kühndel2020-10-101-0/+1
| | | | | | | | | | | | | Fix a compiler warning about a missing prototype. If you wonder why the function name is not `static`: The code in the file only serves a test where the dynamic object loader (aka dlopen()) should handle duplicated symbols in an archive. testsuites/libtests/dl10/dl10-o6.c:14:5: warning: no previous prototype for 'rtems_main_o5' [-Wmissing-prototypes] 14 | int rtems_main_o5 (void) | ^~~~~~~~~~~~~
* testsuite/rcxx01: Add examples for use in the User manualChris Johns2020-10-095-5/+245
|
* cpukit/librcxx: Add a C++ thread interface with attributesChris Johns2020-10-084-0/+228
|
* libtests/sha: Fix test if -O0 is usedSebastian Huber2020-09-301-0/+11
|
* irqs01/smpirqs01: New testsSebastian Huber2020-09-142-0/+315
| | | | Close #4034.
* libtest: Add T_push_plan() and T_pop_plan()Sebastian Huber2020-08-182-2/+23
| | | | Update #3199.
* libtest: Change T_step() and T_assert_step()Sebastian Huber2020-08-182-4/+4
| | | | | | | | | | | Normally, the expected test step must be a compile time constant. Allow variable expected test steps for the T_step() and T_assert_step(). This can be used for parameterized test loops with individual fixtures. Remove the ability to use custom failure messages due to some implementation constraints. Update #3199.
* libtest: Add fixture stepsSebastian Huber2020-08-183-21/+22
| | | | | | Support a new test plan for each nested fixture. Update #3199.
* libtest: Change fixture scope methodSebastian Huber2020-08-181-4/+4
| | | | | | | Return the produced character count. There is no need for a NUL termination. Update #3199.
* libtests/dl10: Delete unused functionsAschref Ben Thabet2020-08-111-22/+0
|
* libtest: Add T_thread_switch_record()Sebastian Huber2020-08-111-0/+66
| | | | | | | | Add support to record thread switch events. This can be used to check that a blocking operation results in the expected sequence of thread switches. Update #3199.
* libtest: Fix T_interrupt_test() in SMP configsSebastian Huber2020-08-061-0/+54
| | | | Update #3199.
* libtest: Add T_interrupt_test()Sebastian Huber2020-07-235-0/+232
| | | | Update #3199.
* libtest: Make check message optionalSebastian Huber2020-07-232-2/+25
| | | | | | | This macro magic is in line with C11 and C++11, but limits the maximum count of arguments. Update #3199.
* libtest: Add push/pop fixture supportSebastian Huber2020-07-232-9/+100
| | | | Update #3199.
* libtest: Support custom scope messages via fixtureSebastian Huber2020-07-232-9/+17
| | | | Update #3199.
* libtest: Move <t.h> to <rtems/test.h>Sebastian Huber2020-07-2318-18/+18
| | | | Update #3199.
* libtest: <rtems/test.h> to <rtems/test-info.h>Sebastian Huber2020-07-2333-33/+33
| | | | | | | | Rename this header file to later move <t.h> to <rtems/test.h>. The main feature provided by <rtems/test-info.h> is the output of standard test information which is consumed by the RTEMS Tester. Update #3199.
* libtests/tar01: Remove files of tar01.tar archiveSebastian Huber2020-05-083-5/+0
| | | | Update #3968.
* libtests/tar0[12]: Add tar archiveSebastian Huber2020-05-074-16/+9
| | | | | | | Do not generate the test tar archive on the host computer since not all file systems support symbolic links. Close #3968.
* libtest/dl09: Test trampolines only when supportedChris Johns2020-05-061-4/+20
|
* testsuite/dl06: Add a local define to control tracingChris Johns2020-05-051-0/+2
| | | | Closes #3969
* libtests/heapwalk: Fix for RTEMS_DEBUGSebastian Huber2020-04-291-0/+3
| | | | Update #2962.
* Canonicalize config.h includeSebastian Huber2020-04-1649-49/+49
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* libmisc/shell: Fix the handling of joel scripts in telnetChris Johns2020-04-151-3/+120
| | | | | | | | | | | | - Fix the passing of std[in/out] to child threads - Fix deleting of managed memory in the key destructor - Only set the key in the main loop thread - Only allocate a shell env outside of the main loop - Fix memory leak if the task start fails - Remove error level from shell env, it cannot be returned this way. Add exit_code but the API is broken so it cannot be returned. Closes #3859
* testsuites: Remove CONFIGURE_MALLOC_STATISTICSSebastian Huber2020-03-311-2/+0
| | | | | | This configuration option is obsolete since 2014. Update #1367.
* record: Add rtems_record_dump()Sebastian Huber2020-03-182-12/+27
| | | | | | | | | 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-0911-324/+32
| | | | | | | | | | | | | | | | 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.
* config: Remove CONFIGURE_DISABLE_SMP_CONFIGURATIONSebastian Huber2020-02-254-7/+0
| | | | | | | | | | The CONFIGURE_DISABLE_SMP_CONFIGURATION configuration option and rtems_configuration_is_smp_enabled() were added during the SMP support development cycle as a workaround to fix some testsuite failures in SMP configurations. All use cases were replaced with tests for specific conditions. The configuration option and test macro were undocumented. Close #3876.
* libio: Add POSIX user environment pointer to TCBSebastian Huber2020-02-251-2/+0
| | | | | | | | | | The IO library used a POSIX key to store an optional POSIX user environment pointer. This pulled in the POSIX keys support in every application configuration. Add a user environment pointer to the thread control block (TCB) instead. Applications which do not need the POSIX user environment will just get an overhead of one pointer per thread. Close #3882.
* libtests/stackchk: Include missing header fileSebastian Huber2020-02-251-0/+2
| | | | Update #3875.
* testsuite/newlib: Check newlib does not touch an assigned std FILE pointerChris Johns2020-02-181-1/+15
| | | | Update #3870
* libtests/malloc04: Fix typoSebastian Huber2020-02-041-1/+1
| | | | Update #3838.
* bsps: Rework work area initializationSebastian Huber2020-02-041-16/+16
| | | | | | | | | | | | | | | | | | | | The work area initialization was done by the BSP through bsp_work_area_initialize(). This approach predated the system initialization through the system initialization linker set. The workspace and C program heap were unconditionally initialized. The aim is to support RTEMS application configurations which do not need the workspace and C program heap. In these configurations, the workspace and C prgram heap should not get initialized. Change all bsp_work_area_initialize() to implement _Memory_Get() instead. Move the dirty memory, sbrk(), per-CPU data, workspace, and malloc() heap initialization into separate system initialization steps. This makes it also easier to test the individual initialization steps. This change adds a dependency to _Heap_Extend() to all BSPs. This dependency will be removed in a follow up change. Update #3838.
* libtest: Add T_check_task_context() actionSebastian Huber2019-12-203-2/+62
|
* libtest: Use test configuration in T_now()Sebastian Huber2019-12-202-31/+6
| | | | | Use the user provided now handler of the test configuration to get the time in T_now().
* config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSSebastian Huber2019-12-1957-57/+57
| | | | | | | Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753.
* libtest: Change expected pass state stringSebastian Huber2019-12-0511-11/+11
| | | | Use separator character '_' for all test states.
* testsuites: Remove rtems_test_pause*()Sebastian Huber2019-12-041-1/+0
| | | | | | | | | | | | | 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.
* untar: Properly make parent pathSebastian Huber2019-11-263-19/+19
| | | | Close #3823.
* libtests/dl*: Rename source filesSebastian Huber2019-11-2630-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/dl*: Use rtems_tarfs_load()Sebastian Huber2019-11-269-18/+18
| | | | | Use rtems_tarfs_load() instead of Untar_FromMemory() to reduce the memory demands of the tests.