Build: Move test_ps_nv_counters into partition_ps
Instead of adding it to the sources of the ps test, as the file it
replaces is part of the ps partition.
Change-Id: Iedbcf94d90e7ebc6a9d54cd97fec181cde79207c
Signed-off-by: Raef Coles <raef.coles@arm.com>
diff --git a/test/suites/ps/CMakeLists.txt b/test/suites/ps/CMakeLists.txt
index e75d003..20bfb49 100644
--- a/test/suites/ps/CMakeLists.txt
+++ b/test/suites/ps/CMakeLists.txt
@@ -53,6 +53,10 @@
${CMAKE_CURRENT_SOURCE_DIR}/secure/psa_ps_s_interface_testsuite.c
${CMAKE_CURRENT_SOURCE_DIR}/secure/psa_ps_s_reliability_testsuite.c
$<$<BOOL:${PS_TEST_NV_COUNTERS}>:${CMAKE_CURRENT_SOURCE_DIR}/secure/ps_rollback_protection_testsuite.c>
+ )
+
+ target_sources(tfm_app_rot_partition_ps
+ PRIVATE
$<$<BOOL:${PS_TEST_NV_COUNTERS}>:${CMAKE_CURRENT_SOURCE_DIR}/secure/nv_counters/test_ps_nv_counters.c>
)