diff options
Diffstat (limited to 'spec/build/testsuites/validation')
16 files changed, 245 insertions, 7 deletions
diff --git a/spec/build/testsuites/validation/bsps/fatal-clock-xil-ttc-irq-install.yml b/spec/build/testsuites/validation/bsps/fatal-clock-xil-ttc-irq-install.yml new file mode 100644 index 0000000000..253131551d --- /dev/null +++ b/spec/build/testsuites/validation/bsps/fatal-clock-xil-ttc-irq-install.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2024 embedded brains GmbH & Co. KG +cppflags: [] +cxxflags: [] +enabled-by: bsps/arm/xilinx-zynqmp-rpu +features: c cprogram +includes: [] +ldflags: [] +links: [] +source: +- testsuites/validation/bsps/tr-fatal-clock-xil-ttc-irq-install.c +- testsuites/validation/bsps/ts-fatal-clock-xil-ttc-irq-install.c +stlib: [] +target: testsuites/validation/bsps/ts-fatal-clock-xil-ttc-irq-install.exe +type: build +use-after: +- validation +use-before: [] diff --git a/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-cache-snooping-disabled-boot.yml b/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-cache-snooping-disabled-boot.yml new file mode 100644 index 0000000000..93afdb2c32 --- /dev/null +++ b/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-cache-snooping-disabled-boot.yml @@ -0,0 +1,24 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2021 embedded brains GmbH & Co. KG +cppflags: [] +cxxflags: [] +enabled-by: + and: + - RTEMS_SMP + - bsps/sparc/leon3 +features: c cprogram +includes: [] +ldflags: [] +links: [] +source: +- testsuites/validation/bsps/tr-fatal-sparc-leon3-cache-snooping-disabled-boot.c +- testsuites/validation/bsps/ts-fatal-sparc-leon3-cache-snooping-disabled-boot.c +stlib: [] +target: testsuites/validation/bsps/ts-fatal-sparc-leon3-cache-snooping-disabled-boot.exe +type: build +use-after: +- validation +use-before: [] diff --git a/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-cache-snooping-disabled-secondary.yml b/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-cache-snooping-disabled-secondary.yml new file mode 100644 index 0000000000..20c4b43989 --- /dev/null +++ b/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-cache-snooping-disabled-secondary.yml @@ -0,0 +1,25 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2021 embedded brains GmbH & Co. KG +cppflags: [] +cxxflags: [] +enabled-by: + and: + - RTEMS_SMP + - bsps/sparc/leon3 +features: c cprogram +includes: [] +ldflags: +- -Wl,--wrap=bsp_start_on_secondary_processor +links: [] +source: +- testsuites/validation/bsps/tr-fatal-sparc-leon3-cache-snooping-disabled-secondary.c +- testsuites/validation/bsps/ts-fatal-sparc-leon3-cache-snooping-disabled-secondary.c +stlib: [] +target: testsuites/validation/bsps/ts-fatal-sparc-leon3-cache-snooping-disabled-secondary.exe +type: build +use-after: +- validation +use-before: [] diff --git a/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-clock-initialization.yml b/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-clock-initialization.yml new file mode 100644 index 0000000000..f8a24d9ccb --- /dev/null +++ b/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-clock-initialization.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2021 embedded brains GmbH & Co. KG +cppflags: [] +cxxflags: [] +enabled-by: bsps/sparc/leon3 +features: c cprogram +includes: [] +ldflags: [] +links: [] +source: +- testsuites/validation/bsps/tr-fatal-sparc-leon3-clock-initialization.c +- testsuites/validation/bsps/ts-fatal-sparc-leon3-clock-initialization.c +stlib: [] +target: testsuites/validation/bsps/ts-fatal-sparc-leon3-clock-initialization.exe +type: build +use-after: +- validation +use-before: [] diff --git a/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-shutdown.yml b/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-shutdown.yml new file mode 100644 index 0000000000..a23409a4b5 --- /dev/null +++ b/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-shutdown.yml @@ -0,0 +1,24 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2022 embedded brains GmbH & Co. KG +cppflags: [] +cxxflags: [] +enabled-by: bsps/sparc/leon3 +features: c cprogram +includes: [] +ldflags: +- -Wl,--wrap=_CPU_Fatal_halt +links: +- role: build-dependency + uid: objsparcleon3shutdown +source: +- 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 +type: build +use-after: +- validation +use-before: [] diff --git a/spec/build/testsuites/validation/bsps/objclockxilttc.yml b/spec/build/testsuites/validation/bsps/objclockxilttc.yml new file mode 100644 index 0000000000..b080bcdbfb --- /dev/null +++ b/spec/build/testsuites/validation/bsps/objclockxilttc.yml @@ -0,0 +1,14 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: objects +cflags: [] +copyrights: +- Copyright (C) 2024 embedded brains GmbH & Co. KG +cppflags: [] +cxxflags: [] +enabled-by: bsps/arm/xilinx-zynqmp-rpu +includes: [] +install: [] +links: [] +source: +- testsuites/validation/tc-dev-clock-xil-ttc.c +type: build diff --git a/spec/build/testsuites/validation/bsps/objgrlib.yml b/spec/build/testsuites/validation/bsps/objgrlib.yml new file mode 100644 index 0000000000..9a5df84195 --- /dev/null +++ b/spec/build/testsuites/validation/bsps/objgrlib.yml @@ -0,0 +1,16 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: objects +cflags: [] +copyrights: +- Copyright (C) 2021 embedded brains GmbH & Co. KG +cppflags: [] +cxxflags: [] +enabled-by: bsps/sparc/leon3 +includes: [] +install: [] +links: [] +source: +- testsuites/validation/tc-dev-grlib-apbuart-inbyte-nonblocking.c +- testsuites/validation/tc-dev-grlib-io.c +- testsuites/validation/tc-dev-grlib-irqamp-get-timestamp.c +type: build diff --git a/spec/build/testsuites/validation/bsps/objsparcgr712rc.yml b/spec/build/testsuites/validation/bsps/objsparcgr712rc.yml new file mode 100644 index 0000000000..d3dd60d4a0 --- /dev/null +++ b/spec/build/testsuites/validation/bsps/objsparcgr712rc.yml @@ -0,0 +1,14 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: objects +cflags: [] +copyrights: +- Copyright (C) 2021 embedded brains GmbH & Co. KG +cppflags: [] +cxxflags: [] +enabled-by: sparc/gr712rc +includes: [] +install: [] +links: [] +source: +- testsuites/validation/bsps/tc-sparc-gr712rc.c +type: build 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 diff --git a/spec/build/testsuites/validation/bsps/validation-bsp-0.yml b/spec/build/testsuites/validation/bsps/validation-bsp-0.yml new file mode 100644 index 0000000000..790e05e0bc --- /dev/null +++ b/spec/build/testsuites/validation/bsps/validation-bsp-0.yml @@ -0,0 +1,29 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2023 embedded brains GmbH & Co. KG +cppflags: [] +cxxflags: [] +enabled-by: +- bsps/arm/xilinx-zynqmp-rpu +- bsps/sparc/leon3 +features: c cprogram +includes: [] +ldflags: +- -Wl,--wrap=_IO_Relax +links: +- role: build-dependency + uid: objclockxilttc +- role: build-dependency + uid: objgrlib +- role: build-dependency + uid: objsparcgr712rc +source: +- testsuites/validation/bsps/ts-validation-bsp-0.c +stlib: [] +target: testsuites/validation/bsps/ts-validation-bsp-0.exe +type: build +use-after: +- validation +use-before: [] diff --git a/spec/build/testsuites/validation/grp.yml b/spec/build/testsuites/validation/grp.yml index 9aa9daff44..f10c6a9823 100644 --- a/spec/build/testsuites/validation/grp.yml +++ b/spec/build/testsuites/validation/grp.yml @@ -5,11 +5,10 @@ copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] cxxflags: [] -enabled-by: -- BUILD_TESTS -- BUILD_VALIDATIONTESTS +enabled-by: BUILD_VALIDATIONTESTS includes: - ${BSP_INCLUDES} +- testsuites/validation install: [] ldflags: [] links: @@ -79,6 +78,18 @@ links: uid: validation-tls-0 - role: build-dependency uid: validation-tls-1 +- role: build-dependency + uid: bsps/fatal-clock-xil-ttc-irq-install +- role: build-dependency + uid: bsps/fatal-sparc-leon3-cache-snooping-disabled-boot +- role: build-dependency + uid: bsps/fatal-sparc-leon3-cache-snooping-disabled-secondary +- role: build-dependency + uid: bsps/fatal-sparc-leon3-clock-initialization +- role: build-dependency + uid: bsps/fatal-sparc-leon3-shutdown +- role: build-dependency + uid: bsps/validation-bsp-0 type: build use-after: - validation diff --git a/spec/build/testsuites/validation/objmrsp.yml b/spec/build/testsuites/validation/objmrsp.yml new file mode 100644 index 0000000000..6d2c283b72 --- /dev/null +++ b/spec/build/testsuites/validation/objmrsp.yml @@ -0,0 +1,16 @@ +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: RTEMS_SMP +includes: [] +install: [] +links: [] +source: +- testsuites/validation/tr-tq-enqueue-mrsp.c +- testsuites/validation/tr-tq-surrender-mrsp.c +- testsuites/validation/tr-tq-timeout-mrsp.c +type: build diff --git a/spec/build/testsuites/validation/objpreinitarray.yml b/spec/build/testsuites/validation/objpreinitarray.yml index d4542485b2..c38460ebfe 100644 --- a/spec/build/testsuites/validation/objpreinitarray.yml +++ b/spec/build/testsuites/validation/objpreinitarray.yml @@ -6,6 +6,7 @@ copyrights: cppflags: [] cxxflags: [] enabled-by: +- aarch64 - arm - riscv includes: [] diff --git a/spec/build/testsuites/validation/performance-no-clock-0.yml b/spec/build/testsuites/validation/performance-no-clock-0.yml index 5e21f2fcdb..af47b308fa 100644 --- a/spec/build/testsuites/validation/performance-no-clock-0.yml +++ b/spec/build/testsuites/validation/performance-no-clock-0.yml @@ -5,13 +5,15 @@ copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] cxxflags: [] -enabled-by: true +enabled-by: + not: RTEMS_GCOV_COVERAGE features: c cprogram includes: [] ldflags: [] links: [] source: - testsuites/validation/tc-barrier-performance.c +- testsuites/validation/tc-cpu-performance.c - testsuites/validation/tc-event-performance.c - testsuites/validation/tc-message-performance.c - testsuites/validation/tc-part-performance.c diff --git a/spec/build/testsuites/validation/validation-intr.yml b/spec/build/testsuites/validation/validation-intr.yml index 1383aba2b3..bd3e888fce 100644 --- a/spec/build/testsuites/validation/validation-intr.yml +++ b/spec/build/testsuites/validation/validation-intr.yml @@ -9,8 +9,11 @@ enabled-by: true features: c cprogram includes: [] ldflags: +- -Wl,--wrap=bsp_interrupt_dispatch - -Wl,--wrap=bsp_interrupt_handler_default - -Wl,--wrap=bsp_interrupt_spurious +- -Wl,--wrap=_RISCV_Interrupt_dispatch +- -Wl,--wrap=_SPARC_Interrupt_dispatch links: [] source: - testsuites/validation/tc-bsp-interrupt-handler-dispatch-unchecked.c @@ -27,6 +30,7 @@ source: - testsuites/validation/tc-intr-vector-disable.c - testsuites/validation/tc-intr-vector-enable.c - testsuites/validation/tc-intr-vector-is-enabled.c +- testsuites/validation/tc-score-isr.c - testsuites/validation/ts-validation-intr.c stlib: [] target: testsuites/validation/ts-validation-intr.exe diff --git a/spec/build/testsuites/validation/validation-no-clock-0.yml b/spec/build/testsuites/validation/validation-no-clock-0.yml index d2341cd171..2a7a48a3b3 100644 --- a/spec/build/testsuites/validation/validation-no-clock-0.yml +++ b/spec/build/testsuites/validation/validation-no-clock-0.yml @@ -14,6 +14,8 @@ links: uid: objnodebug - role: build-dependency uid: objpreinitarray +- role: build-dependency + uid: objmrsp source: - testsuites/validation/tc-acfg.c - testsuites/validation/tc-attr.c @@ -140,17 +142,14 @@ source: - testsuites/validation/tr-tq-enqueue-ceiling.c - testsuites/validation/tr-tq-enqueue-deadlock.c - testsuites/validation/tr-tq-enqueue-fifo.c -- testsuites/validation/tr-tq-enqueue-mrsp.c - testsuites/validation/tr-tq-enqueue-priority.c - testsuites/validation/tr-tq-enqueue-priority-inherit.c - testsuites/validation/tr-tq-flush-fifo.c - testsuites/validation/tr-tq-flush-priority.c - testsuites/validation/tr-tq-flush-priority-inherit.c - testsuites/validation/tr-tq-surrender.c -- testsuites/validation/tr-tq-surrender-mrsp.c - testsuites/validation/tr-tq-surrender-priority-inherit.c - testsuites/validation/tr-tq-timeout.c -- testsuites/validation/tr-tq-timeout-mrsp.c - testsuites/validation/tr-tq-timeout-priority-inherit.c - testsuites/validation/ts-validation-no-clock-0.c stlib: [] |