Add unit test suites (#3490)

This commit is contained in:
Zhang, Yi
2024-06-04 11:24:27 +08:00
committed by GitHub
parent 0a80cc4e94
commit 380cd7b0e7
194 changed files with 14104 additions and 34 deletions

View File

@ -0,0 +1,14 @@
# Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
cmake_minimum_required(VERSION 2.9)
project(wasm-apps-custom-section)
# Add -g option so there will be debugger related custom sections
add_custom_target(app.wasm ALL
COMMAND /opt/wasi-sdk/bin/clang -g -nostdlib
-Wl,--no-entry,--export-all
-o ${CMAKE_CURRENT_BINARY_DIR}/app.wasm
${CMAKE_CURRENT_LIST_DIR}/app.c
)

View File

@ -0,0 +1,10 @@
/*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
int
main(int argc, char const *argv[])
{
return 0;
}