Index: test/cctest/test-platform.cc |
diff --git a/test/cctest/test-platform-macos.cc b/test/cctest/test-platform.cc |
similarity index 58% |
copy from test/cctest/test-platform-macos.cc |
copy to test/cctest/test-platform.cc |
index d80fa5452f15accfa88d475911524352494735c7..1b09cac4e4a8cb62f76f27b47130eb91ba4b4fe2 100644 |
--- a/test/cctest/test-platform-macos.cc |
+++ b/test/cctest/test-platform.cc |
@@ -1,10 +1,16 @@ |
// Copyright 2006-2008 the V8 project authors. All rights reserved. |
Michael Starzinger
2013/02/15 10:36:45
Copyright header should say just "2013", no year-r
Hannes Payer (out of office)
2013/02/15 10:42:18
Done.
|
// |
-// Tests of the TokenLock class from lock.h |
+// Tests general platform code. |
#include <stdlib.h> |
#include "v8.h" |
+ |
+#include "platform.h" |
Michael Starzinger
2013/02/15 10:36:45
Can we alpha-sort the includes?
Hannes Payer (out of office)
2013/02/15 10:42:18
Done.
Hannes Payer (out of office)
2013/02/15 10:42:18
Done.
|
#include "cctest.h" |
using namespace ::v8::internal; |
+ |
+TEST(NumberOfCores) { |
+ CHECK_GT(OS::NumberOfCores(), 0); |
+} |