We still need the test/base-unittests folder until the test driver is
updated to handle unittests without the boilerplate.
TEST=base-unittests
R=svenpanne@chromium.org
BUG=v8:3489
LOG=n
Review URL: https://codereview.chromium.org/
520503004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23516
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
'type': 'none',
'dependencies': [
'../samples/samples.gyp:*',
+ '../src/base/base.gyp:*',
'../src/d8.gyp:d8',
- '../test/base-unittests/base-unittests.gyp:*',
'../test/cctest/cctest.gyp:*',
'../test/compiler-unittests/compiler-unittests.gyp:*',
'../test/heap-unittests/heap-unittests.gyp:*',
"+src/compiler/pipeline.h",
"-src/libplatform",
"-include/libplatform",
+ "+testing",
]
specific_include_rules = {
Mutex mutex_;
};
-}
+} // namespace
TEST(ConditionVariable, MultipleThreadsWithSeparateConditionVariables) {
Mutex* mutex_;
};
-}
+} // namespace
TEST(ConditionVariable, MultipleThreadsWithSharedSeparateConditionVariables) {
Mutex* mutex_;
};
-}
+} // namespace
TEST(ConditionVariable, LoopIncrement) {
int counter = 0;
// Setup the threads.
- Thread** threads = new Thread*[thread_count];
+ Thread** threads = new Thread* [thread_count];
for (int n = 0; n < thread_count; ++n) {
- threads[n] = new LoopIncrementThread(
- n, &counter, limit, thread_count, &cv, &mutex);
+ threads[n] = new LoopIncrementThread(n, &counter, limit, thread_count,
+ &cv, &mutex);
}
// Start all threads.
virtual void Run() V8_OVERRIDE { Join(); }
};
-}
+} // namespace
TEST(Thread, SelfJoin) {
Thread::LocalStorageKey keys_[256];
};
-}
+} // namespace
TEST_F(ThreadLocalStorageTest, DoTest) {
EXPECT_LE(delta, target_granularity);
}
-}
+} // namespace
TEST(Time, NowResolution) {
+++ /dev/null
-include_rules = [
- "-include",
- "+include/v8config.h",
- "+include/v8stdint.h",
- "-src",
- "+src/base",
- "+testing/gtest",
- "+testing/gtest-support.h",
-]