1#!/bin/sh 2 3# Copyright: 2017 Masatake YAMATO 4# License: GPL-2 5 6CTAGS=$1 7B0="--quiet --options=NONE" 8B1="-o - --fields=+E --language-force=CTagsSelfTest input.cst" 9OPT= 10 11OPT= 12echo "# $OPT" 13${CTAGS} $B0 $OPT $B1 14echo 15 16OPT="--kinds-CTagsSelfTest=-e" 17echo "# $OPT" 18${CTAGS} $B0 $OPT $B1 19echo 20 21OPT="--kinds-CTagsSelfTest=-e+d" 22echo "# $OPT" 23${CTAGS} $B0 $OPT $B1 24echo 25 26OPT="--kinds-CTagsSelfTest=+d" 27echo "# $OPT" 28${CTAGS} $B0 $OPT $B1 29echo 30 31 32 33OPT="--extras=+r --fields=+r" 34echo "# $OPT" 35${CTAGS} $B0 $OPT $B1 36echo 37 38OPT="--extras=+r --fields=+r --kinds-CTagsSelfTest=-e" 39echo "# $OPT" 40${CTAGS} $B0 $OPT $B1 41echo 42 43OPT="--extras=+r --fields=+r --kinds-CTagsSelfTest=-e+d" 44echo "# $OPT" 45${CTAGS} $B0 $OPT $B1 46echo 47 48OPT="--extras=+r --fields=+r --kinds-CTagsSelfTest=+d" 49echo "# $OPT" 50${CTAGS} $B0 $OPT $B1 51echo 52 53exit $? 54