Skip to content

Commit ed67985

Browse files
author
Stefan Reinauer
committed
commit testlogs
git-svn-id: svn://coreboot.org/openbios/fcode-utils@110 f158a5a8-5612-0410-a976-696ce0be7e32
1 parent 83d5fb4 commit ed67985

2,178 files changed

Lines changed: 704452 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Automated Test Arguments file for TokBrack category
2+
# (That's short for "Tokenizer Bracket";
3+
# it refers to the Tokenizer Escape state.)
4+
5+
# Valid lines have four comma-separated fields:
6+
# Test-file base-name
7+
# Result-file label
8+
# Extra command-line switches
9+
# A script-command with arguments (but no commas).
10+
# Lines that have no label, no switches, and no script
11+
# do not need any commas.
12+
13+
# Updated Wed, 11 Oct 2006 at 24:44 PDT by David L. Paktor
14+
15+
# Might as well get the date-and-time one out of the way first...
16+
TokBrkTst_02 , , -i -l
17+
TokBrkTst_01 , , -i
18+
TokBrkTst_01 , alwyshdr , -i -f ALWays-heADers
19+
TokBrkTst_03
20+
TokBrkErrTst_01 , , -i
21+
TokBrkTst_04 , , -i -T pele_yoetz_ne-ema-an_anochi_hu_ha-omer_v-oseh_v-ain_c-moni_bchol_ha_aretz -T whatsis
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
\ Welcome to detok - OpenBIOS detokenizer v1.0.2
2+
\ (C) Copyright 2001-2006 Stefan Reinauer.
3+
\ (C) Copyright 2006 coresystems GmbH <info@coresystems.de>
4+
\ (C) Copyright 2005 IBM Corporation. All Rights Reserved.
5+
\ Written by Stefan Reinauer, <stepan@openbios.org>
6+
\ This program is free software; you may redistribute it under the terms of
7+
\ the GNU General Public License v2. This program has absolutely no warranty.
8+
\
9+
0: start1 ( 0x0f1 ) ( 16-bit offsets)
10+
1: format: 0x08
11+
2: checksum: 0x29b1 (Ok)
12+
4: len: 0x00a0 ( 160 bytes)
13+
8: b(lit) ( 0x010 ) 0x30
14+
13: b(lit) ( 0x010 ) 0x100a0810
15+
18: lcc ( 0x082 )
16+
19: b(lit) ( 0x010 ) 0x32
17+
24: named-token ( 0x0b6 ) gummidge 0x802
18+
36: b(constant) ( 0x0ba )
19+
37: b(lit) ( 0x010 ) 0x30
20+
42: b(lit) ( 0x010 ) 0x100
21+
47: named-token ( 0x0b6 ) pele_yoetz_ne'ema'an_anochi_hu_ha'omer_v'oseh_v'ain_c'moni_bchol_ha_aretz 0x803
22+
124: b(constant) ( 0x0ba )
23+
125: pele_yoetz_ne'ema'an_anochi_hu_ha'omer_v'oseh_v'ain_c'moni_bchol_ha_aretz ( 0x803 )
24+
127: 2 ( 0x0a7 )
25+
128: * ( 0x020 )
26+
129: named-token ( 0x0b6 ) clone 0x804
27+
138: b(constant) ( 0x0ba )
28+
139: b(lit) ( 0x010 ) 0x30141020
29+
144: b(lit) ( 0x010 ) 0x0
30+
149: b(lit) ( 0x010 ) 0x0
31+
154: b(lit) ( 0x010 ) 0x805
32+
159: end0 ( 0x000 )
33+
\ Detokenization finished normally after 160 bytes.
34+
End of file.
35+
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
toke -v -i TokBrkErrTst_01.fth
2+
3+
Welcome to toke - OpenBIOS tokenizer v1.0.2
4+
(C) Copyright 2001-2006 Stefan Reinauer.
5+
(C) Copyright 2006 coresystems GmbH <info@coresystems.de>
6+
(C) Copyright 2005 IBM Corporation. All Rights Reserved.
7+
This program is free software; you may redistribute it under the terms of
8+
the GNU General Public License v2. This program has absolutely no warranty.
9+
10+
Tokenizer Compiled on PPC under AIX Level 5.3.0.0
11+
Mon, 23 Oct 2006 at 13:17:54 CDT
12+
13+
Tokenizing TokBrkErrTst_01.fth Binary output to TokBrkErrTst_01.fc
14+
Advisory: File TokBrkErrTst_01.fth, Line 4. FCODE-VERSION2 encountered; processing...
15+
Error: File TokBrkErrTst_01.fth, Line 8. (Output Position = 13). The word emit-byte is only recognized in tokenizer-escape mode.
16+
Error: File TokBrkErrTst_01.fth, Line 11. (Output Position = 13). Word rummidge is not in dictionary.
17+
Advisory: File TokBrkErrTst_01.fth, Line 17. (Output Position = 18). FCode-token Assignment Counter was 0x800; has been advanced to 0x802.
18+
Error: File TokBrkErrTst_01.fth, Line 18. (Output Position = 18). Attempt to set next fcode to 0x1020, which violates limit specified by IEEE-1275. Disallowing.
19+
Warning: File TokBrkErrTst_01.fth, Line 19. (Output Position = 18). Value on stack for EMIT-BYTE command is 0x3682. Truncating to 0x82.
20+
Error: File TokBrkErrTst_01.fth, Line 23. (Output Position = 37). The word gummidge is not recognized in tokenizer-escape mode.
21+
Advisory: File TokBrkErrTst_01.fth, Line 23. (Output Position = 37). gummidge is defined as a CONSTANT in the top-level device-node, which began on line 4
22+
Error: File TokBrkErrTst_01.fth, Line 24. (Output Position = 37). Word rummidge is not in dictionary.
23+
Error: File TokBrkErrTst_01.fth, Line 26. (Output Position = 42). The word emit-byte is only recognized in tokenizer-escape mode.
24+
Error: File TokBrkErrTst_01.fth, Line 28. (Output Position = 47). ANSI Forth does not permit definition of names longer than 31 characters.
25+
Error: File TokBrkErrTst_01.fth, Line 34. (Output Position = 140). stack underflow at or near swap
26+
Error: File TokBrkErrTst_01.fth, Line 43. (Output Position = 144). The word poopoo is only recognized in tokenizer-escape mode.
27+
Error: File TokBrkErrTst_01.fth, Line 44. (Output Position = 144). The word moopoo is only recognized in tokenizer-escape mode.
28+
Error: File TokBrkErrTst_01.fth, Line 46. (Output Position = 144). Word merde is not in dictionary.
29+
Error: File TokBrkErrTst_01.fth, Line 46. (Output Position = 144). stack underflow at or near fliteral
30+
Error: File TokBrkErrTst_01.fth, Line 48. (Output Position = 149). Word couterde is not in dictionary.
31+
Error: File TokBrkErrTst_01.fth, Line 48. (Output Position = 149). stack underflow at or near fliteral
32+
Advisory: File TokBrkErrTst_01.fth, Line 51. (Output Position = 154). FCode-token Assignment Counter of 0x805 has been saved on stack.
33+
Warning: File TokBrkErrTst_01.fth, Line 54. (Output Position = 159). Value on stack for FCODE-POP command is 0x46696e6b. Truncating to 0x6e6b.
34+
Error: File TokBrkErrTst_01.fth, Line 54. (Output Position = 159). Attempt to set next fcode to 0x6e6b, which violates limit specified by IEEE-1275. Disallowing.
35+
Advisory: File TokBrkErrTst_01.fth, Line 57. (Output Position = 159). END0 encountered; processing...
36+
toke: checksum is 0x29b1 (160 bytes). FCodes assigned: 0x802 to 0x804
37+
Tokenization Completed. 15 Errors, 2 Warnings, 5 Advisories.
38+
Error-detection over-ridden; producing binary output.
39+
toke: wrote 160 bytes to bytecode file 'TokBrkErrTst_01.fc'
160 Bytes
Binary file not shown.
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
\ Test of tokenizer[ ]tokenizer scope Error-Detection
2+
\ Updated Fri, 17 Feb 2006 at 10:15 PST by David L. Paktor
3+
4+
fcode-version2
5+
6+
headers
7+
h# 30
8+
emit-byte
9+
hex
10+
tokenizer[
11+
rummidge
12+
10 emit-byte
13+
10 emit-byte
14+
d# 10 emit-byte
15+
o# 10 emit-byte
16+
h# 10 emit-byte
17+
802 next-fcode
18+
h# 1020 next-fcode
19+
h# 3682 emit-byte
20+
]tokenizer
21+
decimal 50 constant gummidge
22+
hex
23+
tokenizer[ gummidge
24+
rummidge
25+
]tokenizer
26+
h# 30 emit-byte
27+
28+
100 constant pele_yoetz_ne'ema'an_anochi_hu_ha'omer_v'oseh_v'ain_c'moni_bchol_ha_aretz
29+
30+
pele_yoetz_ne'ema'an_anochi_hu_ha'omer_v'oseh_v'ain_c'moni_bchol_ha_aretz 2 * constant clone
31+
32+
b(lit)
33+
tokenizer[
34+
30 swap emit-byte
35+
d# 20 emit-byte
36+
o# 20 emit-byte
37+
h# 20 emit-byte
38+
]tokenizer
39+
tokenizer[
40+
h# defeca8e constant poopoo
41+
h# beeffece constant moopoo
42+
]tokenizer
43+
alias merde poopoo
44+
alias couterde moopoo
45+
tokenizer[
46+
merde fliteral
47+
]tokenizer
48+
couterde fliteral
49+
50+
tokenizer[
51+
fcode-push
52+
fliteral
53+
a# Fink
54+
fcode-pop
55+
]tokenizer
56+
57+
end0
58+
59+
60+
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
\ Welcome to detok - OpenBIOS detokenizer v1.0.2
2+
\ (C) Copyright 2001-2006 Stefan Reinauer.
3+
\ (C) Copyright 2006 coresystems GmbH <info@coresystems.de>
4+
\ (C) Copyright 2005 IBM Corporation. All Rights Reserved.
5+
\ Written by Stefan Reinauer, <stepan@openbios.org>
6+
\ This program is free software; you may redistribute it under the terms of
7+
\ the GNU General Public License v2. This program has absolutely no warranty.
8+
\
9+
0: start1 ( 0x0f1 ) ( 16-bit offsets)
10+
1: format: 0x08
11+
2: checksum: 0x51ae (Ok)
12+
4: len: 0x0117 ( 279 bytes)
13+
8: b(lit) ( 0x010 ) 0x100a0810
14+
13: b(lit) ( 0x010 ) 0x64
15+
18: named-token ( 0x0b6 ) pele_yoetz_ne'ema'an_anochi_hu_ha'omer_v'oseh_v'ain_c'moni_bchol_ha_aretz 0x800
16+
95: b(constant) ( 0x0ba )
17+
96: pele_yoetz_ne'ema'an_anochi_hu_ha'omer_v'oseh_v'ain_c'moni_bchol_ha_aretz ( 0x800 )
18+
98: 2 ( 0x0a7 )
19+
99: * ( 0x020 )
20+
100: named-token ( 0x0b6 ) clone 0x801
21+
109: b(constant) ( 0x0ba )
22+
110: b(lit) ( 0x010 ) 0xc
23+
115: c, ( 0x0d0 )
24+
116: b(lit) ( 0x010 ) 0x12
25+
121: l, ( 0x0d2 )
26+
122: b(lit) ( 0x010 ) 0xc
27+
127: c, ( 0x0d0 )
28+
128: named-token ( 0x0b6 ) yuttzer 0x802
29+
139: b(:) ( 0x0b7 )
30+
140: b(lit) ( 0x010 ) 0xe
31+
145: b(lit) ( 0x010 ) 0x14
32+
150: b(lit) ( 0x010 ) 0x14
33+
155: b(lit) ( 0x010 ) 0xe
34+
160: b(;) ( 0x0c2 )
35+
161: b(lit) ( 0x010 ) 0x80
36+
166: new-token ( 0x0b5 ) 0x803
37+
169: b(constant) ( 0x0ba )
38+
170: named-token ( 0x0b6 ) brand-x-ice-cream 0x804
39+
191: b(:) ( 0x0b7 )
40+
192: pele_yoetz_ne'ema'an_anochi_hu_ha'omer_v'oseh_v'ain_c'moni_bchol_ha_aretz ( 0x800 )
41+
194: dup ( 0x047 )
42+
195: b(lit) ( 0x010 ) 0x20
43+
200: - ( 0x01f )
44+
201: b(do) ( 0x017 ) 0x0007 ( dest = 209 )
45+
204: i ( 0x019 )
46+
205: . ( 0x09d )
47+
206: b(loop) ( 0x015 ) 0xfffd ( =dec -3 dest = 204 )
48+
209: cr ( 0x092 )
49+
210: b(") ( 0x012 ) ( len=0xf [15 bytes] )
50+
" Nameless one..."
51+
227: type ( 0x090 )
52+
228: (unnamed-fcode) [0x803]
53+
230: b(") ( 0x012 ) ( len=7 )
54+
" equals "
55+
239: type ( 0x090 )
56+
240: . ( 0x09d )
57+
241: cr ( 0x092 )
58+
242: b(") ( 0x012 ) ( len=0x16 [22 bytes] )
59+
" But everyone likes an "
60+
266: type ( 0x090 )
61+
267: b(lit) ( 0x010 ) 0x1cec6ea3
62+
272: . ( 0x09d )
63+
273: clone ( 0x801 )
64+
275: . ( 0x09d )
65+
276: cr ( 0x092 )
66+
277: b(;) ( 0x0c2 )
67+
278: end0 ( 0x000 )
68+
\ Detokenization finished normally after 279 bytes.
69+
End of file.
70+
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
toke -v -i TokBrkTst_01.fth
2+
3+
Welcome to toke - OpenBIOS tokenizer v1.0.2
4+
(C) Copyright 2001-2006 Stefan Reinauer.
5+
(C) Copyright 2006 coresystems GmbH <info@coresystems.de>
6+
(C) Copyright 2005 IBM Corporation. All Rights Reserved.
7+
This program is free software; you may redistribute it under the terms of
8+
the GNU General Public License v2. This program has absolutely no warranty.
9+
10+
Tokenizer Compiled on PPC under AIX Level 5.3.0.0
11+
Mon, 23 Oct 2006 at 13:17:54 CDT
12+
13+
Tokenizing TokBrkTst_01.fth Binary output to TokBrkTst_01.fc
14+
Advisory: File TokBrkTst_01.fth, Line 4. FCODE-VERSION2 encountered; processing...
15+
Error: File TokBrkTst_01.fth, Line 17. (Output Position = 18). ANSI Forth does not permit definition of names longer than 31 characters.
16+
Warning: File TokBrkTst_01.fth, Line 29. (Output Position = 166). ANSI Forth does not permit definition of names longer than 31 characters.
17+
Advisory: File TokBrkTst_01.fth, Line 33. (Output Position = 170). ANSI Forth does not permit definition of names longer than 31 characters.
18+
Advisory: File TokBrkTst_01.fth, Line 46. (Output Position = 278). END0 encountered; processing...
19+
toke: checksum is 0x51ae (279 bytes). Last assigned FCode = 0x804
20+
Tokenization Completed. 1 Error, 1 Warning, 3 Advisories.
21+
Error-detection over-ridden; producing binary output.
22+
toke: wrote 279 bytes to bytecode file 'TokBrkTst_01.fc'
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
\ Welcome to detok - OpenBIOS detokenizer v1.0.2
2+
\ (C) Copyright 2001-2006 Stefan Reinauer.
3+
\ (C) Copyright 2006 coresystems GmbH <info@coresystems.de>
4+
\ (C) Copyright 2005 IBM Corporation. All Rights Reserved.
5+
\ Written by Stefan Reinauer, <stepan@openbios.org>
6+
\ This program is free software; you may redistribute it under the terms of
7+
\ the GNU General Public License v2. This program has absolutely no warranty.
8+
\
9+
0: start1 ( 0x0f1 ) ( 16-bit offsets)
10+
1: format: 0x08
11+
2: checksum: 0x856b (Ok)
12+
4: len: 0x0195 ( 405 bytes)
13+
8: b(lit) ( 0x010 ) 0x100a0810
14+
13: b(lit) ( 0x010 ) 0x64
15+
18: named-token ( 0x0b6 ) pele_yoetz_ne'ema'an_anochi_hu_ha'omer_v'oseh_v'ain_c'moni_bchol_ha_aretz 0x800
16+
95: b(constant) ( 0x0ba )
17+
96: pele_yoetz_ne'ema'an_anochi_hu_ha'omer_v'oseh_v'ain_c'moni_bchol_ha_aretz ( 0x800 )
18+
98: 2 ( 0x0a7 )
19+
99: * ( 0x020 )
20+
100: named-token ( 0x0b6 ) clone 0x801
21+
109: b(constant) ( 0x0ba )
22+
110: b(lit) ( 0x010 ) 0xc
23+
115: c, ( 0x0d0 )
24+
116: b(lit) ( 0x010 ) 0x12
25+
121: l, ( 0x0d2 )
26+
122: b(lit) ( 0x010 ) 0xc
27+
127: c, ( 0x0d0 )
28+
128: named-token ( 0x0b6 ) yuttzer 0x802
29+
139: b(:) ( 0x0b7 )
30+
140: b(lit) ( 0x010 ) 0xe
31+
145: b(lit) ( 0x010 ) 0x14
32+
150: b(lit) ( 0x010 ) 0x14
33+
155: b(lit) ( 0x010 ) 0xe
34+
160: b(;) ( 0x0c2 )
35+
161: b(lit) ( 0x010 ) 0x80
36+
166: named-token ( 0x0b6 ) this_name_has_a_whole_lot_of_syllables_and_so_would_not_be_a_good_ingredient_in_ice_cream_but_at_least_you_know_what_it_means 0x803
37+
295: b(constant) ( 0x0ba )
38+
296: named-token ( 0x0b6 ) brand-x-ice-cream 0x804
39+
317: b(:) ( 0x0b7 )
40+
318: pele_yoetz_ne'ema'an_anochi_hu_ha'omer_v'oseh_v'ain_c'moni_bchol_ha_aretz ( 0x800 )
41+
320: dup ( 0x047 )
42+
321: b(lit) ( 0x010 ) 0x20
43+
326: - ( 0x01f )
44+
327: b(do) ( 0x017 ) 0x0007 ( dest = 335 )
45+
330: i ( 0x019 )
46+
331: . ( 0x09d )
47+
332: b(loop) ( 0x015 ) 0xfffd ( =dec -3 dest = 330 )
48+
335: cr ( 0x092 )
49+
336: b(") ( 0x012 ) ( len=0xf [15 bytes] )
50+
" Nameless one..."
51+
353: type ( 0x090 )
52+
354: this_name_has_a_whole_lot_of_syllables_and_so_would_not_be_a_good_ingredient_in_ice_cream_but_at_least_you_know_what_it_means ( 0x803 )
53+
356: b(") ( 0x012 ) ( len=7 )
54+
" equals "
55+
365: type ( 0x090 )
56+
366: . ( 0x09d )
57+
367: cr ( 0x092 )
58+
368: b(") ( 0x012 ) ( len=0x16 [22 bytes] )
59+
" But everyone likes an "
60+
392: type ( 0x090 )
61+
393: b(lit) ( 0x010 ) 0x1cec6ea3
62+
398: . ( 0x09d )
63+
399: clone ( 0x801 )
64+
401: . ( 0x09d )
65+
402: cr ( 0x092 )
66+
403: b(;) ( 0x0c2 )
67+
404: end0 ( 0x000 )
68+
\ Detokenization finished normally after 405 bytes.
69+
End of file.
70+
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
toke -v -i -f ALWays-heADers -o TokBrkTst_01.alwyshdr.fc TokBrkTst_01.fth
2+
3+
Welcome to toke - OpenBIOS tokenizer v1.0.2
4+
(C) Copyright 2001-2006 Stefan Reinauer.
5+
(C) Copyright 2006 coresystems GmbH <info@coresystems.de>
6+
(C) Copyright 2005 IBM Corporation. All Rights Reserved.
7+
This program is free software; you may redistribute it under the terms of
8+
the GNU General Public License v2. This program has absolutely no warranty.
9+
10+
Tokenizer Compiled on PPC under AIX Level 5.3.0.0
11+
Mon, 23 Oct 2006 at 13:17:54 CDT
12+
13+
Special-Feature Flag settings:
14+
NoLocal-Values
15+
LV-Legacy-Separator
16+
LV-Legacy-Message
17+
ABORT-Quote
18+
Sun-ABORT-Quote
19+
ABORT-Quote-Throw
20+
String-remark-escape
21+
Hex-remark-escape
22+
C-Style-string-escape
23+
Always-Headers
24+
NoAlways-External
25+
Warn-if-Duplicate
26+
Obsolete-FCode-Warning
27+
NoTrace-Conditionals
28+
NoUpper-Case-Token-Names
29+
NoLower-Case-Token-Names
30+
NoBig-End-PCI-Rev-Level
31+
Ret-Stk-Interp
32+
33+
Tokenizing TokBrkTst_01.fth Binary output to TokBrkTst_01.alwyshdr.fc
34+
Advisory: File TokBrkTst_01.fth, Line 4. FCODE-VERSION2 encountered; processing...
35+
Error: File TokBrkTst_01.fth, Line 17. (Output Position = 18). ANSI Forth does not permit definition of names longer than 31 characters.
36+
Error: File TokBrkTst_01.fth, Line 29. (Output Position = 166). ANSI Forth does not permit definition of names longer than 31 characters.
37+
Advisory: File TokBrkTst_01.fth, Line 33. (Output Position = 296). ANSI Forth does not permit definition of names longer than 31 characters.
38+
Advisory: File TokBrkTst_01.fth, Line 46. (Output Position = 404). END0 encountered; processing...
39+
toke: checksum is 0x856b (405 bytes). Last assigned FCode = 0x804
40+
Tokenization Completed. 2 Errors, 3 Advisories.
41+
Error-detection over-ridden; producing binary output.
42+
toke: wrote 405 bytes to bytecode file 'TokBrkTst_01.alwyshdr.fc'
405 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)