[GRASS-SVN] r50142 - in grass/trunk/raster: r.cost
r.cost/test_suite r.mapcalc r.mapcalc/test_suite r.stats
r.stats/test_suite
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 11 21:57:05 EST 2012
Author: hamish
Date: 2012-01-11 18:57:05 -0800 (Wed, 11 Jan 2012)
New Revision: 50142
Added:
grass/trunk/raster/r.cost/test_suite/
grass/trunk/raster/r.cost/test_suite/profile.sh
grass/trunk/raster/r.mapcalc/test_suite/
grass/trunk/raster/r.mapcalc/test_suite/README
grass/trunk/raster/r.stats/test_suite/
grass/trunk/raster/r.stats/test_suite/profile.sh
Log:
basic collection of profile and md5sum notes. expect for formalize script and result files later
Added: grass/trunk/raster/r.cost/test_suite/profile.sh
===================================================================
--- grass/trunk/raster/r.cost/test_suite/profile.sh (rev 0)
+++ grass/trunk/raster/r.cost/test_suite/profile.sh 2012-01-12 02:57:05 UTC (rev 50142)
@@ -0,0 +1,8 @@
+# NC dataset
+g.region rast=elevation -p
+r.mapcalc 'one = 1'
+CMD="r.cost -k in=one start_points=school_copy output=cost.test --o"
+
+valgrind --tool=callgrind --trace-children=yes $CMD
+kcachegrind callgrind.out.1196
+
Added: grass/trunk/raster/r.mapcalc/test_suite/README
===================================================================
--- grass/trunk/raster/r.mapcalc/test_suite/README (rev 0)
+++ grass/trunk/raster/r.mapcalc/test_suite/README 2012-01-12 02:57:05 UTC (rev 50142)
@@ -0,0 +1,3 @@
+# r.shaded.relief is a nice and complicated test.
+
+
Property changes on: grass/trunk/raster/r.mapcalc/test_suite/README
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:keywords
+ Author Date Id
Added: svn:eol-style
+ native
Added: grass/trunk/raster/r.stats/test_suite/profile.sh
===================================================================
--- grass/trunk/raster/r.stats/test_suite/profile.sh (rev 0)
+++ grass/trunk/raster/r.stats/test_suite/profile.sh 2012-01-12 02:57:05 UTC (rev 50142)
@@ -0,0 +1,11 @@
+#spearfish
+MAP=elevation.10m
+g.region rast=$MAP
+CMD="r.stats -a $MAP"
+
+time $CMD
+
+valgrind --tool=callgrind --trace-children=yes $CMD
+
+kcachegrind callgrind.out.12345
+
More information about the grass-commit
mailing list