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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.7/] [tools/] [tcl/] [tst_rlink/] [test_all.tcl] - Blame information for rev 33

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 28 wfjm
# $Id: test_all.tcl 618 2014-12-21 23:05:48Z mueller $
2 10 wfjm
#
3 27 wfjm
# Copyright 2011-2014 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4 10 wfjm
#
5
# This program is free software; you may redistribute and/or modify it under
6
# the terms of the GNU General Public License as published by the Free
7
# Software Foundation, either version 2, or at your option any later version.
8
#
9
# This program is distributed in the hope that it will be useful, but
10
# WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
11
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12
# for complete details.
13
#
14
#  Revision History:
15
# Date         Rev Version  Comment
16 27 wfjm
# 2014-11-09   603   2.0    use rlink v4 address layout and iface
17 18 wfjm
# 2013-01-04   469   1.0.2  move rbemon tests from test_all to test_all_emon
18 11 wfjm
# 2011-04-17   376   1.0.1  add rbemon::test_rbtest_sim  (if in sum mode)
19 10 wfjm
# 2011-04-02   375   1.0    Initial version
20
# 2011-03-26   373   0.1    First draft
21
#
22
 
23
package provide tst_rlink 1.0
24
 
25
package require rbtest
26
package require rbmoni
27
 
28
namespace eval tst_rlink {
29
  #
30
  # Driver for all tst_rlink tests
31
  #
32
  proc test_all {} {
33
    #
34
    set errcnt 0
35 27 wfjm
    incr errcnt [rbtest::test_all 0xf 0xfffc]
36 28 wfjm
    incr errcnt [rbmoni::test_regs]
37
    incr errcnt [rbmoni::test_rbtest]
38 18 wfjm
 
39
    puts "tst_rlink::test_all errcnt = $errcnt --> [rutil::errcnt2txt $errcnt]"
40
 
41
    return $errcnt
42
  }
43
  #
44
  # Driver for emon based tst_rlink tests
45
  #
46
  proc test_all_emon {} {
47
    #
48
    set errcnt 0
49 10 wfjm
    incr errcnt [rbemon::test_regs]
50 11 wfjm
    if {[rlink::issim]} {
51
      incr errcnt [rbemon::test_rbtest_sim]
52
    }
53 10 wfjm
 
54 18 wfjm
    puts "tst_rlink::test_all_emon errcnt = $errcnt --> [rutil::errcnt2txt $errcnt]"
55 10 wfjm
 
56
    return $errcnt
57
  }
58
}

powered by: WebSVN 2.1.0

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