added spec.csv for testing

This commit is contained in:
Andreas Rumpf
2010-02-25 08:27:20 +01:00
parent f41bd71e61
commit eba9af04f7
2 changed files with 95 additions and 0 deletions

61
tests/accept/run/spec.csv Normal file
View File

@@ -0,0 +1,61 @@
tack.nim;125
tambsym2.nim;7
tambsys.nim;
tarray.nim;10012
tarray2.nim;[16, 25, 36]
tassert.nim;assertion failure!this shall be always written
tbind1.nim;3
tbind3.nim;1
tbintre2.nim;halloworld99110223
tbintree.nim;halloworld99110223
tbug511622.nim;10
tcasestm.nim;ayyy
tclosure.nim;2 4 6 8 10
tcnstseq.nim;AngelikaAnneAnnaAnkaAnja
tconstr2.nim;69
tcopy.nim;TEMP=C:\Programs\xyz\bin
tcurrncy.nim;25
tfinally.nim;came here
tfloat1.nim;Error: unhandled exception: FPU operation caused an overflow [EFloatOverflow]
tfloat2.nim;Error: unhandled exception: FPU operation caused a NaN result [EFloatInvalidOp]
tformat.nim;Hi Andreas! How do you feel, Rumpf?
thintoff.nim;0
tinit.nim;Hallo from module! Hallo from main module!
tints.nim;Success
tisopr.nim;falsetrue
titer2.nim;123
titer3.nim;1231
titer5.nim;abcxyz
tlowhigh.nim;10
tmatrix.nim;111
tmultim1.nim;7
tmultim2.nim;collide: unit, thing collide: unit, thing collide: thing, unit
tnestif.nim;i == 2
tnestprc.nim;10
toop1.nim;34[]o 5
topenarrayrepr.nim;5 - [1]
topenlen.nim;7
toverflw.nim;the computation overflowed
toverl2.nim;true012
toverlop.nim;3
toverwr.nim;hallo
tovfint.nim;works!
tpos.nim;6
tprintf.nim;Andreas Rumpf
tprocvar.nim;papbpcpdpe7
tquotewords.nim;thisanexample
tregex.nim;key: keyAYes!
treguse.nim;055this should be the casehugh
tromans.nim;success
tseqcon.nim;Hithere, what's your name?Hathere, what's your name?
tsets.nim;Ha ein F ist in s!
tsidee2.nim;5
tsidee3.nim;5
tsimmeth.nim;HALLO WORLD!
tsplit.nim;true
tstrange.nim;hallo4
tstrlits.nim;a""long string"""""abc"def
tstrutil.nim;ha/home/a1xyz/usr/bin
tvardecl.nim;44
tvarnums.nim;Success!
tvartup.nim;2 3
Can't render this file because it contains an unexpected character in line 57 and column 15.

34
tests/reject/spec.csv Normal file
View File

@@ -0,0 +1,34 @@
t99bott.nim;20;constant expression expected
tadrdisc.nim;15;for a 'var' type a variable needs to be passed
tambsym.nim;6;ambiguous identifier
tambsym3.nim;6;ambiguous identifier
tbind2.nim;7;ambiguous call
tbind4.nim;4;instantiation from here
tblock1.nim;9;undeclared identifier: 'ha'
tconstr1.nim;20;type mismatch
tillrec.nim;8;illegal recursion in type 'TIllegal'
tinc.nim;3;to var type a variable needs to be passed
tinout.nim;7;for a 'var' type a variable needs to be passed
tinvalidnewseq.nim;10;
tinvwhen.nim;6;invalid indentation
titer4.nim;2;iterator within for loop context expected
tnamspc.nim;5;
tnoop.nim;6;expression 'a()' cannot be called
tnot.nim;9;type mismatch
topaque.nim;11;undeclared field: 'buffer'
topena1.nim;4;invalid type
toverl.nim;6;attempt to redefine 'TNone'
trawstr.nim;5;
trecinca.nim;3;recursive dependency: 'tests/trecincb.nim'
trecincb.nim;4;recursive dependency: 'tests/trecincb.nim'
treciter.nim;4;recursive dependency: 'myrec'
trectype.nim;20;internal error: cannot generate C type for: PA
trefs.nim;15;type mismatch
tsidee1.nim;7;'SideEffectLyer' can have side effects
tsidee4.nim;10;type mismatch
tsimtych.nim;5;
tstatret.nim;4;statement not allowed after
tstmtexp.nim;3;value returned by statement has to be discarded
ttempl2.nim;13;undeclared identifier: 'b'
tunderscores.nim;3;invalid token: _
typredef.nim;2;illegal recursion in type 'Uint8'
1 t99bott.nim 20 constant expression expected
2 tadrdisc.nim 15 for a 'var' type a variable needs to be passed
3 tambsym.nim 6 ambiguous identifier
4 tambsym3.nim 6 ambiguous identifier
5 tbind2.nim 7 ambiguous call
6 tbind4.nim 4 instantiation from here
7 tblock1.nim 9 undeclared identifier: 'ha'
8 tconstr1.nim 20 type mismatch
9 tillrec.nim 8 illegal recursion in type 'TIllegal'
10 tinc.nim 3 to var type a variable needs to be passed
11 tinout.nim 7 for a 'var' type a variable needs to be passed
12 tinvalidnewseq.nim 10
13 tinvwhen.nim 6 invalid indentation
14 titer4.nim 2 iterator within for loop context expected
15 tnamspc.nim 5
16 tnoop.nim 6 expression 'a()' cannot be called
17 tnot.nim 9 type mismatch
18 topaque.nim 11 undeclared field: 'buffer'
19 topena1.nim 4 invalid type
20 toverl.nim 6 attempt to redefine 'TNone'
21 trawstr.nim 5
22 trecinca.nim 3 recursive dependency: 'tests/trecincb.nim'
23 trecincb.nim 4 recursive dependency: 'tests/trecincb.nim'
24 treciter.nim 4 recursive dependency: 'myrec'
25 trectype.nim 20 internal error: cannot generate C type for: PA
26 trefs.nim 15 type mismatch
27 tsidee1.nim 7 'SideEffectLyer' can have side effects
28 tsidee4.nim 10 type mismatch
29 tsimtych.nim 5
30 tstatret.nim 4 statement not allowed after
31 tstmtexp.nim 3 value returned by statement has to be discarded
32 ttempl2.nim 13 undeclared identifier: 'b'
33 tunderscores.nim 3 invalid token: _
34 typredef.nim 2 illegal recursion in type 'Uint8'