[cig-commits] r5261 - in long/3D/Gale/trunk: . src/StGermain/FD
src/StGermain/FD/tests
walter at geodynamics.org
walter at geodynamics.org
Tue Nov 14 03:21:47 PST 2006
Author: walter
Date: 2006-11-14 03:21:47 -0800 (Tue, 14 Nov 2006)
New Revision: 5261
Added:
long/3D/Gale/trunk/src/StGermain/FD/tests/SConscript
Modified:
long/3D/Gale/trunk/
long/3D/Gale/trunk/SConstruct
long/3D/Gale/trunk/src/StGermain/FD/SConscript
long/3D/Gale/trunk/src/StGermain/FD/tests/testLibFD.0of1.expected
long/3D/Gale/trunk/src/StGermain/FD/tests/testMeshContext0.0of1.expected
Log:
r1080 at earth: boo | 2006-11-14 03:00:51 -0800
Make StGermain/FD tests run
Property changes on: long/3D/Gale/trunk
___________________________________________________________________
Name: svk:merge
- 3a629746-de10-0410-b17b-fd6ecaaa963e:/cig:1079
+ 3a629746-de10-0410-b17b-fd6ecaaa963e:/cig:1080
Modified: long/3D/Gale/trunk/SConstruct
===================================================================
--- long/3D/Gale/trunk/SConstruct 2006-11-14 11:21:42 UTC (rev 5260)
+++ long/3D/Gale/trunk/SConstruct 2006-11-14 11:21:47 UTC (rev 5261)
@@ -246,6 +246,7 @@
SConscript('build/SConscript')
make_test_deps=True
Export('make_test_deps')
+SConscript('build/StGermain/FD/SConscript')
SConscript('build/StGermain/Discretisation/SConscript')
SConscript('build/StGermain/Base/SConscript')
Modified: long/3D/Gale/trunk/src/StGermain/FD/SConscript
===================================================================
--- long/3D/Gale/trunk/src/StGermain/FD/SConscript 2006-11-14 11:21:42 UTC (rev 5260)
+++ long/3D/Gale/trunk/src/StGermain/FD/SConscript 2006-11-14 11:21:47 UTC (rev 5261)
@@ -15,4 +15,10 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA
-SConscript('src/SConscript')
+Import('make_test_deps')
+
+if not make_test_deps:
+ SConscript('src/SConscript')
+else:
+ SConscript('tests/SConscript')
+
Added: long/3D/Gale/trunk/src/StGermain/FD/tests/SConscript
===================================================================
--- long/3D/Gale/trunk/src/StGermain/FD/tests/SConscript 2006-11-14 11:21:42 UTC (rev 5260)
+++ long/3D/Gale/trunk/src/StGermain/FD/tests/SConscript 2006-11-14 11:21:47 UTC (rev 5261)
@@ -0,0 +1,28 @@
+# Copyright 2006 California Institute of Technology
+
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of the
+# License, or (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+# USA
+
+Import('env','tests','add_tests','StGermain_static_library')
+
+local_env=env.Copy()
+local_env.Append(CPPPATH=["#/build/include/StGermain"])
+local_env.Append(CPPFLAGS=['-DCURR_MODULE_NAME=\\"libStGermainFD\\"'])
+
+test_files=Split("""testLibFD.c
+testMeshContext0.c
+""")
+
+add_tests(local_env,tests,test_files,[StGermain_static_library])
Modified: long/3D/Gale/trunk/src/StGermain/FD/tests/testLibFD.0of1.expected
===================================================================
--- long/3D/Gale/trunk/src/StGermain/FD/tests/testLibFD.0of1.expected 2006-11-14 11:21:42 UTC (rev 5260)
+++ long/3D/Gale/trunk/src/StGermain/FD/tests/testLibFD.0of1.expected 2006-11-14 11:21:47 UTC (rev 5261)
@@ -1,3 +1 @@
-StGermain Framework. Copyright (C) 2003-2005 VPAC.
-StGermain Discretisation Library. Copyright (C) 2003-2005 VPAC.
Watching rank: 0
Modified: long/3D/Gale/trunk/src/StGermain/FD/tests/testMeshContext0.0of1.expected
===================================================================
--- long/3D/Gale/trunk/src/StGermain/FD/tests/testMeshContext0.0of1.expected 2006-11-14 11:21:42 UTC (rev 5260)
+++ long/3D/Gale/trunk/src/StGermain/FD/tests/testMeshContext0.0of1.expected 2006-11-14 11:21:47 UTC (rev 5261)
@@ -1,6 +1,4 @@
Watching rank: 0
-StGermain Framework revision 3654. Copyright (C) 2003-2005 VPAC.
-StGermain Discretisation Library revision 3654. Copyright (C) 2003-2005 VPAC.
meshContext->entryPointList->count: 17
meshContext->entryPointList->_size: 24
Context: TestContext
More information about the cig-commits
mailing list