ctags/Tmain/gcov-sandbox.d/run.sh
raw| 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 sandbox |
| 10 | is_feature_available ${CTAGS} interactive |
| 11 | is_feature_available ${CTAGS} gcov |
| 12 | |
| 13 | { |
| 14 | echo '{"command":"generate-tags", "filename":"input.c", "size": 28}' |
| 15 | echo 'int main(void) { return 0; }' |
| 16 | } | $CTAGS --quiet --options=NONE --_interactive=sandbox |
| 17 | |
| 18 | exit $? |