xref: /Universal-ctags/Tmain/readtags-qualifier-end-field.d/run.sh (revision 17d1dc4a857488fa602122a1bea4b5bbc09c5341)
1#!/bin/sh
2
3# Copyright: 2016 Masatake YAMATO
4# License: GPL-2
5
6READTAGS=$3
7
8. ../utils.sh
9
10#V="valgrind --leak-check=full -v"
11V=
12
13if ! [ -x "${READTAGS}" ]; then
14    skip "no readtags"
15fi
16
17if ! ( "${READTAGS}" -h | grep -q -e -Q ); then
18    skip "no qualifier function in readtags"
19fi
20
21echo ';; (and $end (> $end 14) (< $end 18))' &&
22    ${V} ${READTAGS} -e -t output.tags -Q '(and $end (> $end 14) (< $end 18))' -l &&
23    :
24