[rtems commit] sptest/spcache01: New test cases

Sebastian Huber sebh at rtems.org
Tue Nov 25 15:19:51 UTC 2014


Module:    rtems
Branch:    master
Commit:    7981a885f87434cffa2039470f1fd9ee0ad7e4a8
Changeset: http://git.rtems.org/rtems/commit/?id=7981a885f87434cffa2039470f1fd9ee0ad7e4a8

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Nov 25 08:39:46 2014 +0100

sptest/spcache01: New test cases

---

 testsuites/sptests/spcache01/init.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/testsuites/sptests/spcache01/init.c b/testsuites/sptests/spcache01/init.c
index ad9b54f..e303436 100644
--- a/testsuites/sptests/spcache01/init.c
+++ b/testsuites/sptests/spcache01/init.c
@@ -108,6 +108,10 @@ static void test_data_flush_and_invalidate(void)
         " due to cache line size of zero\n"
     );
   }
+
+  /* Make sure these are nops */
+  rtems_cache_flush_multiple_data_lines(NULL, 0);
+  rtems_cache_invalidate_multiple_data_lines(NULL, 0);
 }
 
 static uint64_t do_some_work(void)




More information about the vc mailing list