/[eiffelstudio]/trunk/eweasel/tests/melt080/tcf
ViewVC logotype

Contents of /trunk/eweasel/tests/melt080/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 82287 - (show annotations)
Tue Feb 9 20:09:46 2010 UTC (9 years, 11 months ago) by manus
File size: 1333 byte(s)
Updated to match new defaults for `total order on REALs' setting and VD83 warning that could be raised when trying to change that setting between compilation.

1 test_name nan-comparison
2 test_description When you compare 2 NaNs it should return a consistent value related to the `total order on REALs' setting from the project settings. By default NaN = NaN, but without the default order NaN /= NaN.
3
4 define TOTAL_ORDER "false"
5 copy_sub Ace $TEST Ace
6 copy_raw test.e $CLUSTER test.e
7
8 compile_melted
9 compile_result ok
10
11 execute_work NONE exec_output1
12 execute_result ok
13 compare exec_output1 ieee_output
14
15 compile_frozen
16 compile_result ok
17
18 c_compile_work
19 c_compile_result ok
20
21 execute_work NONE exec_output2
22 execute_result ok
23 compare exec_output2 ieee_output
24
25 compile_final
26 compile_result ok
27
28 c_compile_final
29 c_compile_result ok
30
31 execute_final NONE exec_output3
32 execute_result ok
33 compare exec_output3 ieee_output
34
35 cleanup_compile
36 define TOTAL_ORDER "true"
37 copy_sub Ace_2 $TEST Ace
38
39 compile_frozen
40 compile_result ok
41
42 c_compile_work
43 c_compile_result ok
44
45 execute_work NONE exec_output3
46 execute_result ok
47 compare exec_output3 output
48
49 -- Let's force a melt here.
50 define DATA "TOTO"
51 copy_sub test.e $CLUSTER test.e
52
53 compile_melted
54 compile_result ok
55
56 execute_work NONE exec_output4
57 execute_result ok
58 compare exec_output4 output
59
60 compile_final
61 compile_result ok
62
63 c_compile_final
64 c_compile_result ok
65
66 execute_final NONE exec_output5
67 execute_result ok
68 compare exec_output5 output
69
70
71
72 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23