~ubuntu-branches/ubuntu/trusty/dejagnu/trusty-proposed

« back to all changes in this revision

Viewing changes to doc/html/x1551.html

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Jacobowitz
  • Date: 2004-02-09 15:07:58 UTC
  • Revision ID: james.westby@ubuntu.com-20040209150758-oaj7r5zrop60v8sb
Tags: upstream-1.4.4
ImportĀ upstreamĀ versionĀ 1.4.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
 
2
<HTML
 
3
><HEAD
 
4
><TITLE
 
5
>Special variables used by test cases.</TITLE
 
6
><META
 
7
NAME="GENERATOR"
 
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
 
9
"><LINK
 
10
REL="HOME"
 
11
TITLE="DejaGnu"
 
12
HREF="book1.html"><LINK
 
13
REL="UP"
 
14
TITLE="Extending DejaGnu"
 
15
HREF="c1099.html"><LINK
 
16
REL="PREVIOUS"
 
17
TITLE="Hints On Writing A Test Case"
 
18
HREF="x1522.html"><LINK
 
19
REL="NEXT"
 
20
TITLE="Unit Testing"
 
21
HREF="c1584.html"></HEAD
 
22
><BODY
 
23
CLASS="SECT1"
 
24
BGCOLOR="#FFFFFF"
 
25
TEXT="#000000"
 
26
LINK="#0000FF"
 
27
VLINK="#840084"
 
28
ALINK="#0000FF"
 
29
><DIV
 
30
CLASS="NAVHEADER"
 
31
><TABLE
 
32
SUMMARY="Header navigation table"
 
33
WIDTH="100%"
 
34
BORDER="0"
 
35
CELLPADDING="0"
 
36
CELLSPACING="0"
 
37
><TR
 
38
><TH
 
39
COLSPAN="3"
 
40
ALIGN="center"
 
41
>DejaGnu: The GNU Testing Framework</TH
 
42
></TR
 
43
><TR
 
44
><TD
 
45
WIDTH="10%"
 
46
ALIGN="left"
 
47
VALIGN="bottom"
 
48
><A
 
49
HREF="x1522.html"
 
50
ACCESSKEY="P"
 
51
>&#60;&#60;&#60; Previous</A
 
52
></TD
 
53
><TD
 
54
WIDTH="80%"
 
55
ALIGN="center"
 
56
VALIGN="bottom"
 
57
>Extending DejaGnu</TD
 
58
><TD
 
59
WIDTH="10%"
 
60
ALIGN="right"
 
61
VALIGN="bottom"
 
62
><A
 
63
HREF="c1584.html"
 
64
ACCESSKEY="N"
 
65
>Next &#62;&#62;&#62;</A
 
66
></TD
 
67
></TR
 
68
></TABLE
 
69
><HR
 
70
ALIGN="LEFT"
 
71
WIDTH="100%"></DIV
 
72
><DIV
 
73
CLASS="SECT1"
 
74
><H1
 
75
CLASS="SECT1"
 
76
><A
 
77
NAME="TVARIABLES"
 
78
></A
 
79
>Special variables used by test cases.</H1
 
80
><P
 
81
>There are special variables used by test cases. These contain
 
82
      other information from DejaGnu. Your test cases can use these variables,
 
83
      with conventional meanings (as well as the variables saved in
 
84
      <TT
 
85
CLASS="FILENAME"
 
86
>site.exp</TT
 
87
>. You can use the value of these variables,
 
88
      but they should never be changed.</P
 
89
><P
 
90
></P
 
91
><DIV
 
92
CLASS="VARIABLELIST"
 
93
><DL
 
94
><DT
 
95
>$prms_id</DT
 
96
><DD
 
97
><P
 
98
>The tracking system (e.g. GNATS) number identifying
 
99
            a corresponding bugreport.  (<I
 
100
CLASS="EMPHASIS"
 
101
>0</I
 
102
>} if you do not
 
103
            specify it in the test script.)</P
 
104
></DD
 
105
><DT
 
106
>$item bug_id</DT
 
107
><DD
 
108
><P
 
109
>An optional bug id; may reflect a bug
 
110
            identification from another organization.  (<I
 
111
CLASS="EMPHASIS"
 
112
>0</I
 
113
>
 
114
            if you do not specify it.)</P
 
115
></DD
 
116
><DT
 
117
>$subdir</DT
 
118
><DD
 
119
><P
 
120
>The subdirectory for the current test
 
121
            case.</P
 
122
></DD
 
123
><DT
 
124
>$expect_out(buffer)</DT
 
125
><DD
 
126
><P
 
127
>The output from the last command. This is an
 
128
            internal variable set by Expect. More information can be found in
 
129
            the Expect manual.</P
 
130
></DD
 
131
><DT
 
132
>$exec_output</DT
 
133
><DD
 
134
><P
 
135
>This is the output from a
 
136
            <TT
 
137
CLASS="FUNCTION"
 
138
>${tool}_load</TT
 
139
> command. This only applies to
 
140
            tools like GCC and GAS which produce an object file that must in
 
141
            turn be executed to complete a test.</P
 
142
></DD
 
143
><DT
 
144
>$comp_output</DT
 
145
><DD
 
146
><P
 
147
>This is the output from a
 
148
            <TT
 
149
CLASS="FUNCTION"
 
150
>${tool}_start</TT
 
151
> command.  This is conventionally
 
152
            used for batch oriented programs, like GCC and GAS, that may
 
153
            produce interesting output (warnings, errors) without further
 
154
            interaction.</P
 
155
></DD
 
156
></DL
 
157
></DIV
 
158
></DIV
 
159
><DIV
 
160
CLASS="NAVFOOTER"
 
161
><HR
 
162
ALIGN="LEFT"
 
163
WIDTH="100%"><TABLE
 
164
SUMMARY="Footer navigation table"
 
165
WIDTH="100%"
 
166
BORDER="0"
 
167
CELLPADDING="0"
 
168
CELLSPACING="0"
 
169
><TR
 
170
><TD
 
171
WIDTH="33%"
 
172
ALIGN="left"
 
173
VALIGN="top"
 
174
><A
 
175
HREF="x1522.html"
 
176
ACCESSKEY="P"
 
177
>&#60;&#60;&#60; Previous</A
 
178
></TD
 
179
><TD
 
180
WIDTH="34%"
 
181
ALIGN="center"
 
182
VALIGN="top"
 
183
><A
 
184
HREF="book1.html"
 
185
ACCESSKEY="H"
 
186
>Home</A
 
187
></TD
 
188
><TD
 
189
WIDTH="33%"
 
190
ALIGN="right"
 
191
VALIGN="top"
 
192
><A
 
193
HREF="c1584.html"
 
194
ACCESSKEY="N"
 
195
>Next &#62;&#62;&#62;</A
 
196
></TD
 
197
></TR
 
198
><TR
 
199
><TD
 
200
WIDTH="33%"
 
201
ALIGN="left"
 
202
VALIGN="top"
 
203
>Hints On Writing A Test Case</TD
 
204
><TD
 
205
WIDTH="34%"
 
206
ALIGN="center"
 
207
VALIGN="top"
 
208
><A
 
209
HREF="c1099.html"
 
210
ACCESSKEY="U"
 
211
>Up</A
 
212
></TD
 
213
><TD
 
214
WIDTH="33%"
 
215
ALIGN="right"
 
216
VALIGN="top"
 
217
>Unit Testing</TD
 
218
></TR
 
219
></TABLE
 
220
></DIV
 
221
></BODY
 
222
></HTML
 
223
>
 
 
b'\\ No newline at end of file'