diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2015-03-27 12:04:12 +0100 |
---|---|---|
committer | Chris Dickinson <christopher.s.dickinson@gmail.com> | 2015-04-28 14:38:16 -0700 |
commit | 36cd5fb9d27b830320e57213f5b8829ffbb93324 (patch) | |
tree | bbab4215d26f8597019135206426fccf27a3089e /deps/v8/test/unittests/base | |
parent | b57cc51d8d3f4ad279591ae8fa6584ee22773b97 (diff) | |
download | node-new-36cd5fb9d27b830320e57213f5b8829ffbb93324.tar.gz |
deps: upgrade v8 to 4.2.77.13
This commit applies some secondary changes in order to make `make test`
pass cleanly:
* disable broken postmortem debugging in common.gypi
* drop obsolete strict mode test in parallel/test-repl
* drop obsolete test parallel/test-v8-features
PR-URL: https://github.com/iojs/io.js/pull/1232
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Diffstat (limited to 'deps/v8/test/unittests/base')
-rw-r--r-- | deps/v8/test/unittests/base/cpu-unittest.cc | 2 | ||||
-rw-r--r-- | deps/v8/test/unittests/base/logging-unittest.cc | 19 | ||||
-rw-r--r-- | deps/v8/test/unittests/base/platform/platform-unittest.cc | 18 |
3 files changed, 21 insertions, 18 deletions
diff --git a/deps/v8/test/unittests/base/cpu-unittest.cc b/deps/v8/test/unittests/base/cpu-unittest.cc index 5c58f86238..c12e339701 100644 --- a/deps/v8/test/unittests/base/cpu-unittest.cc +++ b/deps/v8/test/unittests/base/cpu-unittest.cc @@ -18,6 +18,8 @@ TEST(CPUTest, FeatureImplications) { EXPECT_TRUE(!cpu.has_ssse3() || cpu.has_sse3()); EXPECT_TRUE(!cpu.has_sse41() || cpu.has_sse3()); EXPECT_TRUE(!cpu.has_sse42() || cpu.has_sse41()); + EXPECT_TRUE(!cpu.has_avx() || cpu.has_sse2()); + EXPECT_TRUE(!cpu.has_fma3() || cpu.has_avx()); // arm features EXPECT_TRUE(!cpu.has_vfp3_d32() || cpu.has_vfp3()); diff --git a/deps/v8/test/unittests/base/logging-unittest.cc b/deps/v8/test/unittests/base/logging-unittest.cc new file mode 100644 index 0000000000..918feb114b --- /dev/null +++ b/deps/v8/test/unittests/base/logging-unittest.cc @@ -0,0 +1,19 @@ +// Copyright 2015 the V8 project authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "src/base/logging.h" +#include "testing/gtest-support.h" + +namespace v8 { +namespace base { + +TEST(LoggingTest, CheckEQImpl) { + EXPECT_EQ(nullptr, CheckEQImpl(0.0, 0.0, "")); + EXPECT_EQ(nullptr, CheckEQImpl(0.0, -0.0, "")); + EXPECT_EQ(nullptr, CheckEQImpl(-0.0, 0.0, "")); + EXPECT_EQ(nullptr, CheckEQImpl(-0.0, -0.0, "")); +} + +} // namespace base +} // namespace v8 diff --git a/deps/v8/test/unittests/base/platform/platform-unittest.cc b/deps/v8/test/unittests/base/platform/platform-unittest.cc index b17a9b9ef4..8392b55462 100644 --- a/deps/v8/test/unittests/base/platform/platform-unittest.cc +++ b/deps/v8/test/unittests/base/platform/platform-unittest.cc @@ -36,24 +36,6 @@ TEST(OS, GetCurrentProcessId) { namespace { -class SelfJoinThread FINAL : public Thread { - public: - SelfJoinThread() : Thread(Options("SelfJoinThread")) {} - void Run() FINAL { Join(); } -}; - -} // namespace - - -TEST(Thread, DISABLE_ON_ANDROID(SelfJoin)) { - SelfJoinThread thread; - thread.Start(); - thread.Join(); -} - - -namespace { - class ThreadLocalStorageTest : public Thread, public ::testing::Test { public: ThreadLocalStorageTest() : Thread(Options("ThreadLocalStorageTest")) { |