Skip 64-bit tests that fail on 32-bit architecture.
Cat's Eye Technologies
11 years ago
18 | 18 |
Running `build.sh` is recommended. Run `autogen.sh` and `configure` at
|
19 | 19 |
your own risk.
|
20 | 20 |
|
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:
|
23 | 23 |
|
24 | 24 |
* deref_param.zz: failure of the test suite; it shouldn't be caring about
|
25 | 25 |
an internal address, which isn't stable from run to run
|
26 | 26 |
* double.zz: using floating-point values segfaults
|
27 | 27 |
* 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
|
28 | 29 |
* 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.
|
29 | 39 |
|
30 | 40 |
-Chris
|
31 | 41 |
|
30 | 30 |
!!+ **** LEXICAL ERROR: too long integer constant /212312321322/ truncated ****
|
31 | 31 |
!!| /num2=212312321322
|
32 | 32 |
!!| ^
|
33 | |
!!| line 63 of .//numerictypes.zz
|
|
33 |
!!| line 66 of .//numerictypes.zz
|
34 | 34 |
!!2123123213
|
35 | 35 |
!!next should be ok
|
36 | 36 |
!!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
|
37 | 43 |
!!next should be ok
|
38 | 44 |
!!212312321322
|
39 | 45 |
!!switching on int64 default
|
|
46 | 52 |
!!23232323
|
47 | 53 |
!!next should be ok
|
48 | 54 |
!!212312321322
|
49 | |
!!1 lexical error(s)
|
50 | |
!!listed in .//numerictypes.err
|
51 | |
!! END OUTPUT
|
52 | 55 |
|
53 | 56 |
|
54 | 57 |
/print "switching off int64 default"
|
|
66 | 69 |
/num1=23232323i
|
67 | 70 |
/print num1
|
68 | 71 |
|
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
|
93 | 97 |
|
94 | 98 |
|