diff options
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/validation/ts-validation-1.c | 10 | ||||
-rw-r--r-- | testsuites/validation/ts-validation-no-clock-0.c (renamed from testsuites/validation/ts-validation-2.c) | 7 | ||||
-rw-r--r-- | testsuites/validation/ts-validation-one-cpu-0.c | 80 | ||||
-rw-r--r-- | testsuites/validation/ts-validation-one-cpu-1.c | 80 |
4 files changed, 170 insertions, 7 deletions
diff --git a/testsuites/validation/ts-validation-1.c b/testsuites/validation/ts-validation-1.c index 11bef51fb7..6f396dc873 100644 --- a/testsuites/validation/ts-validation-1.c +++ b/testsuites/validation/ts-validation-1.c @@ -7,7 +7,7 @@ */ /* - * Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -60,15 +60,17 @@ * @ingroup RTEMSTestSuites * * @brief This general purpose validation test suite provides enough resources - * to run basic tests for all specified managers and functions in a - * configuration with exactly one processor. + * to run basic tests for all specified managers and functions. + * + * In SMP configurations, up to three scheduler instances using the SMP EDF + * scheduler are provided using up to four processors. * * @{ */ const char rtems_test_name[] = "Validation1"; -#define CONFIGURE_MAXIMUM_PROCESSORS 1 +#define CONFIGURE_MAXIMUM_PROCESSORS 5 #include "ts-default.h" diff --git a/testsuites/validation/ts-validation-2.c b/testsuites/validation/ts-validation-no-clock-0.c index 6f22c4db31..b9f5c5fc6c 100644 --- a/testsuites/validation/ts-validation-2.c +++ b/testsuites/validation/ts-validation-no-clock-0.c @@ -3,7 +3,7 @@ /** * @file * - * @ingroup RTEMSTestSuiteTestsuitesValidation2 + * @ingroup RTEMSTestSuiteTestsuitesValidationNoClock0 */ /* @@ -55,7 +55,8 @@ #include <rtems/test.h> /** - * @defgroup RTEMSTestSuiteTestsuitesValidation2 spec:/testsuites/validation-2 + * @defgroup RTEMSTestSuiteTestsuitesValidationNoClock0 \ + * spec:/testsuites/validation-no-clock-0 * * @ingroup RTEMSTestSuites * @@ -69,7 +70,7 @@ * @{ */ -const char rtems_test_name[] = "Validation2"; +const char rtems_test_name[] = "ValidationNoClock0"; #define CONFIGURE_MAXIMUM_PROCESSORS 4 diff --git a/testsuites/validation/ts-validation-one-cpu-0.c b/testsuites/validation/ts-validation-one-cpu-0.c new file mode 100644 index 0000000000..d281b59d01 --- /dev/null +++ b/testsuites/validation/ts-validation-one-cpu-0.c @@ -0,0 +1,80 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + +/** + * @file + * + * @ingroup RTEMSTestSuiteTestsuitesValidationOneCpu0 + */ + +/* + * Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de) + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ + +/* + * This file is part of the RTEMS quality process and was automatically + * generated. If you find something that needs to be fixed or + * worded better please post a report or patch to an RTEMS mailing list + * or raise a bug report: + * + * https://www.rtems.org/bugs.html + * + * For information on updating and regenerating please refer to the How-To + * section in the Software Requirements Engineering chapter of the + * RTEMS Software Engineering manual. The manual is provided as a part of + * a release. For development sources please refer to the online + * documentation at: + * + * https://docs.rtems.org + */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <rtems/test.h> + +/** + * @defgroup RTEMSTestSuiteTestsuitesValidationOneCpu0 \ + * spec:/testsuites/validation-one-cpu-0 + * + * @ingroup RTEMSTestSuites + * + * @brief This general purpose validation test suite provides enough resources + * to run basic tests with exactly one processor and without a Clock Driver. + * + * Two test suites of this configuration are provided to limit test run + * duration. + * + * @{ + */ + +const char rtems_test_name[] = "ValidationOneCpu0"; + +#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER + +#define CONFIGURE_MAXIMUM_PROCESSORS 1 + +#include "ts-default.h" + +/** @} */ diff --git a/testsuites/validation/ts-validation-one-cpu-1.c b/testsuites/validation/ts-validation-one-cpu-1.c new file mode 100644 index 0000000000..e1be3ddd02 --- /dev/null +++ b/testsuites/validation/ts-validation-one-cpu-1.c @@ -0,0 +1,80 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + +/** + * @file + * + * @ingroup RTEMSTestSuiteTestsuitesValidationOneCpu1 + */ + +/* + * Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de) + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ + +/* + * This file is part of the RTEMS quality process and was automatically + * generated. If you find something that needs to be fixed or + * worded better please post a report or patch to an RTEMS mailing list + * or raise a bug report: + * + * https://www.rtems.org/bugs.html + * + * For information on updating and regenerating please refer to the How-To + * section in the Software Requirements Engineering chapter of the + * RTEMS Software Engineering manual. The manual is provided as a part of + * a release. For development sources please refer to the online + * documentation at: + * + * https://docs.rtems.org + */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <rtems/test.h> + +/** + * @defgroup RTEMSTestSuiteTestsuitesValidationOneCpu1 \ + * spec:/testsuites/validation-one-cpu-1 + * + * @ingroup RTEMSTestSuites + * + * @brief This general purpose validation test suite provides enough resources + * to run basic tests with exactly one processor and without a Clock Driver. + * + * Two test suites of this configuration are provided to limit test run + * duration. + * + * @{ + */ + +const char rtems_test_name[] = "ValidationOneCpu1"; + +#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER + +#define CONFIGURE_MAXIMUM_PROCESSORS 1 + +#include "ts-default.h" + +/** @} */ |