aboutsummaryrefslogtreecommitdiffstats
path: root/test/testthd.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-06-25 08:55:40 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-06-25 08:55:40 +0000
commit88bea4b8c200fad936c063718289250ce49cda61 (patch)
tree0c7cd93c45b07d4f9964f5c519afbf31b6c1fb34 /test/testthd.c
parent62f4b7f471a4b1037468d382f927c5061e5fa9ed (diff)
downloadChibiOS-88bea4b8c200fad936c063718289250ce49cda61.tar.gz
ChibiOS-88bea4b8c200fad936c063718289250ce49cda61.tar.bz2
ChibiOS-88bea4b8c200fad936c063718289250ce49cda61.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2038 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/testthd.c')
-rw-r--r--test/testthd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/testthd.c b/test/testthd.c
index 232ea7008..b12378320 100644
--- a/test/testthd.c
+++ b/test/testthd.c
@@ -77,7 +77,7 @@ static void thd1_execute(void) {
test_assert_sequence(1, "ABCDE");
}
-const struct testcase testthd1 = {
+ROMCONST struct testcase testthd1 = {
"Threads, enqueuing test #1",
NULL,
NULL,
@@ -105,7 +105,7 @@ static void thd2_execute(void) {
test_assert_sequence(1, "ABCDE");
}
-const struct testcase testthd2 = {
+ROMCONST struct testcase testthd2 = {
"Threads, enqueuing test #2",
NULL,
NULL,
@@ -170,7 +170,7 @@ static void thd3_execute(void) {
#endif
}
-const struct testcase testthd3 = {
+ROMCONST struct testcase testthd3 = {
"Threads, priority change",
NULL,
NULL,
@@ -211,7 +211,7 @@ static void thd4_execute(void) {
test_assert_time_window(4, time, time + 1);
}
-const struct testcase testthd4 = {
+ROMCONST struct testcase testthd4 = {
"Threads, delays",
NULL,
NULL,
@@ -221,7 +221,7 @@ const struct testcase testthd4 = {
/**
* @brief Test sequence for threads.
*/
-const struct testcase * const patternthd[] = {
+ROMCONST struct testcase * ROMCONST patternthd[] = {
&testthd1,
&testthd2,
&testthd3,