[81256] branches/gsoc11-rev-upgrade/base/src/machista1.0/tests/simple.tcl

cal at macports.org cal at macports.org
Thu Jul 28 01:40:36 PDT 2011


Revision: 81256
          http://trac.macports.org/changeset/81256
Author:   cal at macports.org
Date:     2011-07-28 01:40:36 -0700 (Thu, 28 Jul 2011)
Log Message:
-----------
rev-upgrade: Simplistic test file to use with valgrind for memory debugging

Added Paths:
-----------
    branches/gsoc11-rev-upgrade/base/src/machista1.0/tests/simple.tcl

Added: branches/gsoc11-rev-upgrade/base/src/machista1.0/tests/simple.tcl
===================================================================
--- branches/gsoc11-rev-upgrade/base/src/machista1.0/tests/simple.tcl	                        (rev 0)
+++ branches/gsoc11-rev-upgrade/base/src/machista1.0/tests/simple.tcl	2011-07-28 08:40:36 UTC (rev 81256)
@@ -0,0 +1,9 @@
+load ../machista.dylib
+
+if {$argc < 1} {
+	puts "Usage: $argv0 filename"
+	exit 1
+}
+set h [machista::create_handle]
+machista::destroy_handle $h
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110728/471410f5/attachment.html>


More information about the macports-changes mailing list