Skip to content

Commit cfea358

Browse files
committed
tests(unit): Add llm-enhanced-test submodule integration
Signed-off-by: zhenweijin <zhenwei.jin@intel.com>
1 parent 2ed856e commit cfea358

4 files changed

Lines changed: 21 additions & 0 deletions

File tree

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "tests/unit/llm-enhanced-test"]
2+
path = tests/unit/llm-enhanced-test
3+
url = https://github.com/wasm-micro-runtime/llm-enhanced-test.git

tests/unit/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ add_subdirectory(unsupported-features)
9090
add_subdirectory(smart-tests)
9191
add_subdirectory(exception-handling)
9292
add_subdirectory(running-modes)
93+
add_subdirectory(llm-enhanced-test)
9394

9495
if(WAMR_BUILD_TARGET STREQUAL "X86_64")
9596
add_subdirectory(aot-stack-frame)

tests/unit/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,22 @@ When creating a `CMakeLists.txt` file for your test suite, follow these best pra
9292
9393
---
9494
95+
## Initializing Submodules
96+
97+
Test suite `llm-enhanced-test` is maintained in separate repository and included as git submodule. You need to initialize it before building.
98+
99+
```bash
100+
git submodule update --init --recursive
101+
```
102+
103+
Alternatively, if you haven't cloned the repository yet, use `--recursive` when cloning:
104+
105+
```bash
106+
git clone --recursive https://github.com/bytecodealliance/wasm-micro-runtime.git
107+
```
108+
109+
---
110+
95111
## Compiling and Running Test Cases
96112

97113
To compile and run the test cases, follow these steps:

tests/unit/llm-enhanced-test

Submodule llm-enhanced-test added at bba8ea8

0 commit comments

Comments
 (0)