validation: Add Validation1 test suite

Update #4244.
This commit is contained in:
Sebastian Huber
2021-02-20 15:18:48 +01:00
parent fac1ff1820
commit f38c0de407
6 changed files with 100 additions and 5 deletions
+1
View File
@@ -11,6 +11,7 @@ actions:
sp47: exclude
spstkalloc02: exclude
validation-0: exclude
validation-1: exclude
- set-value: -DPER_ALLOCATION=10
- append-test-cppflags: sp71
- set-value: -DMAXIMUM_DISTRIBUTION=10
+2
View File
@@ -14,6 +14,8 @@ links:
uid: performance-0
- role: build-dependency
uid: validation-0
- role: build-dependency
uid: validation-1
type: build
use-after:
- rtemstest
@@ -0,0 +1,19 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: test-program
cflags: []
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
cxxflags: []
enabled-by: true
features: c cprogram
includes: []
ldflags: []
links: []
source:
- testsuites/validation/ts-validation-1.c
stlib: []
target: testsuites/validation/ts-validation-1.exe
type: build
use-after: []
use-before: []
+1 -3
View File
@@ -133,8 +133,6 @@ static void task_stack_deallocate( void *stack )
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_MAXIMUM_PROCESSORS 4
#define CONFIGURE_MAXIMUM_BARRIERS 3
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 3
@@ -178,7 +176,7 @@ static void task_stack_deallocate( void *stack )
#define CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE TASK_STORAGE_SIZE
#if defined(RTEMS_SMP)
#if defined(RTEMS_SMP) && CONFIGURE_MAXIMUM_PROCESSORS == 4
#define CONFIGURE_SCHEDULER_EDF_SMP
+2 -2
View File
@@ -52,8 +52,6 @@
#include "config.h"
#endif
#include <rtems/test-info.h>
#include <rtems/test.h>
/**
@@ -72,6 +70,8 @@
const char rtems_test_name[] = "Validation0";
#define CONFIGURE_MAXIMUM_PROCESSORS 4
#include "ts-default.h"
/** @} */
+75
View File
@@ -0,0 +1,75 @@
/* SPDX-License-Identifier: BSD-2-Clause */
/**
* @file
*
* @ingroup RTEMSTestSuiteTestsuitesValidation1
*/
/*
* 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 RTEMSTestSuiteTestsuitesValidation1 spec:/testsuites/validation-1
*
* @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.
*
* @{
*/
const char rtems_test_name[] = "Validation1";
#define CONFIGURE_MAXIMUM_PROCESSORS 1
#include "ts-default.h"
/** @} */