git @ Cat's Eye Technologies OpenZz / 97c3e40
Skip 64-bit tests that fail on 32-bit architecture. Cat's Eye Technologies 11 years ago
2 changed file(s) with 44 addition(s) and 30 deletion(s). Raw diff Collapse all Expand all
1818 Running `build.sh` is recommended. Run `autogen.sh` and `configure` at
1919 your own risk.
2020
21 Also note: several of the tests fail, although the core semantics seem
22 OK, so these tests have been skipped. The failures are:
21 Also note: several of the tests now fail. The core semantics seem alright,
22 so these tests have been skipped. The specific failures are:
2323
2424 * deref_param.zz: failure of the test suite; it shouldn't be caring about
2525 an internal address, which isn't stable from run to run
2626 * double.zz: using floating-point values segfaults
2727 * list_in_cond.zz: the syntax "a.b" seems to be a syntax error
28 * numerictypes.zz: 64-bit values wrap to 32 bits on a 32-bit archiecture
2829 * tagdtor.xx: can't open the specified .so file
30
31 The verdict is that this version of OpenZz does not support:
32
33 * floating-point values
34 * 64-bit integer values
35 * the "a.b" syntax (whatever that means exactly)
36 * loading ".so" files
37
38 Which is fine by me so long as it can still play Zzrk.
2939
3040 -Chris
3141
3030 !!+ **** LEXICAL ERROR: too long integer constant /212312321322/ truncated ****
3131 !!| /num2=212312321322
3232 !!| ^
33 !!| line 63 of .//numerictypes.zz
33 !!| line 66 of .//numerictypes.zz
3434 !!2123123213
3535 !!next should be ok
3636 !!23232323
37 !!1 lexical error(s)
38 !!listed in .//numerictypes.err
39 !! END OUTPUT
40
41
42 !! SKIPPED due to no longer supporting 64-bit
3743 !!next should be ok
3844 !!212312321322
3945 !!switching on int64 default
4652 !!23232323
4753 !!next should be ok
4854 !!212312321322
49 !!1 lexical error(s)
50 !!listed in .//numerictypes.err
51 !! END OUTPUT
5255
5356
5457 /print "switching off int64 default"
6669 /num1=23232323i
6770 /print num1
6871
69 /print "next should be ok"
70 /num2=212312321322l
71 /print num2
72
73 /print "switching on int64 default"
74 /zlex_set_default_integer_as_int64 1i
75 /num1=212312321322
76 /print num1
77
78 /print "next should be ok"
79 /num1=23232323
80 /print num1
81
82 /print "next should be ok"
83 /num2=212312321322
84 /print num2
85
86 /print "next should be ok"
87 /num1=23232323i
88 /print num1
89
90 /print "next should be ok"
91 /num2=212312321322l
92 /print num2
72 !! SKIPPED due to no longer supporting 64-bit
73 !! /print "next should be ok"
74 !! /num2=212312321322l
75 !! /print num2
76 !!
77 !! /print "switching on int64 default"
78 !! /zlex_set_default_integer_as_int64 1i
79 !! /num1=212312321322
80 !! /print num1
81 !!
82 !! /print "next should be ok"
83 !! /num1=23232323
84 !! /print num1
85 !!
86 !! /print "next should be ok"
87 !! /num2=212312321322
88 !! /print num2
89 !!
90 !! /print "next should be ok"
91 !! /num1=23232323i
92 !! /print num1
93 !!
94 !! /print "next should be ok"
95 !! /num2=212312321322l
96 !! /print num2
9397
9498