Add piplib.h.in file
[candl.git] / tests / Makefile.am
blob2dd660f2a54fbf51a7c606c43412861d01e11af7
2 #   /**-------------------------------------------------------------------**
3 #    **                              CAnDL                                **
4 #    **-------------------------------------------------------------------**
5 #    **                           Makefile.am                             **
6 #    **-------------------------------------------------------------------**
7 #    **                 First version: june 28th 2012                     **
8 #    **-------------------------------------------------------------------**/
10 #/*****************************************************************************
11 # *   CAnDL : the Chunky Analyser for Dependences in Loops (experimental)     *
12 # *****************************************************************************
13 # *                                                                           *
14 # * Copyright (C) 2003-2008 Cedric Bastoul                                    *
15 # *                                                                           *
16 # * This is free software; you can redistribute it and/or modify it under the *
17 # * terms of the GNU Lesser General Public License as published by the Free   *
18 # * Software Foundation; either version 3 of the License, or (at your option) *
19 # * any later version.                                                        *
20 # *                                                                           *
21 # * This software is distributed in the hope that it will be useful, but      *
22 # * WITHOUT ANY WARRANTY; without even the implied warranty of                *
23 # * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General *
24 # * Public License for more details.                                          *
25 # *                                                                           *
26 # * You should have received a copy of the GNU Lesser General Public License  *
27 # * along with software; if not, write to the Free Software Foundation, Inc., *
28 # * 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA                    *
29 # *                                                                           *
30 # * CAnDL, the Chunky Dependence Analyser                                     *
31 # * Written by Cedric Bastoul, Cedric.Bastoul@inria.fr                        *
32 # *                                                                           *
33 # *****************************************************************************/
35 ############################################################################
36 SUBDIRS                 =
38 #############################################################################
40 MAINTAINERCLEANFILES    = Makefile.in
42 #############################################################################
44 UNITARY_TEST_FILES = \
45         unitary/ax-do \
46         unitary/can_reorder_loop \
47         unitary/gemver \
48         unitary/jacobi1d \
49         unitary/loulou \
50         unitary/lu \
51         unitary/matmul \
52         unitary/multiscop3 \
53         unitary/scalpriv \
54         unitary/scalexp \
55         unitary/simple \
56         unitary/swim 
58 TRANSFO_FAIL_TEST_FILES = \
59         transformations/must_fail/no_scalren
61 TRANSFO_WORKING_TEST_FILES = \
62         transformations/working/can_reorder_loop \
63         transformations/working/loulou \
64         transformations/working/scalren
66 TESTS_ENVIRONMENT = \
67         top_builddir=$(top_builddir) \
68         srcdir=$(srcdir) \
69         EXEEXT=$(EXEEXT) \
70         CHECKER="$(top_srcdir)/tests/checker.sh" \
71         COMPILE="$(COMPILE)" \
72         LINK="$(LINK)" \
73         UNITARY_TEST_FILES="$(UNITARY_TEST_FILES)" \
74         TRANSFO_FAIL_TEST_FILES="$(TRANSFO_FAIL_TEST_FILES)" \
75         TRANSFO_WORKING_TEST_FILES="$(TRANSFO_WORKING_TEST_FILES)"
77 valcheck:
78         $(TESTS_ENVIRONMENT) $(srcdir)/check_unitary.sh valgrind ; \
79         $(TESTS_ENVIRONMENT) $(srcdir)/check_working.sh valgrind ; \
80         $(TESTS_ENVIRONMENT) $(srcdir)/check_fail.sh valgrind
82 check_SCRIPTS = \
83         check_unitary.sh \
84         check_fail.sh \
85         check_working.sh
87 ## Replace by program names when needed
88 # check_PROGRAMS = ...
90 TESTS = $(check_SCRIPTS)
92 EXTRA_DIST = \
93         $(check_SCRIPTS) \
94         $(srcdir)/checker.sh \
95         $(UNITARY_TEST_FILES:%=%.c) \
96         $(UNITARY_TEST_FILES:%=%.c.struct) \
97         $(UNITARY_TEST_FILES:%=%.c.orig.scop) \
98         $(TRANSFO_FAIL_TEST_FILES:%=%.c) \
99         $(TRANSFO_FAIL_TEST_FILES:%=%.c.struct) \
100         $(TRANSFO_FAIL_TEST_FILES:%=%.c.orig.scop) \
101         $(TRANSFO_WORKING_TEST_FILES:%=%.c) \
102         $(TRANSFO_WORKING_TEST_FILES:%=%.c.struct) \
103         $(TRANSFO_WORKING_TEST_FILES:%=%.c.orig.scop)