| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
# Copyright: 2017 Masatake YAMATO |
| 4 |
# License: GPL-2 |
| 5 |
|
| 6 |
CTAGS=$1 |
| 7 |
|
| 8 |
. ../utils.sh |
| 9 |
is_feature_available $CTAGS debug |
| 10 |
is_feature_available $CTAGS sandbox |
| 11 |
is_feature_available ${CTAGS} interactive |
| 12 |
is_feature_available ${CTAGS} '!' gcov |
| 13 |
|
| 14 |
{ |
| 15 |
echo '{"command":"generate-tags", "filename":"input.ctst", "size": 1}' |
| 16 |
echo 'P' |
| 17 |
} | $CTAGS --quiet --options=NONE --language-force=CTagsSelfTest --_interactive=sandbox > /tmp/ctags-Tmain-$$ |
| 18 |
r=$? |
| 19 |
jdropver < /tmp/ctags-Tmain-$$ |
| 20 |
rm /tmp/ctags-Tmain-$$ |
| 21 |
exit $r |