/[ascend]/trunk/ascend/system/test/test_register_system.c
ViewVC logotype

Contents of /trunk/ascend/system/test/test_register_system.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: 1004 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) 2012 John Pye
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 "test_register_system.h"
19 #include <ascend/general/platform.h>
20
21 #define TESTS(T) \
22 T(link)
23
24 #define PROTO_TEST(NAME) PROTO(system,NAME)
25 TESTS(PROTO_TEST)
26 #undef PROTO_TEST
27
28 #define REGISTER_TEST(NAME) \
29 result = TESTREGISTER(system,NAME); \
30 if(CUE_SUCCESS!=result){ \
31 return result; \
32 }
33
34 REGISTER_SUITE(system,TESTS)

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