diff options
author | Bin Lu <bin.lu@arm.com> | 2020-02-28 14:47:34 +0800 |
---|---|---|
committer | Bin Lu <bin.lu@arm.com> | 2020-02-28 14:47:50 +0800 |
commit | dd1ed5c789ff72fd6bbacda0ff7c7acf9672d25a (patch) | |
tree | 4b68aee6e69243494fffe12985bc72f32e104009 /test/syscalls/linux/time.cc | |
parent | c96bb4d2ebc6a24b3111d986c5d40574ec8ff660 (diff) |
skip vsyscall test cases on Arm64
Signed-off-by: Bin Lu <bin.lu@arm.com>
Diffstat (limited to 'test/syscalls/linux/time.cc')
-rw-r--r-- | test/syscalls/linux/time.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/syscalls/linux/time.cc b/test/syscalls/linux/time.cc index 1ccb95733..e75bba669 100644 --- a/test/syscalls/linux/time.cc +++ b/test/syscalls/linux/time.cc @@ -26,6 +26,7 @@ namespace { constexpr long kFudgeSeconds = 5; +#if defined(__x86_64__) || defined(__i386__) // Mimics the time(2) wrapper from glibc prior to 2.15. time_t vsyscall_time(time_t* t) { constexpr uint64_t kVsyscallTimeEntry = 0xffffffffff600400; @@ -98,6 +99,7 @@ TEST(TimeTest, VsyscallGettimeofday_InvalidAddressSIGSEGV) { reinterpret_cast<struct timezone*>(0x1)), ::testing::KilledBySignal(SIGSEGV), ""); } +#endif } // namespace |