discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Test framework RFC


From: Philippe Roussel
Subject: Re: Test framework RFC
Date: Tue, 22 Feb 2011 10:28:36 +0100

Hi,

Le dimanche 20 février 2011 à 10:08 +0000, Richard Frith-Macdonald a
écrit :

> Also, I'd like the aim here to be more user friendly than other test
> frameworks ... the idea is to make it as easy as possible for people
> who may have never used any regression testing system to help with
> GNUstep.  So we want simple english and clear terminology (to
> encourage people who are not native english speakers) rather than the
> use of terminology and concepts which are used by other systems.
> 
> Thanks in advance to anyone willing to try tis stuff out.

gnustep-tests is trying to use /bin/test but on my system it is located
in /usr/bin/test. Some configure magic could probably help, or maybe
just :

Index: TestFramework/gnustep-tests
===================================================================
--- TestFramework/gnustep-tests (révision 32280)
+++ TestFramework/gnustep-tests (copie de travail)
@@ -118,6 +118,7 @@
 fi
 GSTESTLIBS=`gnustep-config --gui-libs`
 
+TESTBIN=`which test`
 if test x"$BASH_VERSION" = x
 then
 # In some shells the built in test command actually only implements a subset
@@ -125,7 +126,7 @@
 # define a function to call a real program to do the job.
 test()
 {
-  /bin/test $@
+  $TESTBIN $@
 }
 fi
 


Philippe






reply via email to

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