MacPorts Test Framework - GSoC 13

Bradley Giesbrecht pixilla at macports.org
Sun Sep 22 10:41:00 PDT 2013


On Sep 22, 2013, at 5:12 AM, Rainer Müller wrote:

> Hello,
> 
> On 2013-09-19 18:12, Marius Coțofană wrote:
>> For those who are not aware, I have developed a testing framework for
>> MacPorts as a project of Google Summer of Code 2013. For a detailed
>> weekly description of my work, alongside my initial proposal for the project
>> you can visit the wiki page [0]. The framework is written on top of tcltest
>> and you can find all the details about how it works, how you can contribute,
>> and how to run the tests, at this page [1].
>> 
>> I strongly encourage you to use the framework as much as possible
>> and report any problems or shortcomings so we can fix them and
>> further improve the system.
> 
> I can only underline this encouragement. Please test out Marius' work
> done in the Google Summer of Code program this year.


$ sw_vers -productVersion
10.5.8
$ ./configure --prefix=/opt/local --enable-readline
...
$ make
...
===> making all in src/darwintracelib1.0
gcc -g -O2 -std=c99 -Wextra -Wall   -fPIC -Wno-deprecated-declarations -DHAVE_CONFIG_H -I.. -I.  -I"/usr/include"  -c -o darwintrace.o darwintrace.c
darwintrace.c:507:2: error: #error Please build with gcc-4.2 or later
darwintrace.c: In function '__darwintrace_get_filemap':
darwintrace.c:524: warning: implicit declaration of function '__sync_bool_compare_and_swap'
make[2]: *** [darwintrace.o] Error 1
...


Using port select gcc did not help:
$ port select gcc
Available versions for gcc:
	gcc40
	gcc42 (active)
	llvm-gcc42
	none




Regards,
Bradley Giesbrecht (pixilla)



More information about the macports-dev mailing list