Edit

kc3-lang/libffi/testsuite/libffi.call/call.exp

Branch :

  • Show log

    Commit

  • Author : Josh Triplett
    Date : 2014-03-26 23:17:56
    Hash : 7d698125
    Message : Use the proper C++ compiler to run C++ tests Running the C compiler with -shared-libgcc -lstdc++ does not work on non-GCC compilers.

  • testsuite/libffi.call/call.exp
  • # Copyright (C) 2003, 2006, 2009, 2010 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 3 of the License, 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; see the file COPYING3.  If not see
    # <http://www.gnu.org/licenses/>.
    
    dg-init
    libffi-init
    
    global srcdir subdir
    
    run-many-tests [lsort [glob -nocomplain -- $srcdir/$subdir/*.{c,cc}]] ""
    
    dg-finish
    
    # Local Variables:
    # tcl-indent-level:4
    # End: