Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv3133

Modified Files:
        gcc48.info 
Log Message:
TestScript cleanup

Index: gcc48.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages/gcc48.info,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- gcc48.info  5 Jul 2013 04:32:38 -0000       1.10
+++ gcc48.info  10 Jul 2013 01:24:28 -0000      1.11
@@ -22,8 +22,16 @@
  --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib 
--program-suffix=-fsf-4.8
 <<
 InfoTest: <<
-   TestDepends: autogen, dejagnu
-   TestScript: cd ../darwin_objdir; make -k check || :
+   TestDepends: autogen, dejagnu, xcode (<< 4.7) | apple-gdb
+   TestScript: <<
+               #!/bin/bash -ev
+               if [ $UID = 0 ]; then
+                  cd ../darwin_objdir; make -k check 
RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'" || :
+               else
+                  echo "The gcc testsuite must be run as root due to its use 
of gdb."
+                  exit 1
+               fi
+   <<
 <<
 InfoDocs: cp-tools.info gcc.info gfortran.info cpp.info gccinstall.info 
libgomp.info cppinternals.info gccint.info gcj.info
 CompileScript: <<
@@ -45,11 +53,6 @@
  ../gcc-%v/configure %c
  # use bootstrap-lean to reduce disk usage
  make bootstrap-lean
- ##  make check requires autogen, dejagnu and expect, and should be run, in 
darwin_objdir, after install.
- ##  on 32-bit processors use
- # make -k check
- ##  on 64-bit processors use
- # make -k check RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'"
 <<
 InstallScript: <<
  #!/bin/sh -ev


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to