Index: test/cctest/test-cpu.cc |
diff --git a/test/cctest/test-cpu.cc b/test/cctest/test-cpu.cc |
index 1c61ab1c46fd151068caa40bdae559f7332efcb1..06966c68c86296e510edb8899f4d7deb0343f108 100644 |
--- a/test/cctest/test-cpu.cc |
+++ b/test/cctest/test-cpu.cc |
@@ -48,3 +48,8 @@ TEST(FeatureImplications) { |
// arm features |
CHECK(!cpu.has_vfp3_d32() || cpu.has_vfp3()); |
} |
+ |
+ |
+TEST(NumberOfProcessorsOnline) { |
+ CHECK_GT(CPU::NumberOfProcessorsOnline(), 0); |
+} |