validation: Add support library

Add a library for support functions used by validation tests.  Rename
tc-support.* to tx-support.* since this file does not contain test
cases.
This commit is contained in:
Sebastian Huber
2021-04-12 06:58:44 +02:00
parent 45a3495325
commit bc29c7c313
12 changed files with 32 additions and 14 deletions

View File

@@ -10,6 +10,8 @@ includes:
install: []
ldflags: []
links:
- role: build-dependency
uid: libvalidation
- role: build-dependency
uid: performance-0
- role: build-dependency

View File

@@ -0,0 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: library
cflags: []
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
cxxflags: []
enabled-by: true
includes: []
install: []
install-path: null
links: []
source:
- testsuites/validation/tx-support.c
target: validation
type: build

View File

@@ -19,12 +19,12 @@ source:
- testsuites/validation/tc-object.c
- testsuites/validation/tc-signal-catch.c
- testsuites/validation/tc-signal-send.c
- testsuites/validation/tc-support.c
- testsuites/validation/tc-task-construct-errors.c
- testsuites/validation/tc-task-create-errors.c
- testsuites/validation/ts-validation-0.c
stlib: []
target: testsuites/validation/ts-validation-0.exe
type: build
use-after: []
use-after:
- validation
use-before: []

View File

@@ -13,12 +13,12 @@ links: []
source:
- testsuites/validation/tc-signal-catch.c
- testsuites/validation/tc-signal-send.c
- testsuites/validation/tc-support.c
- testsuites/validation/tc-task-construct-errors.c
- testsuites/validation/tc-task-create-errors.c
- testsuites/validation/ts-validation-1.c
stlib: []
target: testsuites/validation/ts-validation-1.exe
type: build
use-after: []
use-after:
- validation
use-before: []

View File

@@ -55,7 +55,7 @@
#include <rtems.h>
#include <string.h>
#include "tc-support.h"
#include "tx-support.h"
#include <rtems/test.h>

View File

@@ -55,7 +55,7 @@
#include <rtems.h>
#include <string.h>
#include "tc-support.h"
#include "tx-support.h"
#include <rtems/test.h>

View File

@@ -55,7 +55,7 @@
#include <rtems.h>
#include <string.h>
#include "tc-support.h"
#include "tx-support.h"
#include <rtems/test.h>

View File

@@ -55,7 +55,7 @@
#include <rtems.h>
#include <string.h>
#include "tc-support.h"
#include "tx-support.h"
#include <rtems/test.h>

View File

@@ -56,7 +56,7 @@
#include <string.h>
#include <rtems/score/smpbarrier.h>
#include "tc-support.h"
#include "tx-support.h"
#include <rtems/test.h>

View File

@@ -54,7 +54,7 @@
#include <rtems.h>
#include "tc-support.h"
#include "tx-support.h"
#include <rtems/test.h>

View File

@@ -41,7 +41,7 @@
#include "config.h"
#endif
#include "tc-support.h"
#include "tx-support.h"
#include <rtems/test.h>

View File

@@ -34,8 +34,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _TC_SUPPORT_H
#define _TC_SUPPORT_H
#ifndef _TX_SUPPORT_H
#define _TX_SUPPORT_H
#include <rtems.h>
@@ -100,4 +100,4 @@ void RestoreRunnerPriority( void );
}
#endif
#endif /* _TC_SUPPORT_H */
#endif /* _TX_SUPPORT_H */