discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GSUnit, debian, and flattened


From: Travis Griggs
Subject: GSUnit, debian, and flattened
Date: Wed, 07 May 2003 12:26:10 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1

About a week ago, I succeeded in getting my little testing framework working and gnu-step components installed in a way that made me happy. Much thanks to responses here and especially in the irc channel. This is a (slightly belated) report of the things I noticed on the way:

1) Attached is the actual code I wrote. I realize that there was already some testing frameworks out there. But I wanted to write my own for the experience of doing so. I have no idea if its of value to anyone. Basically, I filed-out SUnit3.0 from a Smalltalk environment and then began changing syntax to make it work. There's still some things I'd like to tweak about it; I'd of course be thrilled if someone were to critique it and provide feedback as I recognize my greeniness.

2) Debian and GNUstep. When I first got into Linux, I remember the thing I hated was always having to recompile stuff. Debian sure has spoiled me. I really wanted to use the Debian versions of gnustep-base and gnustep-make. In this case, I was not able to get it to match. The debian install puts GNUSTEP_ROOT at /usr/lib/GNUstep. I'm curious why it doesn't put it at /usr/local/GNUstep, which seems to be the default when you build it yourself. I also wish the debian version of them was the flattened version. Debian's supposed to be about making the end guy's life easier, for the common case. I found that the unflattened version annoyed me (I know, trite), and I could find no way to use debian in newbie mode to get a newbie style (read: flattened) install of gnustep.

3) So I went the compile it myself route. This went actually quite well. This link: <http://www.gnustep.org/resources/documentation/gnustep-make-ANNOUNCE> makes it sound as if by default you now get the flattened architecture, which is what I had wanted. But I found that unless I ran configure with the --enable-flattened option, it definitely did not do the flattened thing.

Again, thanks for all the help. I've already begun writing tests and automating them; I look forward to using GNUstep base libraries any more?

BTW: does anyone know how to "randomize" the contents of an NSMutableSet?

--
Travis Griggs
Key Technology
One Man's Pink Plane is Another Man's Blue Plane

Attachment: GSUnit.tgz
Description: GNU Unix tar archive


reply via email to

[Prev in Thread] Current Thread [Next in Thread]