PageRenderTime 22ms CodeModel.GetById 16ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/test-options-tool-preprocessor.in

#
Autoconf | 34 lines | 10 code | 6 blank | 18 comment | 6 complexity | d55758e7892fd0863a44c445beb25c06 MD5 | raw file
 1#! @SHELL@
 2
 3#
 4# Copyright (C) 2008, 2009 Francesco Salvestrini
 5#
 6# This program is free software; you can redistribute it and/or modify
 7# it under the terms of the GNU General Public License as published by
 8# the Free Software Foundation; either version 2 of the License, or
 9# (at your option) any later version.
10#
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License along
17# with this program; if not, write to the Free Software Foundation, Inc.,
18# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19#
20
21required=""
22
23. $testdir/defs || exit 1
24
25MODE=preprocess
26TOOL=preprocessor
27
28$WRAPPER choicetool-$TOOL                          && exit 1
29$CHOICETOOL --dry-run -h                     $MODE || exit 1
30$CHOICETOOL --dry-run --verbose -h           $MODE || exit 1
31$CHOICETOOL --dry-run --debug   -h           $MODE || exit 1
32$CHOICETOOL --dry-run --debug   --verbose -h $MODE || exit 1
33
34exit 0