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

Subversion Repositories w11

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 18 wfjm
# $Id: test_all.tcl 469 2013-01-05 12:29:44Z mueller $
2 10 wfjm
#
3
# Copyright 2011- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4
#
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 18 wfjm
# 2013-01-04   469   1.0.2  move rbemon tests from test_all to test_all_emon
17 11 wfjm
# 2011-04-17   376   1.0.1  add rbemon::test_rbtest_sim  (if in sum mode)
18 10 wfjm
# 2011-04-02   375   1.0    Initial version
19
# 2011-03-26   373   0.1    First draft
20
#
21
 
22
package provide tst_rlink 1.0
23
 
24
package require rbtest
25
package require rbmoni
26
 
27
namespace eval tst_rlink {
28
  #
29
  # Driver for all tst_rlink tests
30
  #
31
  proc test_all {} {
32
    #
33
    set errcnt 0
34
    incr errcnt [rbtest::test_all 0x7 0xfffc]
35
    incr errcnt [rbmoni::test_regs]
36
    incr errcnt [rbmoni::test_rbtest]
37 18 wfjm
 
38
    puts "tst_rlink::test_all errcnt = $errcnt --> [rutil::errcnt2txt $errcnt]"
39
 
40
    return $errcnt
41
  }
42
  #
43
  # Driver for emon based tst_rlink tests
44
  #
45
  proc test_all_emon {} {
46
    #
47
    set errcnt 0
48 10 wfjm
    incr errcnt [rbemon::test_regs]
49 11 wfjm
    if {[rlink::issim]} {
50
      incr errcnt [rbemon::test_rbtest_sim]
51
    }
52 10 wfjm
 
53 18 wfjm
    puts "tst_rlink::test_all_emon errcnt = $errcnt --> [rutil::errcnt2txt $errcnt]"
54 10 wfjm
 
55
    return $errcnt
56
  }
57
}

powered by: WebSVN 2.1.0

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