diff options
Diffstat (limited to 'deps/v8/test/wasm-api-tests/run-all-wasm-api-tests.cc')
-rw-r--r-- | deps/v8/test/wasm-api-tests/run-all-wasm-api-tests.cc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/deps/v8/test/wasm-api-tests/run-all-wasm-api-tests.cc b/deps/v8/test/wasm-api-tests/run-all-wasm-api-tests.cc new file mode 100644 index 0000000000..1b1c94923a --- /dev/null +++ b/deps/v8/test/wasm-api-tests/run-all-wasm-api-tests.cc @@ -0,0 +1,17 @@ +// Copyright 2019 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 "include/v8.h" +#include "testing/gmock/include/gmock/gmock.h" +#include "testing/gtest/include/gtest/gtest.h" + +int main(int argc, char** argv) { + // Don't catch SEH exceptions and continue as the following tests might hang + // in an broken environment on windows. + testing::GTEST_FLAG(catch_exceptions) = false; + testing::InitGoogleMock(&argc, argv); + v8::V8::SetFlagsFromCommandLine(&argc, argv, true); + v8::V8::InitializeExternalStartupData(argv[0]); + return RUN_ALL_TESTS(); +} |