summaryrefslogtreecommitdiffstats
path: root/c/src/tests/sptests/sp09/screen12.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-26 20:44:11 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-26 20:44:11 +0000
commit8c3c1763f081ce7a42b089f7372ae10e7d67bd69 (patch)
tree14db3a9c40a11de5a86c2f031c28b94e7b4143ab /c/src/tests/sptests/sp09/screen12.c
parentPort of RTEMS to the Texas Instruments C3x/C4x DSP families including (diff)
downloadrtems-8c3c1763f081ce7a42b089f7372ae10e7d67bd69.tar.bz2
Added ifdef on C4x to avoid invalid address alignment checks since there
is no such thing on the C4x.
Diffstat (limited to '')
-rw-r--r--c/src/tests/sptests/sp09/screen12.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/c/src/tests/sptests/sp09/screen12.c b/c/src/tests/sptests/sp09/screen12.c
index 26ee620fb3..1c3a6790db 100644
--- a/c/src/tests/sptests/sp09/screen12.c
+++ b/c/src/tests/sptests/sp09/screen12.c
@@ -43,6 +43,9 @@ void Screen12()
);
puts( "TA1 - rtems_region_create - RTEMS_INVALID_NAME" );
+#if defined(_C3x) || defined(_C4x)
+ puts( "TA1 - rtems_region_create - RTEMS_INVALID_ADDRESS - SKIPPED" );
+#else
status = rtems_region_create(
Region_name[ 1 ],
Region_bad_area,
@@ -57,7 +60,11 @@ void Screen12()
"rtems_region_create with illegal address"
);
puts( "TA1 - rtems_region_create - RTEMS_INVALID_ADDRESS" );
+#endif
+#if defined(_C3x) || defined(_C4x)
+ puts( "TA1 - rtems_region_create - RTEMS_INVALID_SIZE - SKIPPED" );
+#else
status = rtems_region_create(
Region_name[ 1 ],
Region_good_area,
@@ -72,6 +79,7 @@ void Screen12()
"rtems_region_create with illegal size"
);
puts( "TA1 - rtems_region_create - RTEMS_INVALID_SIZE" );
+#endif
status = rtems_region_create(
Region_name[ 1 ],