aboutsummaryrefslogtreecommitdiff
path: root/tftf
diff options
context:
space:
mode:
authoranzhou <anzhou@nvidia.com>2020-06-18 19:28:29 +0800
committerVarun Wadekar <vwadekar@nvidia.com>2020-10-28 11:52:39 -0700
commitaa676da37a98a1ceae90a2726991304ef0a61c0e (patch)
tree5b8a15f8ad7535b46bfcd5a3c55459bb8034e76d /tftf
parent4d0dcc8eec4e4d3d9f53b3f31afb062d160fd9aa (diff)
downloadtf-a-tests-aa676da37a98a1ceae90a2726991304ef0a61c0e.tar.gz
plat: tegra: include standard and validation tests
When build parameter TESTS is set to tegra194, standard tests will run with platform specific tests. Signed-off-by: anzhou <anzhou@nvidia.com> Signed-off-by: Bo Yan <byan@nvidia.com> Change-Id: If8c2694ce0a9caaa12b59980956a51ed286ea314
Diffstat (limited to 'tftf')
-rw-r--r--tftf/tests/tests-tegra194.mk3
-rw-r--r--tftf/tests/tests-tegra194.xml27
2 files changed, 18 insertions, 12 deletions
diff --git a/tftf/tests/tests-tegra194.mk b/tftf/tests/tests-tegra194.mk
index a8674125..ef6d8487 100644
--- a/tftf/tests/tests-tegra194.mk
+++ b/tftf/tests/tests-tegra194.mk
@@ -13,3 +13,6 @@ TESTS_SOURCES += $(addprefix tftf/tests/plat/nvidia/tegra194/, \
test_ras_uncorrectable.c \
serror_handler.S \
)
+
+include tftf/tests/tests-standard.mk
+TESTS_SOURCES += $(sort ${TESTS_SOURCES})
diff --git a/tftf/tests/tests-tegra194.xml b/tftf/tests/tests-tegra194.xml
index 173d3642..d07e411b 100644
--- a/tftf/tests/tests-tegra194.xml
+++ b/tftf/tests/tests-tegra194.xml
@@ -6,15 +6,18 @@
SPDX-License-Identifier: BSD-3-Clause
-->
-<testsuites>
- <testsuite name="Tegra SiP tests" description="SiP tests for Tegra platforms">
- <testcase name="Video Memory Configuration test" function="test_sip_videomem_incorrect_inputs" />
- <testcase name="Video Memory Resize test" function="test_sip_videomem_resize" />
- <testcase name="Read SMMU_PER register contents test" function="test_get_smmu_per" />
- </testsuite>
- <testsuite name="Tegra194 platform tests" description="Tests for Tegra194 platforms">
- <testcase name="RAS corrected error test" function="test_ras_corrected" />
- <testcase name="RAS uncorrectable error test" function="test_ras_uncorrectable" />
- </testsuite>
-
-</testsuites>
+<document>
+ <!-- External reference to standard tests files. -->
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tests-standard.xml" />
+ <testsuites>
+ <testsuite name="Tegra SiP tests" description="SiP tests for Tegra platforms">
+ <testcase name="Video Memory Configuration test" function="test_sip_videomem_incorrect_inputs" />
+ <testcase name="Video Memory Resize test" function="test_sip_videomem_resize" />
+ <testcase name="Read SMMU_PER register contents test" function="test_get_smmu_per" />
+ </testsuite>
+ <testsuite name="Tegra194 platform tests" description="Tests for Tegra194 platforms">
+ <testcase name="RAS corrected error test" function="test_ras_corrected" />
+ <testcase name="RAS uncorrectable error test" function="test_ras_uncorrectable" />
+ </testsuite>
+ </testsuites>
+</document>