- STCompiler 入口在 compiler/src/main.cpp,链 compiler+isa - host/ 改名 executor/,BytecodeExecutor 链 vm+isa 不链 compiler - compiler/vm 补 PUBLIC 链 isa;顶层加入 executor - CTest:版本冒烟 2 例 + isa_roundtrip(89 断言),3/3 通过
15 lines
412 B
CMake
15 lines
412 B
CMake
# 自动化用例
|
|
add_test(NAME stcompiler_version
|
|
COMMAND STCompiler)
|
|
add_test(NAME bytecode_executor_version
|
|
COMMAND BytecodeExecutor)
|
|
|
|
# isa 合同测试:链接 isa 库,断言覆盖饱和/编解码/disasm/哈希/映像/sidecar
|
|
add_executable(isa_test
|
|
./src/isa_test.cpp)
|
|
|
|
target_link_libraries(isa_test PRIVATE isa)
|
|
|
|
add_test(NAME isa_roundtrip
|
|
COMMAND isa_test)
|