summaryrefslogtreecommitdiff
path: root/testsuites/samples (follow)
AgeCommit message (Collapse)Author
2017-11-11tests: Use rtems_test_begin and rtems_test_end.Chris Johns
Add a tests enum and move all test banner test to the library in libmisc. Update #3199.
2017-11-09pppd/Makefile.am: Add support/includeJoel Sherrill
2017-11-07tests: Use normal console for user input testsSebastian Huber
2017-11-06tests: Use <tmacros.h> in all testsSebastian Huber
Update #3170. Update #3199.
2017-11-06tests: Use simple console driverSebastian Huber
Update #3170. Update #3199.
2017-11-02tests: Use printf() instead of fprintf()Sebastian Huber
Update #3170. Update #3199.
2017-10-28tests: Remove TEST_INITSebastian Huber
The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
2017-10-28tests: Use rtems_print_printer_fprintf_putc()Sebastian Huber
Use rtems_print_printer_fprintf_putc() instead of rtems_print_printer_printf() to output via rtems_putc(). Update #3170. Update #3199.
2017-10-28tests: Move rtems_test_printer definitionSebastian Huber
Statically initialize it to use printk(). Update #3170. Update #3199.
2017-10-23testsuite: Use printk for all test output where possible.Chris Johns
- Remove the printf support leaving the direct printk support configured with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf call to printk. - Control the test's single init for functions and global data with TEST_INIT and not CONFIGURE_INIT. They are now separate. Updates #3170.
2017-08-24samples/fileio: Give command availability hintSebastian Huber
Close #3088.
2017-07-18tests: Use floating point taskSebastian Huber
These tests directly or indirectly use fprintf(), etc. which may use the floating point unit. Update #3076.
2017-04-04testsuite: Add a common test configuration. Fix configure.ac and Makefile.am ↵Chris Johns
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-03-03cdtest: Print begin of test only onceSebastian Huber
2016-12-09cdtest: Print proper begin/end of test messagesSebastian Huber
2016-12-09cdtest: Add std::runtime_error() test caseChris Johns
Update #2830.
2016-09-19tests: CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEMSebastian Huber
Avoid unnecessary use of CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM.
2016-06-22Move printer initialization to separate headerSebastian Huber
The RTEMS print user need to know nothing about a particular printer implementation. In particular get rid of the <stdio.h> include which would be visible via <rtems.h>.
2016-06-22Make rtems/print.h independent of rtems/bspIo.hSebastian Huber
2016-06-16samples/base_mp/apptask.c: Fix warning and clean upJoel Sherrill
2016-05-26testsuite: Fix networking samples to use the RTEMS printer.Chris Johns
2016-05-25cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns
This change adds rtems_printf and related functions and wraps the RTEMS print plugin support into a user API. All references to the plugin are removed and replaced with the rtems_printer interface. Printk and related functions are made to return a valid number of characters formatted and output. The function attribute to check printf functions has been added to rtems_printf and printk. No changes to remove warrnings are part of this patch set. The testsuite has been moved over to the rtems_printer. The testsuite has a mix of rtems_printer access and direct print control via the tmacros.h header file. The support for begink/endk has been removed as it served no purpose and only confused the code base. The testsuite has not been refactored to use rtems_printf. This is future work.
2016-03-29samples/base_mp: Check directive statusSebastian Huber
2016-01-11score: Introduce Thread_Entry_informationSebastian Huber
This avoids potential dead code in _Thread_Handler(). It gets rid of the dangerous function pointer casts. Update #2514.
2015-06-22rtems: Add rtems_interrupt_local_disable|enable()Sebastian Huber
Add rtems_interrupt_local_disable|enable() as suggested by Pavel Pisa to emphasize that interrupts are only disabled on the current processor. Do not define the rtems_interrupt_disable|enable|flash() macros and functions on SMP configurations since they don't ensure system wide mutual exclusion.
2015-03-24samples/minimum/init.c: Add cast to avoid warningJoel Sherrill
2015-03-17testsuites/samples/minimum/init.c: Notepads no longer need to be disabledJoel Sherrill
They are disabled by default as they are deprecated.
2015-02-12IMFS: Add fine grained configurationSebastian Huber
Remove miniIMFS. Statically initialize the root IMFS. Add configuration options to disable individual features of the root IMFS, e.g. o CONFIGURE_IMFS_DISABLE_CHOWN, o CONFIGURE_IMFS_DISABLE_FCHMOD, o CONFIGURE_IMFS_DISABLE_LINK, o CONFIGURE_IMFS_DISABLE_MKNOD, o CONFIGURE_IMFS_DISABLE_MOUNT, o CONFIGURE_IMFS_DISABLE_READLINK, o CONFIGURE_IMFS_DISABLE_RENAME, o CONFIGURE_IMFS_DISABLE_RMNOD, o CONFIGURE_IMFS_DISABLE_SYMLINK, o CONFIGURE_IMFS_DISABLE_UNMOUNT, and o CONFIGURE_IMFS_DISABLE_UTIME.
2015-01-20libnetworking: Fix close of active socketsSebastian Huber
Send a special event to notify tasks waiting for a socket state change in case this socket gets closed. This prevents a use after free. Close #785.
2014-12-16Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber
This define was superfluous, undocumented and used inconsistently.
2014-12-05Update bug report URLSebastian Huber
2014-11-21Delete or rename MIN/MAX macros and definesSebastian Huber
Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
2014-11-20shell: Do chroot() after successful loginSebastian Huber
2014-11-20samples/fileio: Use unlimited objectsSebastian Huber
2014-11-20samples/fileio: Fix warningSebastian Huber
2014-11-20shell: Use crypt_r() in rtems_shell_login_check()Sebastian Huber
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.
2014-10-13nsecs/init.c: Use long to avoid overflow on 16-bit targetsJoel Sherrill
2014-10-09samples/base_sp: Fix printf() warningJoel Sherrill
2014-10-09samples/unlimited: Fix printf() warning and clean upJoel Sherrill
2014-09-30pppd: Fix warningsSebastian Huber
2014-09-01samples/iostream: Produce proper begin/end messageSebastian Huber
2014-06-11samples/pppd: Fix extra drivers initializerSebastian Huber
2014-05-22testsuite: Add a user keypress to start pppd.Chris Johns
Allow the test to run and pass when automatic testing.
2014-05-06testsuites: Remove BSP_SMALL_MEMORYJoel Sherrill
2014-05-05testsuite: Add a per BSP test check for tests not to build.Chris Johns
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.
2014-04-03samples/fileio: Fix configurationSebastian Huber
2014-03-27samples/base_mp: Include missing header fileSebastian Huber
2014-03-25tests: Produce proper begin/end messagesSebastian Huber
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns
2014-03-20cpukit/shell: Replace task variables with posix keys.Christian Mauderer
Use posix keys for current shell environment instead of task variables. With this patch the shell needs one posix-key and one posix-key-value-pair configured. Update documentation for the shell. Adapt samples/fileio: - Add necessary objects. - Add login function and custom device name for better testing of the shell.