mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 06:55:07 +00:00
22 lines
418 B
C++
22 lines
418 B
C++
/*
|
|
* Copyright (C) 2023 Amazon.com Inc. or its affiliates. All rights reserved.
|
|
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
*/
|
|
|
|
#include <gtest/gtest.h>
|
|
#include "wasm_runtime_common.h"
|
|
|
|
int
|
|
main(int argc, char **argv)
|
|
{
|
|
::testing::InitGoogleTest(&argc, argv);
|
|
|
|
if (!wasm_runtime_init()) {
|
|
return -1;
|
|
}
|
|
|
|
int ret = RUN_ALL_TESTS();
|
|
wasm_runtime_destroy();
|
|
|
|
return ret;
|
|
} |