summaryrefslogtreecommitdiffstats
path: root/testsuites/samples (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* tests: Use printf() instead of fprintf()Sebastian Huber2017-11-021-25/+13
| | | | | Update #3170. Update #3199.
* tests: Remove TEST_INITSebastian Huber2017-10-2810-20/+0
| | | | | | | | The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
* tests: Use rtems_print_printer_fprintf_putc()Sebastian Huber2017-10-285-5/+5
| | | | | | | | Use rtems_print_printer_fprintf_putc() instead of rtems_print_printer_printf() to output via rtems_putc(). Update #3170. Update #3199.
* tests: Move rtems_test_printer definitionSebastian Huber2017-10-285-5/+0
| | | | | | | Statically initialize it to use printk(). Update #3170. Update #3199.
* testsuite: Use printk for all test output where possible.Chris Johns2017-10-2310-0/+20
| | | | | | | | | | - 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.
* samples/fileio: Give command availability hintSebastian Huber2017-08-241-3/+7
| | | | Close #3088.
* tests: Use floating point taskSebastian Huber2017-07-185-0/+9
| | | | | | | These tests directly or indirectly use fprintf(), etc. which may use the floating point unit. Update #3076.
* testsuite: Add a common test configuration. Fix configure.ac and Makefile.am ↵Chris Johns2017-04-042-16/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* cdtest: Print begin of test only onceSebastian Huber2017-03-031-2/+0
|
* cdtest: Print proper begin/end of test messagesSebastian Huber2016-12-092-28/+56
|
* cdtest: Add std::runtime_error() test caseChris Johns2016-12-091-15/+26
| | | | Update #2830.
* tests: CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEMSebastian Huber2016-09-191-1/+0
| | | | Avoid unnecessary use of CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM.
* Move printer initialization to separate headerSebastian Huber2016-06-221-0/+1
| | | | | | 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>.
* Make rtems/print.h independent of rtems/bspIo.hSebastian Huber2016-06-221-0/+1
|
* samples/base_mp/apptask.c: Fix warning and clean upJoel Sherrill2016-06-161-12/+11
|
* testsuite: Fix networking samples to use the RTEMS printer.Chris Johns2016-05-262-0/+6
|
* cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns2016-05-253-0/+6
| | | | | | | | | | | | | | | | | | | 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.
* samples/base_mp: Check directive statusSebastian Huber2016-03-291-1/+5
|
* score: Introduce Thread_Entry_informationSebastian Huber2016-01-111-7/+4
| | | | | | | This avoids potential dead code in _Thread_Handler(). It gets rid of the dangerous function pointer casts. Update #2514.
* rtems: Add rtems_interrupt_local_disable|enable()Sebastian Huber2015-06-222-0/+5
| | | | | | | | 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.
* samples/minimum/init.c: Add cast to avoid warningJoel Sherrill2015-03-241-1/+1
|
* testsuites/samples/minimum/init.c: Notepads no longer need to be disabledJoel Sherrill2015-03-171-7/+0
| | | | They are disabled by default as they are deprecated.
* IMFS: Add fine grained configurationSebastian Huber2015-02-121-3/+0
| | | | | | | | | | | | | | | | | | 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.
* libnetworking: Fix close of active socketsSebastian Huber2015-01-201-1/+4
| | | | | | | 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.
* Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber2014-12-162-3/+0
| | | | This define was superfluous, undocumented and used inconsistently.
* Update bug report URLSebastian Huber2014-12-051-1/+1
|
* Delete or rename MIN/MAX macros and definesSebastian Huber2014-11-211-4/+1
| | | | Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
* shell: Do chroot() after successful loginSebastian Huber2014-11-201-1/+7
|
* samples/fileio: Use unlimited objectsSebastian Huber2014-11-201-8/+1
|
* samples/fileio: Fix warningSebastian Huber2014-11-201-0/+2
|
* shell: Use crypt_r() in rtems_shell_login_check()Sebastian Huber2014-11-201-4/+9
| | | | | | | 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.
* nsecs/init.c: Use long to avoid overflow on 16-bit targetsJoel Sherrill2014-10-131-2/+3
|
* samples/base_sp: Fix printf() warningJoel Sherrill2014-10-091-2/+3
|
* samples/unlimited: Fix printf() warning and clean upJoel Sherrill2014-10-095-24/+33
|
* pppd: Fix warningsSebastian Huber2014-09-301-3/+1
|
* samples/iostream: Produce proper begin/end messageSebastian Huber2014-09-012-4/+4
|
* samples/pppd: Fix extra drivers initializerSebastian Huber2014-06-111-1/+1
|
* testsuite: Add a user keypress to start pppd.Chris Johns2014-05-221-0/+22
| | | | Allow the test to run and pass when automatic testing.
* testsuites: Remove BSP_SMALL_MEMORYJoel Sherrill2014-05-069-53/+2
|
* testsuite: Add a per BSP test check for tests not to build.Chris Johns2014-05-051-8/+8
| | | | | | | | 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.
* samples/fileio: Fix configurationSebastian Huber2014-04-031-1/+1
|
* samples/base_mp: Include missing header fileSebastian Huber2014-03-271-0/+2
|
* tests: Produce proper begin/end messagesSebastian Huber2014-03-251-2/+3
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-2145-45/+45
|
* cpukit/shell: Replace task variables with posix keys.Christian Mauderer2014-03-202-2/+6
| | | | | | | | | | | | 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.
* tests/samples: Use <rtems/test.h>Sebastian Huber2014-03-1726-25/+95
|
* testsuites: Add missing .scn filesJoel Sherrill2013-11-152-2/+135
|
* testsuites: Include missing header filesSebastian Huber2013-07-281-0/+2
|
* score: Merge tod implementation into one fileSebastian Huber2013-07-261-5/+2
| | | | | Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and TOD_MILLISECONDS_TO_TICKS().
* score: Create object implementation headerSebastian Huber2013-07-261-1/+0
| | | | | | Move implementation specific parts of object.h and object.inl into new header file objectimpl.h. The object.h contains now only the application visible API.