修复bug

This commit is contained in:
2026-08-08 20:32:33 +08:00
parent ae5dc3eb46
commit 8becd0bf94
20 changed files with 174 additions and 60 deletions
+14 -7
View File
@@ -100,13 +100,20 @@ def full_verification() -> None:
configure(release_dir, "Release")
build(release_dir, "Release")
ctest(release_dir, "Release")
configure(asan_dir, "Debug", ["-DADMINIVE_ENABLE_ASAN=ON", "-DADMINIVE_ENABLE_UBSAN=ON"])
for target in SANITIZER_TARGETS:
build(asan_dir, "Debug", target)
ctest_regex(asan_dir, "Debug", SANITIZER_TARGETS)
configure(tsan_dir, "Debug", ["-DADMINIVE_ENABLE_TSAN=ON"])
build(tsan_dir, "Debug", "Adminive_Managed_Test")
ctest(tsan_dir, "Debug", "concurrency")
if os.name == "nt":
configure(asan_dir, "Debug", ["-DADMINIVE_ENABLE_ASAN=ON"])
for target in SANITIZER_TARGETS:
build(asan_dir, "Debug", target)
ctest_regex(asan_dir, "Debug", SANITIZER_TARGETS)
print("SKIP: UBSan and TSan verification require Clang or GNU and are not reported as passed on Windows MSVC", flush=True)
else:
configure(asan_dir, "Debug", ["-DADMINIVE_ENABLE_ASAN=ON", "-DADMINIVE_ENABLE_UBSAN=ON"])
for target in SANITIZER_TARGETS:
build(asan_dir, "Debug", target)
ctest_regex(asan_dir, "Debug", SANITIZER_TARGETS)
configure(tsan_dir, "Debug", ["-DADMINIVE_ENABLE_TSAN=ON"])
build(tsan_dir, "Debug", "Adminive_Managed_Test")
ctest(tsan_dir, "Debug", "concurrency")
prepare_frontend()
run_e2e(release_dir, "Release", False)
if os.name == "nt":