From 09ed00f52b75fa9ab33db6d8b0abf263b7e95dc4 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Wed, 9 Jun 2021 09:46:21 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14520 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- test/core_benchmarks/config.fmpp | 15 +++ test/core_benchmarks/configuration.xml | 145 +++++++++++++++++++++++++ test/core_benchmarks/corebmk_test.mk | 6 + 3 files changed, 166 insertions(+) create mode 100644 test/core_benchmarks/config.fmpp create mode 100644 test/core_benchmarks/configuration.xml create mode 100644 test/core_benchmarks/corebmk_test.mk diff --git a/test/core_benchmarks/config.fmpp b/test/core_benchmarks/config.fmpp new file mode 100644 index 000000000..62a3641e2 --- /dev/null +++ b/test/core_benchmarks/config.fmpp @@ -0,0 +1,15 @@ +sourceRoot: ../../tools/ftl/processors/unittest +outputRoot: source +dataRoot: . + +freemarkerLinks: { + ftllibs: ../../tools/ftl/libs +} + +data : { + xml:xml ( + configuration.xml + { + } + ) +} diff --git a/test/core_benchmarks/configuration.xml b/test/core_benchmarks/configuration.xml new file mode 100644 index 000000000..d6c6e1a48 --- /dev/null +++ b/test/core_benchmarks/configuration.xml @@ -0,0 +1,145 @@ + + + + Test Specification for ChibiOS/NIL. + + + + + + + + + ChibiOS/NIL Test Suite. + + + + + + Test suite for core benchmarks. The purpose of this suite is to perform general benchmarks in order to assess performance of cores and/or compilers. + + + + + corebmk + + + + + + + + + + + + Internal Tests + + + Information. + + + This sequence reports configuration and version information about execution environment. + + + + + + + + + + + Environment Info. + + + Environment-related info are reported. + + + + + + + + + + + + + + + + + + + Architecture and Compiler information. + + + + + + + + + + + + + + + + + + diff --git a/test/core_benchmarks/corebmk_test.mk b/test/core_benchmarks/corebmk_test.mk new file mode 100644 index 000000000..74bd60779 --- /dev/null +++ b/test/core_benchmarks/corebmk_test.mk @@ -0,0 +1,6 @@ +# List of all the core benchmarks test files. +TESTSRC += ${CHIBIOS}/test/core_benchmarks/source/test/corebmk_test_root.c \ + ${CHIBIOS}/test/core_benchmarks/source/test/corebmk_test_sequence_001.c + +# Required include directories +TESTINC += ${CHIBIOS}/test/test/source/test