File: unit-tests

package info (click to toggle)
tracker 3.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 19,096 kB
  • sloc: ansic: 57,908; javascript: 15,606; python: 6,272; cs: 242; perl: 106; sh: 98; xml: 29; makefile: 20
file content (19 lines) | stat: -rw-r--r-- 632 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

mkdir "${AUTOPKGTEST_TMP}/locale"
localedef -c -i en_US -f UTF-8 "${AUTOPKGTEST_TMP}/locale/en_US.utf8"

dh_auto_configure -- \
    -Dunicode_support=icu \
    -Dstemmer=enabled \
    -Ddocs=true \
    -Dbash_completion=true \
    -Dbash_completion_dir=/usr/share/bash-completion/completions \
    -Dsystemd_user_services=true \
    -Dsystemd_user_services_dir=/usr/lib/systemd/user

LOCPATH=${AUTOPKGTEST_TMP}/locale \
    HOME=${AUTOPKGTEST_TMP} \
    LANG=en_US.utf8 \
    LC_ALL=en_US.utf8 \
    dbus-run-session -- dh_auto_test -- --no-suite tracker:sparql 2> >(grep -vE '^(Activating|Successfully activated)')>&2