diff options
author | Elliott Hughes <enh@google.com> | 2020-02-28 18:27:09 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2020-02-28 18:27:09 -0800 |
commit | edaf03ea183ed5cbb2724e6cb5f90ebf943af65c (patch) | |
tree | 59fa6c9b42971e207cabc62e18190728d9a615e4 /tests | |
parent | 33318f51972de2a7973efb7d9d2f00de567d2e3c (diff) |
Remove `return` after `GTEST_SKIP`.
Test: treehugger
Change-Id: I5efc31f82a979fcd8d3051c72ed8e6201b3b0d1b
Diffstat (limited to 'tests')
-rw-r--r-- | tests/malloc_test.cpp | 1 | ||||
-rw-r--r-- | tests/sys_stat_test.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/tests/malloc_test.cpp b/tests/malloc_test.cpp index 594441487..a2f310e2b 100644 --- a/tests/malloc_test.cpp +++ b/tests/malloc_test.cpp @@ -1225,7 +1225,6 @@ TEST(android_mallopt, tag_level) { #if defined(__BIONIC__) && defined(__aarch64__) && defined(ANDROID_EXPERIMENTAL_MTE) if (!(getauxval(AT_HWCAP2) & HWCAP2_MTE)) { GTEST_SKIP() << "requires MTE support"; - return; } std::unique_ptr<int[]> p = std::make_unique<int[]>(4); diff --git a/tests/sys_stat_test.cpp b/tests/sys_stat_test.cpp index 71591c0c2..8f1437b1b 100644 --- a/tests/sys_stat_test.cpp +++ b/tests/sys_stat_test.cpp @@ -109,7 +109,6 @@ TEST(sys_stat, statx) { int rc = statx(AT_FDCWD, "/proc/version", AT_STATX_SYNC_AS_STAT, STATX_ALL, &sx); if (rc == -1 && errno == ENOSYS) { GTEST_SKIP() << "statx returned ENOSYS"; - return; } ASSERT_EQ(0, rc); struct stat64 sb; |