Proper skew transformation
[clay.git] / tests / Makefile.am
blob73eda514d93acc6463889c86d8a7a2aa469ef67d
2 #   /*--------------------------------------------------------------------+
3 #    |                              Clay                                  |
4 #    |--------------------------------------------------------------------|
5 #    |                             Clay.c                                 |
6 #    |--------------------------------------------------------------------|
7 #    |                    First version: 03/04/2012                       |
8 #    +--------------------------------------------------------------------+
10 # +--------------------------------------------------------------------------+
11 # |  / __)(  )    /__\ ( \/ )                                                |
12 # | ( (__  )(__  /(__)\ \  /         Chunky Loop Alteration wizardrY         |
13 # |  \___)(____)(__)(__)(__)                                                 |
14 # +--------------------------------------------------------------------------+
15 # | Copyright (C) 2012 University of Paris-Sud                               |
16 # |                                                                          |
17 # | This library is free software; you can redistribute it and/or modify it  |
18 # | under the terms of the GNU Lesser General Public License as published by |
19 # | the Free Software Foundation; either version 2.1 of the License, or      |
20 # | (at your option) any later version.                                      |
21 # |                                                                          |
22 # | This library is distributed in the hope that it will be useful but       |
23 # | WITHOUT ANY WARRANTY; without even the implied warranty of               |
24 # | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser  |
25 # | General Public License for more details.                                 |
26 # |                                                                          |
27 # | You should have received a copy of the GNU Lesser General Public License |
28 # | along with this software; if not, write to the Free Software Foundation, |
29 # | Inc., 51 Franklin Street, Fifth Floor,                                   |
30 # | Boston, MA  02110-1301  USA                                              |
31 # |                                                                          |
32 # | Clay, the Chunky Loop Alteration wizardrY                                |
33 # | Written by Joel Poudroux, joel.poudroux@u-psud.fr                        |
34 # |            Cedric Bastoul <Cedric.Bastoul@u-psud.fr>                     |
35 # +--------------------------------------------------------------------------*/
37 #############################################################################
38 SUBDIRS                 =
40 #############################################################################
42 MAINTAINERCLEANFILES    = Makefile.in
44 TESTS_ENVIRONMENT       = top_builddir=$(top_builddir) SRCDIR=$(srcdir)
46 #############################################################################
48 check_SCRIPTS           = check_unitary.sh check_fail.sh check_tests.sh
50 EXTRA_DIST              = checker.sh
52 ## Replace by program names when needed
53 # check_PROGRAMS = ...
54 TESTS                   = $(check_SCRIPTS)
56 TEST_FILES = \
57         $(top_srcdir)/tests/tests/ax-do1.c \
58         $(top_srcdir)/tests/tests/ax-do_double_tile.c \
59         $(top_srcdir)/tests/tests/ax-do3.c
60         
61 UNITARY_TEST_FILES = \
62         $(top_srcdir)/tests/unitary/empty_code.c \
63         $(top_srcdir)/tests/unitary/empty_script.c \
64         $(top_srcdir)/tests/unitary/split_loop1.c \
65         $(top_srcdir)/tests/unitary/split_nothing_before.c \
66         $(top_srcdir)/tests/unitary/split_statement1.c \
67         $(top_srcdir)/tests/unitary/split_statement2.c \
68         $(top_srcdir)/tests/unitary/split_statement3.c \
69         $(top_srcdir)/tests/unitary/fuse.c \
70         $(top_srcdir)/tests/unitary/fuse_diff_domain.c \
71         $(top_srcdir)/tests/unitary/fuse_nothing_after.c \
72         $(top_srcdir)/tests/unitary/fuse_statement_between.c \
73         $(top_srcdir)/tests/unitary/interchange_loop1.c \
74         $(top_srcdir)/tests/unitary/interchange_loop2.c \
75         $(top_srcdir)/tests/unitary/interchange_loop3.c \
76         $(top_srcdir)/tests/unitary/interchange_loop4.c \
77         $(top_srcdir)/tests/unitary/interchange_nochanges.c \
78         $(top_srcdir)/tests/unitary/interchange_statement.c \
79         $(top_srcdir)/tests/unitary/iss_loop1.c \
80         $(top_srcdir)/tests/unitary/iss_loop2.c \
81         $(top_srcdir)/tests/unitary/iss_loop3.c \
82         $(top_srcdir)/tests/unitary/iss_loop4.c \
83         $(top_srcdir)/tests/unitary/reorder_all.c \
84         $(top_srcdir)/tests/unitary/reorder_nochanges.c \
85         $(top_srcdir)/tests/unitary/reorder_simple.c \
86         $(top_srcdir)/tests/unitary/reorder_swap_loops.c \
87         $(top_srcdir)/tests/unitary/reverse_loop1.c \
88         $(top_srcdir)/tests/unitary/reverse_loop2.c \
89         $(top_srcdir)/tests/unitary/reverse_statement1.c \
90         $(top_srcdir)/tests/unitary/reverse_statement2.c \
91         $(top_srcdir)/tests/unitary/skew_loop1.c \
92         $(top_srcdir)/tests/unitary/skew_loop2.c \
93         $(top_srcdir)/tests/unitary/skew_loop3.c \
94         $(top_srcdir)/tests/unitary/stripmine_loop1.c \
95         $(top_srcdir)/tests/unitary/stripmine_non_pretty.c \
96         $(top_srcdir)/tests/unitary/stripmine_pretty.c \
97         $(top_srcdir)/tests/unitary/stripmine_statement.c \
98         $(top_srcdir)/tests/unitary/unroll1.c \
99         $(top_srcdir)/tests/unitary/unroll2.c \
100         $(top_srcdir)/tests/unitary/tile_loop1.c \
101         $(top_srcdir)/tests/unitary/shift_loop1.c \
102         $(top_srcdir)/tests/unitary/shift_loop2.c \
103         $(top_srcdir)/tests/unitary/shift_statement.c \
104         $(top_srcdir)/tests/unitary/peel_first.c \
105         $(top_srcdir)/tests/unitary/peel_first_nochanges.c \
106         $(top_srcdir)/tests/unitary/peel_last.c \
107         $(top_srcdir)/tests/unitary/peel_last_nochanges.c \
108         $(top_srcdir)/tests/unitary/peel_remove_condition.c \
109         $(top_srcdir)/tests/unitary/context.c \
110         $(top_srcdir)/tests/unitary/dimreorder.c \
111         $(top_srcdir)/tests/unitary/dimprivatize_simple.c \
112         $(top_srcdir)/tests/unitary/dimcontract.c \
113         $(top_srcdir)/tests/unitary/datacopy.c \
114         $(top_srcdir)/tests/unitary/block.c \
115         $(top_srcdir)/tests/unitary/block_inside.c
117 FAIL_TEST_FILES = \
118         $(top_srcdir)/tests/must_fail/beta_not_found.c \
119         $(top_srcdir)/tests/must_fail/split_overflow_loop.c \
120         $(top_srcdir)/tests/must_fail/split_overflow_statement.c \
121         $(top_srcdir)/tests/must_fail/interchange_overflow_loop.c \
122         $(top_srcdir)/tests/must_fail/interchange_overflow_statement2.c \
123         $(top_srcdir)/tests/must_fail/interchange_overflow_statement.c \
124         $(top_srcdir)/tests/must_fail/iss_inequation.c \
125         $(top_srcdir)/tests/must_fail/peel_not_a_loop.c \
126         $(top_srcdir)/tests/must_fail/reorder_array_too_small.c \
127         $(top_srcdir)/tests/must_fail/reverse_overflow_loop.c \
128         $(top_srcdir)/tests/must_fail/reverse_overflow_statement.c \
129         $(top_srcdir)/tests/must_fail/skew_overflow_loop.c \
130         $(top_srcdir)/tests/must_fail/skew_overflow_statement.c \
131         $(top_srcdir)/tests/must_fail/skew_overflow_statement2.c \
132         $(top_srcdir)/tests/must_fail/skew_statement.c \
133         $(top_srcdir)/tests/must_fail/skew_statement1.c \
134         $(top_srcdir)/tests/must_fail/stripmine_not_in_a_loop.c \
135         $(top_srcdir)/tests/must_fail/context.c \
136         $(top_srcdir)/tests/must_fail/dimprivatize_cant_privatize.c
138 TEST_FILES_REF = $(TEST_FILES:.c=.c.scop)
139 UNITARY_TEST_FILES_REF = $(UNITARY_TEST_FILES:.c=.c.scop)
140 FAIL_TEST_FILES_REF = $(FAIL_TEST_FILES:.c=.c.scop)
142 EXTRA_DIST += \
143         $(UNITARY_TEST_FILES) \
144         $(TEST_FILES) \
145         $(FAIL_TEST_FILES) \
146         $(check_SCRIPTS)
148 CLEANFILES = ""
150 TESTS_ENVIRONMENT += \
151         CHECKER="$(top_srcdir)/tests/checker.sh" \
152         TEST_FILES="$(TEST_FILES)" \
153         UNITARY_TEST_FILES="$(UNITARY_TEST_FILES)" \
154         FAIL_TEST_FILES="$(FAIL_TEST_FILES)"