projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Flesh out a page size accessor in the new API.
[oota-llvm.git]
/
unittests
/
Support
/
ProcessTest.cpp
diff --git
a/unittests/Support/ProcessTest.cpp
b/unittests/Support/ProcessTest.cpp
index d4c4b54ccca6222676d9c1e5213da3a2c7619244..58a7c4acaaa18a3fffda2ec0e2f551b736c9fab7 100644
(file)
--- a/
unittests/Support/ProcessTest.cpp
+++ b/
unittests/Support/ProcessTest.cpp
@@
-28,6
+28,8
@@
TEST(ProcessTest, SelfProcess) {
#elif defined(LLVM_ON_WIN32)
EXPECT_EQ(GetCurrentProcess(), process::get_self()->get_id());
#endif
+
+ EXPECT_LT(1u, process::get_self()->page_size());
}
} // end anonymous namespace