-
Notifications
You must be signed in to change notification settings - Fork 15
/
StartUpYamlMockReports.tcl
119 lines (104 loc) · 5.17 KB
/
StartUpYamlMockReports.tcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# File Name: NoYamlPackage.tcl
# Purpose: Provides handling when YAML packages are not available
# Revision: OSVVM MODELS STANDARD VERSION
#
# Maintainer: Jim Lewis email: [email protected]
# Contributor(s):
# Jim Lewis email: [email protected]
#
# Description
# Called when YAML packages are missing.
# Provides implementations of Report2Html, Report2Junit,
# GenerateSimulationReports, Cov2Html, Alert2Html
# that generate error messages and provide information on
# how to load the tcl library.
#
# Developed by:
# SynthWorks Design Inc.
# VHDL Training Classes
# OSVVM Methodology and Model Library
# 11898 SW 128th Ave. Tigard, Or 97223
# http://www.SynthWorks.com
#
# Revision History:
# Date Version Description
# 05/2024 2024.05 Updated name. Updated for refactoring
# 12/2021 2021.12 Fixed name for Simulate2Html
# 10/2021 Initial Initial Revision
#
#
# This file is part of OSVVM.
#
# Copyright (c) 2021 - 2024 by SynthWorks Design Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
namespace eval ::osvvm {
variable GotYaml 0
variable YamlErrorSignaled 0
proc CreateBuildReports {args} {
puts "To generate OSVVM Build Report HTML and JUnit files, please install TCL yaml package from Tcllib"
puts "See https://core.tcl-lang.org/tcllib/doc/trunk/embedded/md/tcllib/files/devdoc/tcllib_sources.md"
}
proc ReportBuildYaml2Dict {args} {
puts "To generate OSVVM Build Report HTML files, please install TCL yaml package from Tcllib"
puts "See https://core.tcl-lang.org/tcllib/doc/trunk/embedded/md/tcllib/files/devdoc/tcllib_sources.md"
}
proc ReportBuildDict2Html {args} {
puts "To generate OSVVM Build Report HTML files, please install TCL yaml package from Tcllib"
puts "See https://core.tcl-lang.org/tcllib/doc/trunk/embedded/md/tcllib/files/devdoc/tcllib_sources.md"
}
proc ReportBuildDict2Junit {args} {
puts "To generate OSVVM Build Report JUnit XML CI Results files, please install TCL yaml package from Tcllib"
puts "See https://core.tcl-lang.org/tcllib/doc/trunk/embedded/md/tcllib/files/devdoc/tcllib_sources.md"
}
proc Report2Html {args} {
puts "To generate OSVVM Build Report HTML files, please install TCL yaml package from Tcllib"
puts "See https://core.tcl-lang.org/tcllib/doc/trunk/embedded/md/tcllib/files/devdoc/tcllib_sources.md"
}
proc Report2Junit {args} {
puts "To generate OSVVM Build Report JUnit XML CI Results files, please install TCL yaml package from Tcllib"
puts "See https://core.tcl-lang.org/tcllib/doc/trunk/embedded/md/tcllib/files/devdoc/tcllib_sources.md"
}
proc Simulate2Html {args} {
puts "To generate OSVVM Test Case HTML files, please install TCL yaml package from Tcllib"
puts "See https://core.tcl-lang.org/tcllib/doc/trunk/embedded/md/tcllib/files/devdoc/tcllib_sources.md"
}
proc Cov2Html {args} {
puts "To generate OSVVM Test Case Coverage HTML files, please install TCL yaml package from Tcllib"
puts "See https://core.tcl-lang.org/tcllib/doc/trunk/embedded/md/tcllib/files/devdoc/tcllib_sources.md"
}
proc Alert2Html {args} {
puts "To generate OSVVM Test Case Alert HTML files, please install TCL yaml package from Tcllib"
puts "See https://core.tcl-lang.org/tcllib/doc/trunk/embedded/md/tcllib/files/devdoc/tcllib_sources.md"
}
proc MergeRequirements {args} {
puts "To generate OSVVM Requirements HTML files, please install TCL yaml package from Tcllib"
puts "See https://core.tcl-lang.org/tcllib/doc/trunk/embedded/md/tcllib/files/devdoc/tcllib_sources.md"
}
proc Requirements2Html {args} {
puts "To generate OSVVM Requirements HTML files, please install TCL yaml package from Tcllib"
puts "See https://core.tcl-lang.org/tcllib/doc/trunk/embedded/md/tcllib/files/devdoc/tcllib_sources.md"
}
proc Requirements2Csv {args} {
puts "To generate OSVVM Requirements CSV files, please install TCL yaml package from Tcllib"
puts "See https://core.tcl-lang.org/tcllib/doc/trunk/embedded/md/tcllib/files/devdoc/tcllib_sources.md"
}
proc ReportBuildStatus {args} {
puts "To generate OSVVM Build Status Mini-Report Text Report (in simulator console), please install TCL yaml package from Tcllib"
puts "See https://core.tcl-lang.org/tcllib/doc/trunk/embedded/md/tcllib/files/devdoc/tcllib_sources.md"
}
namespace export Simulate2Html Cov2Html Alert2Html Scoreboard2Html MergeRequirements Requirements2Html Requirements2Csv
namespace export CreateBuildReports ReportBuildYaml2Dict ReportBuildDict2Html ReportBuildDict2Junit Report2Html Report2Junit
# end namespace ::osvvm
}