# Copyright (c) 2022-2026, PostgreSQL Global Development Group

tests += {
  'name': 'vector',
  'sd': meson.current_source_dir(),
  'bd': meson.current_build_dir(),
  'regress': {
    'sql': [
      'hnsw_sparsevec',
      'hnsw_vector',
      'ivfflat_bit',
      'ivfflat_halfvec',
      'ivfflat_vector',
      'sparsevec',
      'vector_type',
    ],
  },
  'tap': {
    'tests': [
      't/001_ivfflat_wal.pl',
      't/002_ivfflat_vacuum.pl',
      't/003_ivfflat_vector_build_recall.pl',
      't/004_ivfflat_vector_insert_recall.pl',
      't/005_ivfflat_query_recall.pl',
      't/006_ivfflat_lists.pl',
      't/007_ivfflat_inserts.pl',
      't/008_ivfflat_centers.pl',
      't/009_ivfflat_filtering.pl',
      't/010_hnsw_wal.pl',
      't/011_hnsw_vacuum.pl',
      't/012_hnsw_vector_build_recall.pl',
      't/013_hnsw_vector_insert_recall.pl',
      't/014_hnsw_vector_vacuum_recall.pl',
      't/015_hnsw_vector_duplicates.pl',
      't/016_hnsw_inserts.pl',
      't/017_hnsw_filtering.pl',
      't/018_aggregates.pl',
      't/019_storage.pl',
      't/020_hnsw_bit_build_recall.pl',
      't/021_hnsw_bit_insert_recall.pl',
      't/022_hnsw_bit_vacuum_recall.pl',
      't/023_hnsw_bit_duplicates.pl',
      't/024_hnsw_halfvec_build_recall.pl',
      't/025_hnsw_halfvec_insert_recall.pl',
      't/026_hnsw_halfvec_vacuum_recall.pl',
      't/027_hnsw_halfvec_duplicates.pl',
      't/028_hnsw_sparsevec_build_recall.pl',
      't/029_hnsw_sparsevec_insert_recall.pl',
      't/030_hnsw_sparsevec_vacuum_recall.pl',
      't/031_hnsw_sparsevec_duplicates.pl',
      't/032_ivfflat_halfvec_build_recall.pl',
      't/033_comparison.pl',
      't/034_distance_functions.pl',
      't/035_ivfflat_bit_build_recall.pl',
      't/036_ivfflat_bit_centers.pl',
      't/037_inputs.pl',
      't/038_hnsw_sparsevec_vacuum_insert.pl',
      't/039_hnsw_cost.pl',
      't/040_ivfflat_cost.pl',
      't/041_ivfflat_iterative_scan.pl',
      't/042_ivfflat_iterative_scan_recall.pl',
      't/043_hnsw_iterative_scan.pl',
      't/044_hnsw_iterative_scan_recall.pl',
    ],
  },
}
