1 ## Makefile for the testsuite subdirectory of the VTV library.
3 ## Copyright (C) 2013 Free Software Foundation, Inc.
5 ## Process this file with automake to produce Makefile.in.
7 ## This file is part of the Vtable Verification (VTV) Library. This
8 ## library is free software; you can redistribute it and/or modify it
9 ## under the terms of the GNU General Public License as published by
10 ## the Free Software Foundation; either version 3, or (at your option)
13 ## This library is distributed in the hope that it will be useful, but
14 ## WITHOUT ANY WARRANTY; without even the implied warranty of
15 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 ## General Public License for more details.
18 ## You should have received a copy of the GNU General Public License
19 ## along with this library; see the file COPYING3. If not see
20 ## <http://www.gnu.org/licenses/>.
22 AUTOMAKE_OPTIONS = nostdinc
24 # Runs the testsuite via a script.
26 # Create subdirectories.
28 if test ! -d lib64; then \
31 if test ! -d lib32; then \
34 echo `date` > stamp-subdir;
37 testing_script=${libvtv_srcdir}/scripts/run-testsuite.sh
38 check-script: ${testing_script} stamp-subdir
39 -@(chmod +x ${testing_script}; \
40 ${testing_script} ${libvtv_srcdir} ${libvtv_builddir})
43 $(MAKE) $(AM_MAKEFLAGS) check-script
47 # By adding these files here, automake will remove them for 'make clean'
48 CLEANFILES = *.out environment-fail-* stamp-* replace-fail-*
50 # To remove directories.