summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/affinity.cc
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2019-04-26 12:46:14 -0700
committerShentubot <shentubot@google.com>2019-04-26 12:47:46 -0700
commit59442238d4d9e48433cd0601ffa53e280fb872bc (patch)
tree0857202d3ffeb4255d872507c4e6baf9329e4a1e /test/syscalls/linux/affinity.cc
parent5f13338d30fb59241cf7f1aa6374c54c69677314 (diff)
Remove syscall tests' dependency on glog
PiperOrigin-RevId: 245469859 Change-Id: I0610e477cc3a884275852e83028ecfb501f2c039
Diffstat (limited to 'test/syscalls/linux/affinity.cc')
-rw-r--r--test/syscalls/linux/affinity.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/syscalls/linux/affinity.cc b/test/syscalls/linux/affinity.cc
index 3b59d5777..81bd9bcb5 100644
--- a/test/syscalls/linux/affinity.cc
+++ b/test/syscalls/linux/affinity.cc
@@ -121,8 +121,7 @@ TEST_F(AffinityTest, SchedSetAffinityOnlyNonexistentCPUFails) {
// it's implicitly returned by raw sched_getaffinity syscall.
int cpu = cpuset_size_ * 8 - 1;
if (cpu <= NumCPUs()) {
- LOG(INFO) << "Skipping test: cpu " << cpu << " exists";
- return;
+ GTEST_SKIP() << "Skipping test: cpu " << cpu << " exists";
}
CPU_SET(cpu, &mask_);
EXPECT_THAT(