[81268] branches/gsoc11-rev-upgrade/base/src/machista1.0

cal at macports.org cal at macports.org
Thu Jul 28 06:39:05 PDT 2011


Revision: 81268
          http://trac.macports.org/changeset/81268
Author:   cal at macports.org
Date:     2011-07-28 06:39:04 -0700 (Thu, 28 Jul 2011)
Log Message:
-----------
rev-upgrade: Fixed testcase

Modified Paths:
--------------
    branches/gsoc11-rev-upgrade/base/src/machista1.0/Makefile.in
    branches/gsoc11-rev-upgrade/base/src/machista1.0/tests/libmachista-test.c

Modified: branches/gsoc11-rev-upgrade/base/src/machista1.0/Makefile.in
===================================================================
--- branches/gsoc11-rev-upgrade/base/src/machista1.0/Makefile.in	2011-07-28 13:31:04 UTC (rev 81267)
+++ branches/gsoc11-rev-upgrade/base/src/machista1.0/Makefile.in	2011-07-28 13:39:04 UTC (rev 81268)
@@ -46,7 +46,6 @@
 test:: ${TESTS}
 	${TESTS}
 
-# FIXME: This is broken
-tests/libmachista-test: tests/libmachista-test.c libmachista.h ${SHLIB_NAME}
-	$(CC) $(CFLAGS) -D_POSIX_SOURCE -o $@ -I. -L. -lmachista $<
+tests/libmachista-test: tests/libmachista-test.c libmachista.h libmachista.o hashmap.o
+	$(CC) $(CFLAGS) -D_POSIX_SOURCE -o $@ -I. $< libmachista.o hashmap.o
 

Modified: branches/gsoc11-rev-upgrade/base/src/machista1.0/tests/libmachista-test.c
===================================================================
--- branches/gsoc11-rev-upgrade/base/src/machista1.0/tests/libmachista-test.c	2011-07-28 13:31:04 UTC (rev 81267)
+++ branches/gsoc11-rev-upgrade/base/src/machista1.0/tests/libmachista-test.c	2011-07-28 13:39:04 UTC (rev 81268)
@@ -115,7 +115,7 @@
 			goto error_out;
 		}
 		nullterminate(architecture_name);
-		printf("\tarch: %s\n", architecture_name);
+		//printf("\tarch: %s\n", architecture_name);
 
 		// search for the found architecture in libmachista output
 		const NXArchInfo *archInfo = NXGetArchInfoFromName(architecture_name);	
@@ -183,7 +183,7 @@
 			nullterminate(lib_comp_version);
 			nullterminate(lib_curr_version);
 
-			printf("\t\t%s, %s, %s\n", lib_path, lib_comp_version, lib_curr_version);
+			//printf("\t\t%s, %s, %s\n", lib_path, lib_comp_version, lib_curr_version);
 
 			// try to find the library in this architecture's list of loadcommands
 			macho_loadcmd_t *mlt;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110728/bdebd985/attachment.html>


More information about the macports-changes mailing list