diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-01-25 08:54:17 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-01-25 12:05:10 +0100 |
commit | 01b32d44a41e2959927dea4dafd786a11afc901b (patch) | |
tree | c88ef9ede5004d217a2a95604c21f0335b79d724 /testsuites | |
parent | powerpc/gen83xx: Add per-section compilation and linking support. (diff) | |
download | rtems-01b32d44a41e2959927dea4dafd786a11afc901b.tar.bz2 |
score: Delete obsolete CPU_TIMESTAMP_* defines
Update #2271.
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/sptests/sp2038/init.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/testsuites/sptests/sp2038/init.c b/testsuites/sptests/sp2038/init.c index e5a3906ee6..da7c23ef5d 100644 --- a/testsuites/sptests/sp2038/init.c +++ b/testsuites/sptests/sp2038/init.c @@ -1,8 +1,8 @@ /* - * Copyright (c) 2011 embedded brains GmbH. All rights reserved. + * Copyright (c) 2011, 2016 embedded brains GmbH. All rights reserved. * * embedded brains GmbH - * Obere Lagerstr. 30 + * Dornierstr. 4 * 82178 Puchheim * Germany * <rtems@embedded-brains.de> @@ -28,9 +28,6 @@ const char rtems_test_name[] = "SP 2038"; /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument argument); -#define TEST_APPLICABLE \ - (CPU_TIMESTAMP_USE_INT64 == TRUE || CPU_TIMESTAMP_USE_INT64_INLINE == TRUE) - #define ASSERT_SC(sc) rtems_test_assert((sc) == RTEMS_SUCCESSFUL) static const uint32_t sample_seconds [] = { @@ -235,7 +232,6 @@ static void test_tod_to_seconds(void) static void test_problem_year(void) { -#if TEST_APPLICABLE rtems_status_code sc = RTEMS_SUCCESSFUL; time_t zero = 0; time_t one = 1; @@ -268,7 +264,6 @@ static void test_problem_year(void) ASSERT_SC(sc); rtems_test_assert(memcmp(&now, problem, sizeof(now)) == 0); } -#endif /* TEST_APPLICABLE */ } static void test_leap_year(void) |