/[ascend]/trunk/ascend/compiler/test/test_register_compiler.c
ViewVC logotype

Contents of /trunk/ascend/compiler/test/test_register_compiler.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2695 - (show annotations) (download) (as text)
Wed Mar 6 23:37:54 2013 UTC (7 years, 4 months ago) by jpye
File MIME type: text/x-csrc
File size: 1117 byte(s)
Add support for 'scons CC=clang' with FPROPS.
Remove unused #defines in ASCEND CUnit test suits
1 /* ASCEND modelling environment
2 Copyright (C) 2007 Carnegie Mellon University
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2, or (at your option)
7 any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #include <ascend/general/platform.h>
19 #include "test_register_compiler.h"
20
21 #define TESTS(T) \
22 T(basics) \
23 T(autodiff) \
24 T(expr) \
25 T(bintok) \
26 T(fixfree) \
27 T(blackbox) \
28 T(fixassign)
29
30
31 #define PROTO_TEST(NAME) PROTO(compiler,NAME)
32 TESTS(PROTO_TEST)
33 #undef PROTO_TEST
34
35 #define REGISTER_TEST(NAME) \
36 result = TESTREGISTER(compiler,NAME); \
37 if(CUE_SUCCESS!=result){ \
38 return result; \
39 }
40
41 REGISTER_SUITE(compiler,TESTS)

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22