pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/cad/covered-current update to covered-current-20040325.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ec5bd29f16df
branches:  trunk
changeset: 484484:ec5bd29f16df
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Sat Nov 27 17:52:09 2004 +0000

description:
update to covered-current-20040325.

This release contains lots of bug fixes and also contains the
initial version of the Covered report viewing GUI (line coverage only).  The following is a
description of the changes made since the last development release.

  - Ran C linting tool on all Covered source code and updated code based on linting errors/
    warnings.
  - Modified debug output to show file and line number of code that called the outputting
    function (easier to debug problems and useful in error regression testing).
  - Started initial error testing in regressions.
  - Several bug fixes made to remove segmentation faults and assertion errors in the new
    report generation functions.
  - Initial version of Covered report viewing GUI added.  This version displays line coverage
    only at the moment.
  - Fixed bug in score command for statement removal (was resulting in memory errors that led
    to segmentation faults).
  - Fixed bug in report command that output bad verbose information when -c option was used.
  - Added new diagnostics to regression testsuite to reproduce situations where original
    segmentation faults were found to occur.
  - Development documentation updates.  No user documentation updates are released at this
    time (other than information provided using the -h global option to Covered).

diffstat:

 cad/covered-current/Makefile         |    11 +-
 cad/covered-current/PLIST            |     8 +-
 cad/covered-current/distinfo         |     9 +-
 cad/covered-current/patches/patch-aa |    22 +
 cad/covered-current/patches/patch-ab |    31 +
 cad/covered-current/patches/patch-ac |  7973 ++++++++++++++++++++++++++++++++++
 6 files changed, 8047 insertions(+), 7 deletions(-)

diffs (truncated from 8107 to 300 lines):

diff -r c8eb1012752f -r ec5bd29f16df cad/covered-current/Makefile
--- a/cad/covered-current/Makefile      Sat Nov 27 17:41:16 2004 +0000
+++ b/cad/covered-current/Makefile      Sat Nov 27 17:52:09 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2004/03/12 22:35:31 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.8 2004/11/27 17:52:09 dmcmahill Exp $
 #
 
 DISTNAME=      covered-${SNAPDATE}
@@ -14,12 +14,11 @@
 
 USE_BUILDLINK3=        yes
 BUILD_DEPENDS+=        bison-[0-9]*:../../devel/bison
-BUILD_DEPENDS+=        gperf>=2.7.2:../../devel/gperf
 DEPENDS+=      verilog{,-current}-[0-9]*:../../cad/verilog
 
 CONFLICTS+=     covered-[0-9]*
 
-SNAPDATE=      20040211
+SNAPDATE=      20040325
 USE_PERL5=     YES
 REPLACE_PERL=  diags/verilog/check_test
 GNU_CONFIGURE= YES
@@ -27,6 +26,9 @@
 TEST_DIRS=     ${WRKSRC}/diags/regress
 TEST_TARGET=   iverilog
 
+CONFIGURE_ENV+=        TCLCONFIG=${BUILDLINK_PREFIX.tcl}/lib/tclConfig.sh
+CONFIGURE_ENV+=        TKCONFIG=${BUILDLINK_PREFIX.tk}/lib/tkConfig.sh
+
 post-patch:
        ${CHMOD} 755 ${WRKSRC}/missing
 
@@ -34,4 +36,7 @@
        ${INSTALL_PROGRAM_DIR} ${PREFIX}/bin
        ${INSTALL_MAN_DIR} ${PREFIX}/man/man1
 
+.include "../../devel/gperf/buildlink3.mk"
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../x11/tk/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r c8eb1012752f -r ec5bd29f16df cad/covered-current/PLIST
--- a/cad/covered-current/PLIST Sat Nov 27 17:41:16 2004 +0000
+++ b/cad/covered-current/PLIST Sat Nov 27 17:52:09 2004 +0000
@@ -1,3 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/12/08 04:21:43 dmcmahill Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/11/27 17:52:09 dmcmahill Exp $
 bin/covered
 man/man1/covered.1
+share/covered/scripts/cov_create.tcl
+share/covered/scripts/main_view.tcl
+share/covered/scripts/menu_create.tcl
+share/covered/scripts/process_file.tcl
+@dirrm share/covered/scripts
+@dirrm share/covered
diff -r c8eb1012752f -r ec5bd29f16df cad/covered-current/distinfo
--- a/cad/covered-current/distinfo      Sat Nov 27 17:41:16 2004 +0000
+++ b/cad/covered-current/distinfo      Sat Nov 27 17:52:09 2004 +0000
@@ -1,4 +1,7 @@
-$NetBSD: distinfo,v 1.3 2004/03/12 22:35:31 dmcmahill Exp $
+$NetBSD: distinfo,v 1.4 2004/11/27 17:52:09 dmcmahill Exp $
 
-SHA1 (covered-20040211.tar.gz) = 853b73f7dd73bef9cbdb21d0603eddd97e46532f
-Size (covered-20040211.tar.gz) = 750925 bytes
+SHA1 (covered-20040325.tar.gz) = 6bfa1a9c377cb1ae61364cfd5f3db57396cea16c
+Size (covered-20040325.tar.gz) = 764013 bytes
+SHA1 (patch-aa) = 0ffd830e411c00d5fa1776f14e949362b2d2980f
+SHA1 (patch-ab) = 6dbade601b82b67f8bd00cdc859d6c7766e771b6
+SHA1 (patch-ac) = 0312e60734890c4e2b1da07ac3346cba6151dd5e
diff -r c8eb1012752f -r ec5bd29f16df cad/covered-current/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/covered-current/patches/patch-aa      Sat Nov 27 17:52:09 2004 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.3 2004/11/27 17:52:09 dmcmahill Exp $
+
+--- doc/Makefile.orig  Sun Aug 17 03:13:41 2003
++++ doc/Makefile
+@@ -1,13 +1,13 @@
+ all:
+       - doxygen covered.dox
+-      - cd ./user; make all
++      - cd ./user; ${MAKE} all
+ 
+ install:
+-      - cd ./user; make install
++      - cd ./user; ${MAKE} install
+ 
+ uninstall:
+-      - cd ./user; make uninstall
++      - cd ./user; ${MAKE} uninstall
+ 
+ clean:
+       rm -rf ./devel/html ./devel/latex
+-      - cd ./user; make clean
++      - cd ./user; ${MAKE} clean
diff -r c8eb1012752f -r ec5bd29f16df cad/covered-current/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/covered-current/patches/patch-ab      Sat Nov 27 17:52:09 2004 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-ab,v 1.3 2004/11/27 17:52:09 dmcmahill Exp $
+
+--- configure.in.orig  Thu Mar 25 14:40:32 2004
++++ configure.in
+@@ -18,6 +18,26 @@ then
+       exit 1
+ fi
+ 
++AC_PATH_PROG(TCLCONFIG, tclConfig.sh)
++if test "X$TCLCONFIG" = "X" ; then
++      AC_ERROR([Could not find tclConfig.sh])
++else
++      . $TCLCONFIG
++fi
++AC_MSG_CHECKING([For libraries needed by tcl])
++AC_MSG_RESULT([TCL_LIBS])
++
++AC_PATH_PROG(TKCONFIG, tkConfig.sh)
++if test "X$TKCONFIG" = "X" ; then
++      AC_ERROR([Could not find tkConfig.sh])
++else
++      . $TKCONFIG
++fi
++AC_MSG_CHECKING([For libraries needed by tk])
++AC_MSG_RESULT([TK_LIBS])
++
++LIBS="$LIBS $TCL_LIBS $TK_LIBS"
++
+ dnl Checks for libraries.
+ AC_CHECK_LIB(tcl, Tcl_Init)
+ AC_CHECK_LIB(tk, Tk_SafeInit)
diff -r c8eb1012752f -r ec5bd29f16df cad/covered-current/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/covered-current/patches/patch-ac      Sat Nov 27 17:52:09 2004 +0000
@@ -0,0 +1,7973 @@
+$NetBSD: patch-ac,v 1.3 2004/11/27 17:52:09 dmcmahill Exp $
+
+--- configure.orig     Thu Mar 25 14:40:32 2004
++++ configure
+@@ -1,26 +1,325 @@
+ #! /bin/sh
+-
+ # Guess values for system-dependent variables and create Makefiles.
+-# Generated automatically using autoconf version 2.13 
+-# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
++# Generated by GNU Autoconf 2.59.
+ #
++# Copyright (C) 2003 Free Software Foundation, Inc.
+ # This configure script is free software; the Free Software Foundation
+ # gives unlimited permission to copy, distribute and modify it.
++## --------------------- ##
++## M4sh Initialization.  ##
++## --------------------- ##
++
++# Be Bourne compatible
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
++  emulate sh
++  NULLCMD=:
++  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
++  # is contrary to our usage.  Disable this feature.
++  alias -g '${1+"$@"}'='"$@"'
++elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
++  set -o posix
++fi
++DUALCASE=1; export DUALCASE # for MKS sh
++
++# Support unset when possible.
++if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
++  as_unset=unset
++else
++  as_unset=false
++fi
++
++
++# Work around bugs in pre-3.0 UWIN ksh.
++$as_unset ENV MAIL MAILPATH
++PS1='$ '
++PS2='> '
++PS4='+ '
++
++# NLS nuisances.
++for as_var in \
++  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
++  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
++  LC_TELEPHONE LC_TIME
++do
++  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
++    eval $as_var=C; export $as_var
++  else
++    $as_unset $as_var
++  fi
++done
++
++# Required to use basename.
++if expr a : '\(a\)' >/dev/null 2>&1; then
++  as_expr=expr
++else
++  as_expr=false
++fi
++
++if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
++  as_basename=basename
++else
++  as_basename=false
++fi
++
++
++# Name of the executable.
++as_me=`$as_basename "$0" ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++       X"$0" : 'X\(//\)$' \| \
++       X"$0" : 'X\(/\)$' \| \
++       .     : '\(.\)' 2>/dev/null ||
++echo X/"$0" |
++    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
++        /^X\/\(\/\/\)$/{ s//\1/; q; }
++        /^X\/\(\/\).*/{ s//\1/; q; }
++        s/.*/./; q'`
++
++
++# PATH needs CR, and LINENO needs CR and PATH.
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++  echo "#! /bin/sh" >conf$$.sh
++  echo  "exit 0"   >>conf$$.sh
++  chmod +x conf$$.sh
++  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
++    PATH_SEPARATOR=';'
++  else
++    PATH_SEPARATOR=:
++  fi
++  rm -f conf$$.sh
++fi
++
++
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
++  # Find who we are.  Look in the path if we contain no path at all
++  # relative or not.
++  case $0 in
++    *[\\/]* ) as_myself=$0 ;;
++    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++done
++
++       ;;
++  esac
++  # We did not find ourselves, most probably we were run as `sh COMMAND'
++  # in which case we are not to be found in the path.
++  if test "x$as_myself" = x; then
++    as_myself=$0
++  fi
++  if test ! -f "$as_myself"; then
++    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
++   { (exit 1); exit 1; }; }
++  fi
++  case $CONFIG_SHELL in
++  '')
++    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for as_base in sh bash ksh sh5; do
++       case $as_dir in
++       /*)
++         if ("$as_dir/$as_base" -c '
++  as_lineno_1=$LINENO
++  as_lineno_2=$LINENO
++  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
++  test "x$as_lineno_1" != "x$as_lineno_2" &&
++  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
++           $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
++           $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
++           CONFIG_SHELL=$as_dir/$as_base
++           export CONFIG_SHELL
++           exec "$CONFIG_SHELL" "$0" ${1+"$@"}
++         fi;;
++       esac
++       done
++done
++;;
++  esac
++
++  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
++  # uniformly replaced by the line number.  The first 'sed' inserts a
++  # line-number line before each line; the second 'sed' does the real



Home | Main Index | Thread Index | Old Index