Edit

kc3-lang/automake/tests/instspc-data.test

Branch :

  • Show log

    Commit

  • Author : Stefano Lattarini
    Date : 2011-06-02 12:47:58
    Hash : 07d878b4
    Message : maintcheck: fix some more failures * tests/instdir-ltlib.test: Use creative quoting to avoid spuriously triggering the `sc_rm_minus_f' maintainer check. * tests/instdir-prog.test: Likewise. * tests/instspc-data.test: Use creative quoting to avoid spuriously triggering the `sc_tests_Exit_not_exit' maintainer check.

  • tests/instspc-data.test
  • #! /bin/sh
    # Copyright (C) 2011 Free Software Foundation, Inc.
    #
    # This program is free software; you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation; either version 2, or (at your option)
    # any later version.
    #
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    # GNU General Public License for more details.
    #
    # You should have received a copy of the GNU General Public License
    # along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    # Helper testcase which generate input data for the other test
    # `instspc-*.test'.  It basically delegates the work to the helper
    # script `instspc-test.sh'.
    
    # Ensure proper definition of $testsrcdir.
    # FIXME: we employ useless quoting below to please maintainer-check.
    . ./defs-static || 'exit' 99
    test -n "$testsrcdir" || 'exit' 99 # Sanity check.
    
    instspc_action=generate-data
    . $testsrcdir/instspc-tests.sh