[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: runtest.sh



  User: ahvezda 
  Date: 07/04/21 22:14:12

  Modified:    .        runtest.sh
  Log:
  Minor improvements in test running script
  
  
  
  
  Revision  Changes    Path
  1.3       +15 -1     eda/geda/gaf/gnetlist/tests/runtest.sh
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: runtest.sh
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gnetlist/tests/runtest.sh,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- runtest.sh	21 Apr 2007 21:08:16 -0000	1.2
  +++ runtest.sh	22 Apr 2007 02:14:12 -0000	1.3
  @@ -11,7 +11,21 @@
   
   schbasename=`basename $INPUT .sch`
   
  -gnetlist -o ${BUILDDIR}/new_${schbasename}.$BACKEND -g $BACKEND $INPUT 
  +../src/gnetlist -o ${BUILDDIR}/new_${schbasename}.$BACKEND -g $BACKEND $INPUT 
  +status=$?
  +
  +if [ "$status" != 0 ] 
  +then
  +	echo FAILED: gnetlist returned non-zero exit status
  +	exit 1
  +fi
   
   diff $EXTRADIFF ${SRCDIR}/${schbasename}.$BACKEND ${BUILDDIR}/new_${schbasename}.$BACKEND
  +status=$?
  +
  +if [ "$status" != 0 ]
  +then
  +	exit 2
  +fi
  +
   
  
  
  


_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs