From 723c634d61a71bd5b3b8cd0889cb87e768e43b0a Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 6 Jul 2023 17:13:23 +0200 Subject: validation: Improve sparc/leon3 shutdown test Test the shutdown halt separately from the SMP-specific shutdown request. Update #3716. --- .../validation/bsps/fatal-sparc-leon3-shutdown.yml | 11 +++++------ .../validation/bsps/objsparcleon3shutdown.yml | 17 +++++++++++++++++ 2 files changed, 22 insertions(+), 6 deletions(-) create mode 100644 spec/build/testsuites/validation/bsps/objsparcleon3shutdown.yml (limited to 'spec/build/testsuites') diff --git a/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-shutdown.yml b/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-shutdown.yml index e1a0f32900..a23409a4b5 100644 --- a/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-shutdown.yml +++ b/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-shutdown.yml @@ -5,17 +5,16 @@ copyrights: - Copyright (C) 2022 embedded brains GmbH & Co. KG cppflags: [] cxxflags: [] -enabled-by: - and: - - RTEMS_SMP - - bsps/sparc/leon3 +enabled-by: bsps/sparc/leon3 features: c cprogram includes: [] ldflags: - -Wl,--wrap=_CPU_Fatal_halt -links: [] +links: +- role: build-dependency + uid: objsparcleon3shutdown source: -- testsuites/validation/bsps/tc-fatal-sparc-leon3-shutdown.c +- testsuites/validation/bsps/tc-fatal-sparc-leon3-shutdown-halt.c - testsuites/validation/bsps/ts-fatal-sparc-leon3-shutdown.c stlib: [] target: testsuites/validation/bsps/ts-fatal-sparc-leon3-shutdown.exe diff --git a/spec/build/testsuites/validation/bsps/objsparcleon3shutdown.yml b/spec/build/testsuites/validation/bsps/objsparcleon3shutdown.yml new file mode 100644 index 0000000000..d6da0eafdc --- /dev/null +++ b/spec/build/testsuites/validation/bsps/objsparcleon3shutdown.yml @@ -0,0 +1,17 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: objects +cflags: [] +copyrights: +- Copyright (C) 2023 embedded brains GmbH & Co. KG +cppflags: [] +cxxflags: [] +enabled-by: + and: + - RTEMS_SMP + - bsps/sparc/leon3 +includes: [] +install: [] +links: [] +source: +- testsuites/validation/bsps/tc-fatal-sparc-leon3-shutdown-request.c +type: build -- cgit v1.2.3