修复bug
This commit is contained in:
+14
-7
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user