OpenCores
URL https://opencores.org/ocsvn/w11/w11/trunk

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.61/] [tools/] [tcl/] [rbtest/] [test_all.tcl] - Diff between revs 10 and 26

Only display areas with differences | Details | Blame | View Log

Rev 10 Rev 26
# $Id: test_all.tcl 375 2011-04-02 07:56:47Z mueller $
# $Id: test_all.tcl 375 2011-04-02 07:56:47Z mueller $
#
#
# Copyright 2011- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
# Copyright 2011- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
#
#
# This program is free software; you may redistribute and/or modify it under
# This program is free software; you may redistribute and/or modify it under
# the terms of the GNU General Public License as published by the Free
# the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 2, or at your option any later version.
# Software Foundation, either version 2, or at your option any later version.
#
#
# This program is distributed in the hope that it will be useful, but
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
# WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for complete details.
# for complete details.
#
#
#  Revision History:
#  Revision History:
# Date         Rev Version  Comment
# Date         Rev Version  Comment
# 2011-03-27   374   1.0    Initial version
# 2011-03-27   374   1.0    Initial version
# 2011-03-13   369   0.1    First draft
# 2011-03-13   369   0.1    First draft
#
#
 
 
package provide rbtest 1.0
package provide rbtest 1.0
 
 
namespace eval rbtest {
namespace eval rbtest {
  #
  #
  # Driver for all rbtest tests
  # Driver for all rbtest tests
  #
  #
  proc test_all {{statmsk 0x0} {attnmsk 0x0}} {
  proc test_all {{statmsk 0x0} {attnmsk 0x0}} {
    #
    #
    set errcnt 0
    set errcnt 0
    incr errcnt [rbtest::test_data]
    incr errcnt [rbtest::test_data]
    incr errcnt [rbtest::test_fifo]
    incr errcnt [rbtest::test_fifo]
    incr errcnt [rbtest::test_stat $statmsk]
    incr errcnt [rbtest::test_stat $statmsk]
    incr errcnt [rbtest::test_attn $attnmsk]
    incr errcnt [rbtest::test_attn $attnmsk]
    return $errcnt
    return $errcnt
  }
  }
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.