[cig-commits] r5334 - long/3D/Gale/trunk
walter at geodynamics.org
walter at geodynamics.org
Mon Nov 20 15:49:03 PST 2006
Author: walter
Date: 2006-11-20 15:49:02 -0800 (Mon, 20 Nov 2006)
New Revision: 5334
Modified:
long/3D/Gale/trunk/
long/3D/Gale/trunk/SConstruct
Log:
r1110 at earth: boo | 2006-11-20 15:48:53 -0800
Make the tests work correctly even if run by a user with 'build' in its name
Property changes on: long/3D/Gale/trunk
___________________________________________________________________
Name: svk:merge
- 3a629746-de10-0410-b17b-fd6ecaaa963e:/cig:1109
+ 3a629746-de10-0410-b17b-fd6ecaaa963e:/cig:1110
Modified: long/3D/Gale/trunk/SConstruct
===================================================================
--- long/3D/Gale/trunk/SConstruct 2006-11-20 23:48:59 UTC (rev 5333)
+++ long/3D/Gale/trunk/SConstruct 2006-11-20 23:49:02 UTC (rev 5334)
@@ -117,7 +117,7 @@
test_args[3]=str(os.path.abspath(test_args[3]))
# replace build with src so that we can find all of the input files.
import re
- new_dir=re.sub('build','src',env['TESTDIR'])
+ new_dir=re.sub('/build/','/src/',env['TESTDIR'])
os.chdir(new_dir)
r,w,e=os.popen3(test_args)
output_file=[w.readlines()]
More information about the cig-commits
mailing list