2 # /**-------------------------------------------------------------------**
4 # **-------------------------------------------------------------------**
6 # **-------------------------------------------------------------------**
7 # ** First version: june 28th 2012 **
8 # **-------------------------------------------------------------------**/
10 #/*****************************************************************************
11 # * CAnDL : the Chunky Analyser for Dependences in Loops (experimental) *
12 # *****************************************************************************
14 # * Copyright (C) 2003-2008 Cedric Bastoul *
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. *
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. *
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 *
30 # * CAnDL, the Chunky Dependence Analyser *
31 # * Written by Cedric Bastoul, Cedric.Bastoul@inria.fr *
33 # *****************************************************************************/
35 ############################################################################
38 #############################################################################
40 MAINTAINERCLEANFILES = Makefile.in
42 #############################################################################
44 UNITARY_TEST_FILES = \
46 unitary/can_reorder_loop \
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
67 top_builddir=$(top_builddir) \
70 CHECKER="$(top_srcdir)/tests/checker.sh" \
71 COMPILE="$(COMPILE)" \
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)"
78 $(TESTS_ENVIRONMENT) $(srcdir)/check_unitary.sh valgrind ; \
79 $(TESTS_ENVIRONMENT) $(srcdir)/check_working.sh valgrind ; \
80 $(TESTS_ENVIRONMENT) $(srcdir)/check_fail.sh valgrind
87 ## Replace by program names when needed
88 # check_PROGRAMS = ...
90 TESTS = $(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)