summaryrefslogtreecommitdiffstats
path: root/testsuites/mptests (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-09-28rtems: Add rtems_message_queue_construct()Sebastian Huber3-8/+51
In contrast to message queues created by rtems_message_queue_create(), the message queues constructed by this directive use a user-provided message buffer storage area. Add RTEMS_MESSAGE_QUEUE_BUFFER() to define a message buffer type for message buffer storage areas. Update #4007.
2020-08-21mp03: Include missing header fileSebastian Huber1-0/+2
2020-02-25mptests/mp14: Include missing header fileSebastian Huber1-0/+2
Include <mpci.h> for MPCI_Print_statistics(). Update #3875.
2019-12-13rtems: Add and use rtems_object_get_local_node()Sebastian Huber27-69/+59
Update #3841.
2019-12-13mptests: Fix configurationSebastian Huber5-7/+7
Update #3818.
2019-11-12mptests: Avoid build system defined definesSebastian Huber40-52/+104
Update #3818.
2019-11-12mptests/mp14: Make MAX_LONG_TEST_DURATION constantSebastian Huber3-6/+8
If there is a real need, it can be made a configuration option again. Update #3818.
2019-01-30build: Do not install test programsSebastian Huber1-3/+1
2018-10-10build: Remove local.amSebastian Huber14-14/+0
2018-10-05tests: Use rtems_task_exit()Sebastian Huber12-24/+12
Update #3533.
2018-04-11configure: Add subdir-objects to all automake flags.Chris Johns1-1/+1
This option silences warning with automake-1.16.1 allowing us to upgrade to that version. This change has been tested with automake-1.12.6 and automake-1.16.1. It seems version 1.16.1 configures slower than 1.12.6 for the same source and BSP. The newer versions is 6 second slower. Close #3387.
2018-04-10testsuite/mptests: Merged nested Makefile.am files into one Makefile.amChris Johns80-633/+262
This change is part of the testsuite Makefile.am reorganization. Update #3382
2018-01-25Remove make preinstallChris Johns1-0/+2
A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
2017-11-06tests: Use simple console driverSebastian Huber13-13/+13
Update #3170. Update #3199.
2017-10-28tests: Remove TEST_INITSebastian Huber13-26/+0
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-23testsuite: Use printk for all test output where possible.Chris Johns13-0/+26
- 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-04-04testsuite: Add a common test configuration. Fix configure.ac and Makefile.am ↵Chris Johns1-3/+15
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.
2016-06-16mptests/mp03/task1.c: Make method static to fix warningJoel Sherrill1-1/+1
2016-03-29mptests: Fix message queue configurationSebastian Huber5-0/+10
2016-03-24mptests/*/*.c: Fix warningsJoel Sherrill4-4/+4
2015-12-24api: Remove deprecated NotepadsAun-Ali Zaidi12-352/+1
Notepads where a feature of RTEMS' tasks that simply functioned in the same way as POSIX keys or threaded local storage (TLS). They were introduced well before per task variables, which are also deprecated, and were barely used in favor of their POSIX alternatives. In addition to their scarce usage, Notepads took up unnecessary memory. For each task: - 16 32-bit integers were allocated. - A total of 64 bytes per task per thread. This is especially critical in low memory and safety-critical applications. They are also defined as uint32_t, and therefore are not guaranteed to hold a pointer. Lastly, they are not portable solutions for SMP and uniprocessor systems, like POSIX keys and TLS. updates #2493.
2015-03-10cpukit: deprecate notepadsGedare Bloom1-0/+2
Deprecate Classic API Notepads. Mark task_set/get_note() with the deprecated attribute, and also mark the notepads field. Replace disable with enable option for notepads in confdefs.h, and make notepads disabled by default. The previous option CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS is now unused and will emit a compile-time warning. A new option CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS is available to turn on notepads, but it also will emit a compile-time warning to indicate that notepads are deprecated. Closes #2265
2014-12-05Update bug report URLSebastian Huber1-1/+1
2014-10-09Eliminate use of /*PAGE and clean up formattingJoel Sherrill2-35/+5
2014-05-05testsuite: Add a per BSP test check for tests not to build.Chris Johns1-2/+2
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-03-21Change all references of rtems.com to rtems.org.Chris Johns81-81/+81
2013-03-08RTEMS: Delete ChangeLog files.Gedare Bloom1-856/+0
This commit deletes all RTEMS ChangeLog files. These files have been abandoned since converting to git version control. The historical data may be recovered by checking out any commit before this one. Most of the contents of these ChangeLog files can also be found in the git log. Two external ChangeLog files, ChangeLog.slac and ChangeLog.zlib, remain.
2012-08-06Revert "Add config.h.in."Gedare Bloom1-19/+0
This reverts commit cf42a6ea9dbb6ebee498ae8db319d3e475bcd6be.
2012-07-19Require automake-1.12.2.Ralf Corsépius1-1/+1
2012-07-19Require autoconf-2.69.Ralf Corsépius1-1/+1
2012-05-24Add config.h.in.Ralf Corsépius1-0/+19
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill126-368/+0
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
2012-05-07Revert: Remove CVS IdsJoel Sherrill44-0/+174
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
2012-05-04mptests - Makefile.am did not set LINK_OBJSJoel Sherrill28-28/+28
LINK_OBJS = instead of LINK_OBJS = $(mp01_node1_OBJECTS)
2012-05-04Remove CVS-Ids.Ralf Corsépius44-174/+0
2012-02-01Remove all .cvsignore files.Joel Sherrill43-99/+0
2011-12-082011-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill29-140/+47
PR 1589/build * mp01/node1/Makefile.am, mp01/node2/Makefile.am, mp02/node1/Makefile.am, mp02/node2/Makefile.am, mp03/node1/Makefile.am, mp03/node2/Makefile.am, mp04/node1/Makefile.am, mp04/node2/Makefile.am, mp05/node1/Makefile.am, mp05/node2/Makefile.am, mp06/node1/Makefile.am, mp06/node2/Makefile.am, mp07/node1/Makefile.am, mp07/node2/Makefile.am, mp08/node1/Makefile.am, mp08/node2/Makefile.am, mp09/node1/Makefile.am, mp09/node2/Makefile.am, mp10/node1/Makefile.am, mp10/node2/Makefile.am, mp11/node1/Makefile.am, mp11/node2/Makefile.am, mp12/node1/Makefile.am, mp12/node2/Makefile.am, mp13/node1/Makefile.am, mp13/node2/Makefile.am, mp14/node1/Makefile.am, mp14/node2/Makefile.am: Remove obsolete optional manager capability.
2011-03-01Add config.h.inRalf Corsepius1-0/+1
2011-02-222011-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-1/+6
* configure.ac: Add AC_CONFIG_HEADER(config.h).
2011-02-222011-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+12
* mp01/init.c, mp01/task1.c, mp02/init.c, mp02/task1.c, mp03/delay.c, mp03/init.c, mp03/task1.c, mp04/init.c, mp04/task1.c, mp05/asr.c, mp05/init.c, mp05/task1.c, mp06/init.c, mp06/task1.c, mp07/init.c, mp07/task1.c, mp08/init.c, mp08/task1.c, mp09/init.c, mp09/recvmsg.c, mp09/sendmsg.c, mp09/task1.c, mp10/init.c, mp10/task1.c, mp10/task2.c, mp10/task3.c, mp11/init.c, mp12/init.c, mp13/init.c, mp13/task1.c, mp13/task2.c, mp14/delay.c, mp14/evtask1.c, mp14/evtmtask.c, mp14/exit.c, mp14/init.c, mp14/msgtask1.c, mp14/pttask1.c, mp14/smtask1.c: Add HAVE_CONFIG_H.
2011-02-22Add HAVE_CONFIG_H.Ralf Corsepius39-0/+156
2011-02-022011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-2/+6
* configure.ac: Require autoconf-2.68, automake-1.11.1.
2009-10-302009-10-30 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill4-7/+13
* mp03/task1.c, mp10/init.c, mp13/task1.c: Use rtems_clock_get_ticks_per_second() instead of the obsoleted TICKS_PER_SECOND.
2009-10-302009-10-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+5
* mp01/init.c, mp02/init.c, mp02/task1.c, mp03/init.c, mp04/init.c, mp05/init.c, mp06/init.c, mp07/init.c, mp08/init.c, mp09/init.c, mp09/task1.c, mp10/init.c, mp11/init.c, mp12/init.c, mp13/init.c, mp14/init.c: Use PRI*32 to print uint32_ts.
2009-10-30Use PRI*32 to print uint32_ts.Ralf Corsepius16-18/+18
2009-10-302009-10-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+3
* mp04/task1.c: Include "tmacros.h". Use PRIxrtems_task_priority to print rtems_task_prioritys. Use PRI*32 to print uint32_ts.
2009-10-30Include "tmacros.h".Ralf Corsepius1-1/+2
Use PRIxrtems_task_priority to print rtems_task_prioritys. Use PRI*32 to print uint32_ts.
2009-10-302009-10-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+5
* mp05/asr.c: Include "tmacros.h". Use PRIxrtems_signal_set to print rtems_signal_set's.
2009-10-30Include "tmacros.h".Ralf Corsepius1-1/+2
Use PRIxrtems_signal_set to print rtems_signal_sets.
2009-10-202009-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-1/+5
* configure.ac: Don't add -ansi -fasm to CFLAGS.