We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f59d585 commit c10b12fCopy full SHA for c10b12f
tests/meson.build
@@ -47,9 +47,14 @@ test_hnsw = executable(
47
dependencies: [sqlite3_dep],
48
)
49
50
+# Detect if sanitizers are enabled (TSAN/ASAN add significant overhead)
51
+# Meson doesn't expose b_sanitize directly, so we check compiler args
52
+is_sanitized = get_option('b_sanitize') != 'none'
53
+hnsw_timeout = is_sanitized ? 900 : 300
54
+
55
test('Concepts and VectorView', test_concepts)
56
test('Distance Metrics', test_distances)
57
test('Utilities (Array)', test_utils)
58
test('SQLite Functions (Comprehensive)', test_sqlite_functions, timeout: 60)
59
test('Batch Distance Operations', test_batch_distance)
-test('HNSW Index', test_hnsw, timeout: 300)
60
+test('HNSW Index', test_hnsw, timeout: hnsw_timeout)
0 commit comments