tests: put stderr before stdout
authorJean Privat <jean@pryen.org>
Mon, 3 Dec 2012 03:52:11 +0000 (22:52 -0500)
committerJean Privat <jean@pryen.org>
Mon, 3 Dec 2012 04:39:14 +0000 (23:39 -0500)
The result files contain in order:

- compiler messages
- error output
- standard output

This improve the compatibility of res with niti since compiler
messages are issued on the error output.

Update the sav/* file to reflect the change.

Signed-off-by: Jean Privat <jean@pryen.org>

80 files changed:
tests/sav/base_abstract_fun_alt1.sav
tests/sav/base_as_cast_alt1.sav
tests/sav/base_as_cast_alt2.sav
tests/sav/base_as_cast_alt3.sav
tests/sav/base_as_cast_alt4.sav
tests/sav/base_as_cast_alt5.sav
tests/sav/base_as_cast_alt6.sav
tests/sav/base_as_notnull_alt5.res
tests/sav/base_as_notnull_alt5.sav
tests/sav/base_as_notnull_alt6.res
tests/sav/base_as_notnull_alt6.sav
tests/sav/base_assert2_alt3.sav
tests/sav/base_assert2_alt4.sav
tests/sav/base_assert_alt4.sav
tests/sav/base_attr_gen_alt1.res [moved from tests/sav/nitg/base_attr_gen_alt1.res with 100% similarity]
tests/sav/base_attr_isset_alt3.res
tests/sav/base_attr_isset_alt3.sav
tests/sav/base_attr_isset_alt4.res
tests/sav/base_attr_isset_alt4.sav
tests/sav/base_attr_nullable_alt2.res
tests/sav/base_attr_nullable_alt2.sav
tests/sav/base_attr_nullable_alt4.sav
tests/sav/base_attr_nullable_alt5.sav
tests/sav/base_attr_nullable_int_alt2.res
tests/sav/base_attr_nullable_int_alt2.sav
tests/sav/base_attr_nullable_int_alt4.sav
tests/sav/base_attr_nullable_int_alt5.sav
tests/sav/base_classid.res [moved from tests/sav/nitg/base_classid.res with 100% similarity]
tests/sav/base_closure_break_default2_alt3.sav
tests/sav/base_closure_break_default_alt3.sav
tests/sav/base_closure_default1_alt3.sav
tests/sav/base_closure_default2_alt3.sav
tests/sav/base_closure_default3_alt3.sav
tests/sav/base_closure_default4_alt3.sav
tests/sav/base_conflict_class_name_alt1.sav
tests/sav/base_conflict_class_name_alt2.sav
tests/sav/base_conflict_submodule_name_alt1.sav
tests/sav/base_conflict_submodule_name_alt2.sav
tests/sav/base_isa_nil.res [moved from tests/sav/nitg/base_isa_nil.res with 100% similarity]
tests/sav/base_primitive_null_alt1.sav
tests/sav/base_primitive_null_alt2.sav
tests/sav/base_primitive_null_alt3.sav
tests/sav/base_virtual_int_alt2.res
tests/sav/base_virtual_int_alt2.sav
tests/sav/base_virtual_type_check_alt10.res
tests/sav/base_virtual_type_check_alt10.sav
tests/sav/base_virtual_type_check_alt8.res
tests/sav/base_virtual_type_check_alt8.sav
tests/sav/nitdoc.res
tests/sav/nitdoc_args1.res
tests/sav/niti/base_classid.res [deleted file]
tests/sav/niti/base_isa_nil.res [deleted file]
tests/sav/niti/base_virtual_int_alt3.res [deleted file]
tests/sav/niti/fixme/base_virtual_int_alt2.res
tests/sav/niti/test_attr_easy.res [moved from tests/sav/nitg/test_attr_easy.res with 93% similarity]
tests/sav/nits.res
tests/sav/rterror_null_receiver_alt1.sav
tests/sav/rterror_null_receiver_alt2.sav
tests/sav/rterror_null_receiver_alt3.sav
tests/sav/rterror_null_receiver_alt4.res
tests/sav/rterror_null_receiver_alt4.sav
tests/sav/rterror_null_receiver_alt5.sav
tests/sav/rterror_null_receiver_alt6.res
tests/sav/rterror_null_receiver_alt6.sav
tests/sav/test_attr_easy.res
tests/sav/test_fdstream.sav
tests/sav/test_map_closure_default_alt1.sav
tests/sav/test_variance_param_alt1.res
tests/sav/test_variance_param_alt1.sav
tests/sav/test_variance_param_alt2.res
tests/sav/test_variance_param_alt2.sav
tests/sav/test_variance_param_alt3.res
tests/sav/test_variance_param_alt3.sav
tests/sav/test_variance_param_alt4.res
tests/sav/test_variance_param_alt4.sav
tests/sav/test_variance_param_alt5.res
tests/sav/test_variance_param_alt5.sav
tests/sav/test_variance_param_alt6.res
tests/sav/test_variance_param_alt6.sav
tests/tests.sh

index 2324a8d..ec6936c 100644 (file)
@@ -1,2 +1,2 @@
-1
 Runtime error: Deferred method called (alt/base_abstract_fun_alt1.nit:18)
+1
index 2b07575..b8bd435 100644 (file)
@@ -1,6 +1,6 @@
 alt/base_as_cast_alt1.nit:42,1--12: Warning: Expression is already a Object.
 alt/base_as_cast_alt1.nit:52,1--12: Warning: Expression is already a Object.
+Runtime error: Cast failed (alt/base_as_cast_alt1.nit:45)
 0
 0
 0
-Runtime error: Cast failed (alt/base_as_cast_alt1.nit:45)
index 0184469..4222067 100644 (file)
@@ -1,6 +1,6 @@
 alt/base_as_cast_alt2.nit:42,1--12: Warning: Expression is already a Object.
 alt/base_as_cast_alt2.nit:52,1--12: Warning: Expression is already a Object.
+Runtime error: Cast failed (alt/base_as_cast_alt2.nit:46)
 0
 0
 0
-Runtime error: Cast failed (alt/base_as_cast_alt2.nit:46)
index af1fdd0..4dcc2ef 100644 (file)
@@ -1,6 +1,6 @@
 alt/base_as_cast_alt3.nit:42,1--12: Warning: Expression is already a Object.
 alt/base_as_cast_alt3.nit:52,1--12: Warning: Expression is already a Object.
+Runtime error: Cast failed (alt/base_as_cast_alt3.nit:47)
 0
 0
 0
-Runtime error: Cast failed (alt/base_as_cast_alt3.nit:47)
index ed7c0db..685be2d 100644 (file)
@@ -1,6 +1,6 @@
 alt/base_as_cast_alt4.nit:42,1--12: Warning: Expression is already a Object.
 alt/base_as_cast_alt4.nit:52,1--12: Warning: Expression is already a Object.
+Runtime error: Cast failed (alt/base_as_cast_alt4.nit:48)
 0
 0
 0
-Runtime error: Cast failed (alt/base_as_cast_alt4.nit:48)
index daf3c03..802a10c 100644 (file)
@@ -1,5 +1,6 @@
 alt/base_as_cast_alt5.nit:42,1--12: Warning: Expression is already a Object.
 alt/base_as_cast_alt5.nit:52,1--12: Warning: Expression is already a Object.
+Runtime error: Cast failed (alt/base_as_cast_alt5.nit:57)
 0
 0
 0
@@ -9,4 +10,3 @@ alt/base_as_cast_alt5.nit:52,1--12: Warning: Expression is already a Object.
 2
 2
 2
-Runtime error: Cast failed (alt/base_as_cast_alt5.nit:57)
index c8b3d4c..597f534 100644 (file)
@@ -1,5 +1,6 @@
 alt/base_as_cast_alt6.nit:42,1--12: Warning: Expression is already a Object.
 alt/base_as_cast_alt6.nit:52,1--12: Warning: Expression is already a Object.
+Runtime error: Cast failed (alt/base_as_cast_alt6.nit:58)
 0
 0
 0
@@ -9,4 +10,3 @@ alt/base_as_cast_alt6.nit:52,1--12: Warning: Expression is already a Object.
 2
 2
 2
-Runtime error: Cast failed (alt/base_as_cast_alt6.nit:58)
index fe284bf..917dafb 100644 (file)
@@ -1,3 +1,4 @@
+Runtime error: Cast failed (alt/base_as_notnull_alt5.nit:59)
 1
 2
 3
@@ -8,4 +9,3 @@
 3
 6
 
-Runtime error: Cast failed (alt/base_as_notnull_alt5.nit:59)
index bfb13b9..8fd3cb1 100644 (file)
@@ -2,6 +2,7 @@ alt/base_as_notnull_alt5.nit:41,6: Warning: 'as(not null)' on non nullable type.
 alt/base_as_notnull_alt5.nit:42,6--7: Warning: 'as(not null)' on non nullable type.
 alt/base_as_notnull_alt5.nit:43,6: Warning: 'as(not null)' on non nullable type.
 alt/base_as_notnull_alt5.nit:52,6: Warning: 'as(not null)' on non nullable type.
+Runtime error: Cast failed (alt/base_as_notnull_alt5.nit:59)
 1
 2
 3
@@ -12,4 +13,3 @@ alt/base_as_notnull_alt5.nit:52,6: Warning: 'as(not null)' on non nullable type.
 3
 6
 
-Runtime error: Cast failed (alt/base_as_notnull_alt5.nit:59)
index 4e6538e..49784b7 100644 (file)
@@ -1,3 +1,4 @@
+Runtime error: Cast failed (alt/base_as_notnull_alt6.nit:60)
 1
 2
 3
@@ -8,4 +9,3 @@
 3
 6
 
-Runtime error: Cast failed (alt/base_as_notnull_alt6.nit:60)
index 1f7d769..219d174 100644 (file)
@@ -2,6 +2,7 @@ alt/base_as_notnull_alt6.nit:41,6: Warning: 'as(not null)' on non nullable type.
 alt/base_as_notnull_alt6.nit:42,6--7: Warning: 'as(not null)' on non nullable type.
 alt/base_as_notnull_alt6.nit:43,6: Warning: 'as(not null)' on non nullable type.
 alt/base_as_notnull_alt6.nit:52,6: Warning: 'as(not null)' on non nullable type.
+Runtime error: Cast failed (alt/base_as_notnull_alt6.nit:60)
 1
 2
 3
@@ -12,4 +13,3 @@ alt/base_as_notnull_alt6.nit:52,6: Warning: 'as(not null)' on non nullable type.
 3
 6
 
-Runtime error: Cast failed (alt/base_as_notnull_alt6.nit:60)
index 2120bda..fc5c4ba 100644 (file)
@@ -1,3 +1,3 @@
+Runtime error: Assert failed (alt/base_assert2_alt3.nit:30)
 false
 1
-Runtime error: Assert failed (alt/base_assert2_alt3.nit:30)
index f546f5c..9f731df 100644 (file)
@@ -1,3 +1,4 @@
+Runtime error: Assert failed (alt/base_assert2_alt4.nit:43)
 true
 1
 
@@ -8,4 +9,3 @@ true
 false
 1
 2
-Runtime error: Assert failed (alt/base_assert2_alt4.nit:43)
index 3571e60..d16f15d 100644 (file)
@@ -1,2 +1,2 @@
-0
 Runtime error: Assert failed (alt/base_assert_alt4.nit:27)
+0
index d80fd6e..a2b8de7 100644 (file)
@@ -1,3 +1,4 @@
+Runtime error: Uninitialized attribute _a2 (alt/base_attr_isset_alt3.nit:101)
 1
 false
 false
@@ -7,4 +8,3 @@ false
 3
 true
 false
-Runtime error: Uninitialized attribute _a2 (alt/base_attr_isset_alt3.nit:101)
index c8d3ea5..47eff56 100644 (file)
@@ -1,3 +1,4 @@
+Runtime error: Uninitialized attribute _a2 (alt/base_attr_isset_alt3.nit)
 1
 false
 false
@@ -7,4 +8,3 @@ false
 3
 true
 false
-Runtime error: Uninitialized attribute _a2 (alt/base_attr_isset_alt3.nit)
index eb0217e..b83eb13 100644 (file)
@@ -1,3 +1,4 @@
+Runtime error: Uninitialized attribute _a2 (alt/base_attr_isset_alt4.nit:100)
 1
 false
 false
@@ -7,4 +8,3 @@ false
 3
 true
 false
-Runtime error: Uninitialized attribute _a2 (alt/base_attr_isset_alt4.nit:100)
index 2b42de3..7ae8195 100644 (file)
@@ -1,3 +1,4 @@
+Runtime error: Uninitialized attribute _a2 (alt/base_attr_isset_alt4.nit)
 1
 false
 false
@@ -7,4 +8,3 @@ false
 3
 true
 false
-Runtime error: Uninitialized attribute _a2 (alt/base_attr_isset_alt4.nit)
index a78058e..d238261 100644 (file)
@@ -1,2 +1,2 @@
-1
 Runtime error: Uninitialized attribute _a2 (alt/base_attr_nullable_alt2.nit:39)
+1
index 72db1b2..bd9cbf0 100644 (file)
@@ -1,2 +1,2 @@
-1
 Runtime error: Uninitialized attribute _a2 (alt/base_attr_nullable_alt2.nit:35)
+1
index d6f80e3..1a98ce8 100644 (file)
@@ -1,2 +1,2 @@
-10
 Runtime error: Uninitialized attribute _a2 (alt/base_attr_nullable_alt4.nit:45)
+10
index 575932a..891e424 100644 (file)
@@ -1,3 +1,3 @@
+Runtime error: Uninitialized attribute _a3 (alt/base_attr_nullable_alt5.nit:66)
 10
 20
-Runtime error: Uninitialized attribute _a3 (alt/base_attr_nullable_alt5.nit:66)
index b3ac302..db000f8 100644 (file)
@@ -1,2 +1,2 @@
-1
 Runtime error: Uninitialized attribute _a2 (alt/base_attr_nullable_int_alt2.nit:33)
+1
index b9e4c9b..52f9df3 100644 (file)
@@ -1,2 +1,2 @@
-1
 Runtime error: Uninitialized attribute _a2 (alt/base_attr_nullable_int_alt2.nit:29)
+1
index f110a03..887e9ab 100644 (file)
@@ -1,2 +1,2 @@
-10
 Runtime error: Uninitialized attribute _a2 (alt/base_attr_nullable_int_alt4.nit:39)
+10
index e03cda0..5d4cf8c 100644 (file)
@@ -1,3 +1,3 @@
+Runtime error: Uninitialized attribute _a3 (alt/base_attr_nullable_int_alt5.nit:60)
 10
 20
-Runtime error: Uninitialized attribute _a3 (alt/base_attr_nullable_int_alt5.nit:60)
index a023f0c..1e2ec64 100644 (file)
@@ -1,6 +1,6 @@
+Runtime error: Aborted (alt/base_closure_break_default2_alt3.nit:25)
 0
 1
 2
 0
 1
-Runtime error: Aborted (alt/base_closure_break_default2_alt3.nit:25)
index cb84d2b..607c891 100644 (file)
@@ -1,6 +1,6 @@
+Runtime error: Aborted (alt/base_closure_break_default_alt3.nit:25)
 0
 1
 2
 0
 1
-Runtime error: Aborted (alt/base_closure_break_default_alt3.nit:25)
index f6ba938..81fd6be 100644 (file)
@@ -1,7 +1,7 @@
+Runtime error: Aborted (alt/base_closure_default1_alt3.nit:25)
 0
 1
 2
 3
 0
 1
-Runtime error: Aborted (alt/base_closure_default1_alt3.nit:25)
index 226f40f..e280916 100644 (file)
@@ -1,7 +1,7 @@
+Runtime error: Aborted (alt/base_closure_default2_alt3.nit:25)
 0
 1
 2
 3
 0
 1
-Runtime error: Aborted (alt/base_closure_default2_alt3.nit:25)
index 34838b6..051a30e 100644 (file)
@@ -1,7 +1,7 @@
+Runtime error: Aborted (alt/base_closure_default3_alt3.nit:25)
 0
 1
 2
 3
 0
 1
-Runtime error: Aborted (alt/base_closure_default3_alt3.nit:25)
index 6c5fac2..7d9fdbc 100644 (file)
@@ -1,7 +1,7 @@
+Runtime error: Aborted (alt/base_closure_default4_alt3.nit:25)
 0
 1
 2
 3
 0
 1
-Runtime error: Aborted (alt/base_closure_default4_alt3.nit:25)
index 6d32c6d..461bf28 100644 (file)
@@ -1,3 +1,3 @@
+Runtime error: Cast failed (base_conflict_class_name_submodule1.nit:22)
 1
 2
-Runtime error: Cast failed (base_conflict_class_name_submodule1.nit:22)
index 880a2be..a158579 100644 (file)
@@ -1,3 +1,3 @@
+Runtime error: Cast failed (base_conflict_class_name_submodule2.nit:22)
 1
 2
-Runtime error: Cast failed (base_conflict_class_name_submodule2.nit:22)
index 06e5d4a..720c5a6 100644 (file)
@@ -1,3 +1,3 @@
+Runtime error: Cast failed (base_conflict_submodule_name_submodule1/submodule.nit:22)
 1
 2
-Runtime error: Cast failed (base_conflict_submodule_name_submodule1/submodule.nit:22)
index 8c77cbc..56cdd15 100644 (file)
@@ -1,3 +1,3 @@
+Runtime error: Cast failed (base_conflict_submodule_name_submodule2/submodule.nit:22)
 1
 2
-Runtime error: Cast failed (base_conflict_submodule_name_submodule2/submodule.nit:22)
index 1c1c82e..873d14f 100644 (file)
@@ -1,6 +1,6 @@
+Runtime error: Reciever is null (alt/base_primitive_null_alt1.nit:34)
 I
 true
 true
 true
 true
-Runtime error: Reciever is null (alt/base_primitive_null_alt1.nit:34)
index 9003e83..bef3335 100644 (file)
@@ -1,3 +1,4 @@
+Runtime error: Reciever is null (alt/base_primitive_null_alt2.nit:43)
 I
 true
 true
@@ -8,4 +9,3 @@ true
 true
 true
 true
-Runtime error: Reciever is null (alt/base_primitive_null_alt2.nit:43)
index 6ef765e..ba81322 100644 (file)
@@ -1,3 +1,4 @@
+Runtime error: Reciever is null (alt/base_primitive_null_alt3.nit:52)
 I
 true
 true
@@ -13,4 +14,3 @@ true
 true
 true
 true
-Runtime error: Reciever is null (alt/base_primitive_null_alt3.nit:52)
index 7a4bd7e..0fe5bdc 100644 (file)
@@ -1,3 +1,3 @@
+Runtime error: Cast failed (../lib/standard/kernel.nit:234)
 true
 true
-Runtime error: Cast failed (../lib/standard/kernel.nit:234)
index 3d23470..a9013d7 100644 (file)
@@ -1,3 +1,3 @@
+Runtime error: Cast failed (../lib/standard/kernel.nit)
 true
 true
-Runtime error: Cast failed (../lib/standard/kernel.nit)
index 2367533..727b8b4 100644 (file)
@@ -1,3 +1,4 @@
+Runtime error: Cast failed (alt/base_virtual_type_check_alt10.nit:37)
 J<Tfalse
 J<Ufalse
 K<Ttrue
@@ -23,4 +24,3 @@ K<Ufalse
 L<Ttrue
 L<Utrue
 L<T
-Runtime error: Cast failed (alt/base_virtual_type_check_alt10.nit:37)
index c884c55..ce06d59 100644 (file)
@@ -1,3 +1,4 @@
+Runtime error: Cast failed (alt/base_virtual_type_check_alt10.nit)
 J<Tfalse
 J<Ufalse
 K<Ttrue
@@ -23,4 +24,3 @@ K<Ufalse
 L<Ttrue
 L<Utrue
 L<T
-Runtime error: Cast failed (alt/base_virtual_type_check_alt10.nit)
index a3a16c6..9f2fb2d 100644 (file)
@@ -1,3 +1,4 @@
+Runtime error: Cast failed (alt/base_virtual_type_check_alt8.nit:30)
 J<Tfalse
 J<Ufalse
 K<Ttrue
@@ -22,4 +23,3 @@ K<Tfalse
 K<Ufalse
 L<Ttrue
 L<Utrue
-Runtime error: Cast failed (alt/base_virtual_type_check_alt8.nit:30)
index e7cfcb1..ffaf7da 100644 (file)
@@ -1,3 +1,4 @@
+Runtime error: Cast failed (alt/base_virtual_type_check_alt8.nit)
 J<Tfalse
 J<Ufalse
 K<Ttrue
@@ -22,4 +23,3 @@ K<Tfalse
 K<Ufalse
 L<Ttrue
 L<Utrue
-Runtime error: Cast failed (alt/base_virtual_type_check_alt8.nit)
index e8ee7dd..d681ac1 100644 (file)
@@ -1,3 +1,4 @@
+../src/syntax/mmbuilder.nit:998,8--28: Warning: Expression is already a AMethPropdef since it is a AInitPropdef.
 usage: nitdoc [options] file...
   -W, --warn               Show warnings
   -q, --quiet              Do not show warnings
@@ -21,4 +22,3 @@ usage: nitdoc [options] file...
   --custom-menu-items      Items displayed in menu before the 'Overview' item (Each item must be enclosed in 'li' tags)
   --custom-overview-text   Text displayed as introduction of Overview page before the modules list
   --custom-footer-text     Text displayed as footer of all pages
-../src/syntax/mmbuilder.nit:998,8--28: Warning: Expression is already a AMethPropdef since it is a AInitPropdef.
index 4fcc180..8c50fdc 100644 (file)
@@ -1,3 +1,4 @@
+../src/syntax/mmbuilder.nit:998,8--28: Warning: Expression is already a AMethPropdef since it is a AInitPropdef.
 A.html
 B.html
 Bool.html
@@ -49,4 +50,3 @@ quicksearch-list.js
 resources/
 scripts/
 styles/
-../src/syntax/mmbuilder.nit:998,8--28: Warning: Expression is already a AMethPropdef since it is a AInitPropdef.
diff --git a/tests/sav/niti/base_classid.res b/tests/sav/niti/base_classid.res
deleted file mode 100644 (file)
index 2062b38..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-true
-true
-true
-true
-true
-true
-true
-true
-base_classid.nit:47,2--8: Warning: Expression is already a A.
-base_classid.nit:48,2--9: Warning: Expression is already a A.
-base_classid.nit:49,2--8: Warning: Expression is already a A since it is a B.
diff --git a/tests/sav/niti/base_isa_nil.res b/tests/sav/niti/base_isa_nil.res
deleted file mode 100644 (file)
index 1686289..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-true
-true
-true
-true
-true
-true
-false
-false
-false
-true
-true
-true
-base_isa_nil.nit:33,2--13: Warning: Expression is already a Object.
-base_isa_nil.nit:36,2--22: Warning: Expression is already a nullable Object.
-base_isa_nil.nit:43,2--22: Warning: Expression is already a nullable Object.
diff --git a/tests/sav/niti/base_virtual_int_alt3.res b/tests/sav/niti/base_virtual_int_alt3.res
deleted file mode 100644 (file)
index a957fa9..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-true
-true
-false
-alt/base_virtual_int_alt3.nit:9,3--16: Warning: Expression is already a Discrete since it is a Int.
index ab57703..562343f 100644 (file)
@@ -1,3 +1,3 @@
+Runtime error: Cast failed (naive_interpreter.nit:539)
 true
 true
-Runtime error: Cast failed (naive_interpreter.nit:539)
similarity index 93%
rename from tests/sav/nitg/test_attr_easy.res
rename to tests/sav/niti/test_attr_easy.res
index 2d05f39..f88313a 100644 (file)
@@ -5,7 +5,7 @@ test_attr_easy.nit:19,43--53: Warning: Expression is already a Float.
 test_attr_easy.nit:20,5--16: Warning: Expression is already a String.
 test_attr_easy.nit:20,20--26: Warning: Expression is already a B.
 test_attr_easy.nit:20,44--62: Warning: Expression is already a HashMap[Int,B].
-true false 12345 1.234499 asdf true
+true false 12345 1.234500 asdf true
 an instance of B
 true true true true
 true true true true
index 72ef53c..b5c008c 100644 (file)
@@ -1,3 +1,4 @@
+../src/syntax/mmbuilder.nit:998,8--28: Warning: Expression is already a AMethPropdef since it is a AInitPropdef.
 usage: nits [options] file...
   -W, --warn              Show warnings
   -q, --quiet             Do not show warnings
@@ -12,4 +13,3 @@ usage: nits [options] file...
   --only-parse            Only proceed to parse step of loaders
   --only-metamodel        Stop after meta-model processing
   -i, --in-place          Generate stub files as .nit.[ch] instead of .stub.nit.[ch]
-../src/syntax/mmbuilder.nit:998,8--28: Warning: Expression is already a AMethPropdef since it is a AInitPropdef.
index 4bf5561..5fdc7c0 100644 (file)
@@ -1,3 +1,3 @@
+Runtime error: Reciever is null (alt/rterror_null_receiver_alt1.nit:26)
 true
 false
-Runtime error: Reciever is null (alt/rterror_null_receiver_alt1.nit:26)
index 706c32a..e1716a3 100644 (file)
@@ -1,3 +1,3 @@
+Runtime error: Reciever is null (alt/rterror_null_receiver_alt2.nit:27)
 true
 false
-Runtime error: Reciever is null (alt/rterror_null_receiver_alt2.nit:27)
index 1cca61e..45aa239 100644 (file)
@@ -1,3 +1,3 @@
+Runtime error: Reciever is null (alt/rterror_null_receiver_alt3.nit:28)
 true
 false
-Runtime error: Reciever is null (alt/rterror_null_receiver_alt3.nit:28)
index bbeeeaf..8c554a6 100644 (file)
@@ -1,3 +1,3 @@
+Runtime error: Uninitialized attribute _foo (alt/rterror_null_receiver_alt4.nit:29)
 true
 false
-Runtime error: Uninitialized attribute _foo (alt/rterror_null_receiver_alt4.nit:29)
index 6831a2b..322a95b 100644 (file)
@@ -1,3 +1,3 @@
+Runtime error: Reciever is null (alt/rterror_null_receiver_alt4.nit:29)
 true
 false
-Runtime error: Reciever is null (alt/rterror_null_receiver_alt4.nit:29)
index ecc4c5a..4e1643d 100644 (file)
@@ -1,3 +1,3 @@
+Runtime error: Reciever is null (alt/rterror_null_receiver_alt5.nit:30)
 true
 false
-Runtime error: Reciever is null (alt/rterror_null_receiver_alt5.nit:30)
index fd1f70f..f96a2aa 100644 (file)
@@ -1,3 +1,3 @@
+Runtime error: Uninitialized attribute _foo (alt/rterror_null_receiver_alt6.nit:31)
 true
 false
-Runtime error: Uninitialized attribute _foo (alt/rterror_null_receiver_alt6.nit:31)
index 1a62847..40840ce 100644 (file)
@@ -1,3 +1,3 @@
+Runtime error: Reciever is null (alt/rterror_null_receiver_alt6.nit:31)
 true
 false
-Runtime error: Reciever is null (alt/rterror_null_receiver_alt6.nit:31)
index bcc875a..2d05f39 100644 (file)
@@ -1,7 +1,3 @@
-true false 12345 1.234500 asdf true
-an instance of B
-true true true true
-true true true true
 test_attr_easy.nit:19,5--14: Warning: Expression is already a Bool.
 test_attr_easy.nit:19,18--27: Warning: Expression is already a Bool.
 test_attr_easy.nit:19,31--39: Warning: Expression is already a Int.
@@ -9,3 +5,7 @@ test_attr_easy.nit:19,43--53: Warning: Expression is already a Float.
 test_attr_easy.nit:20,5--16: Warning: Expression is already a String.
 test_attr_easy.nit:20,20--26: Warning: Expression is already a B.
 test_attr_easy.nit:20,44--62: Warning: Expression is already a HashMap[Int,B].
+true false 12345 1.234499 asdf true
+an instance of B
+true true true true
+true true true true
index cfbf383..dda3187 100644 (file)
@@ -1,3 +1,3 @@
+World
 Hello
 Hello!
-World
index f578316..786d676 100644 (file)
@@ -1,3 +1,4 @@
+Runtime error: Aborted (alt/test_map_closure_default_alt1.nit:19)
 B:
 true
 blue
@@ -10,4 +11,3 @@ N:
 false
 black
 false
-Runtime error: Aborted (alt/test_map_closure_default_alt1.nit:19)
index 804fc0d..a74fbad 100644 (file)
@@ -1,4 +1,4 @@
+Runtime error: Cast failed (alt/test_variance_param_alt1.nit:32)
 AB5
 B5
 5
-Runtime error: Cast failed (alt/test_variance_param_alt1.nit:32)
index e26d1e8..242135d 100644 (file)
@@ -1,4 +1,4 @@
+Runtime error: Cast failed (alt/test_variance_param_alt1.nit)
 AB5
 B5
 5
-Runtime error: Cast failed (alt/test_variance_param_alt1.nit)
index d9e6896..7b413dc 100644 (file)
@@ -1,5 +1,5 @@
+Runtime error: Cast failed (alt/test_variance_param_alt2.nit:33)
 AB5
 B5
 5
 B5
-Runtime error: Cast failed (alt/test_variance_param_alt2.nit:33)
index ca0394a..ee90c12 100644 (file)
@@ -1,5 +1,5 @@
+Runtime error: Cast failed (alt/test_variance_param_alt2.nit)
 AB5
 B5
 5
 B5
-Runtime error: Cast failed (alt/test_variance_param_alt2.nit)
index e25d4f6..ff011a1 100644 (file)
@@ -1,7 +1,7 @@
+Runtime error: Cast failed (alt/test_variance_param_alt3.nit:43)
 AB5
 B5
 5
 B5
 5
 5
-Runtime error: Cast failed (alt/test_variance_param_alt3.nit:43)
index 3da3cda..d80727f 100644 (file)
@@ -1,7 +1,7 @@
+Runtime error: Cast failed (alt/test_variance_param_alt3.nit)
 AB5
 B5
 5
 B5
 5
 5
-Runtime error: Cast failed (alt/test_variance_param_alt3.nit)
index a940a1d..31712f0 100644 (file)
@@ -1,7 +1,7 @@
+Runtime error: Cast failed (alt/test_variance_param_alt4.nit:43)
 AB5
 B5
 5
 B5
 5
 5
-Runtime error: Cast failed (alt/test_variance_param_alt4.nit:43)
index af32c11..02c9a48 100644 (file)
@@ -1,7 +1,7 @@
+Runtime error: Cast failed (alt/test_variance_param_alt4.nit)
 AB5
 B5
 5
 B5
 5
 5
-Runtime error: Cast failed (alt/test_variance_param_alt4.nit)
index 8fb0e0f..919856b 100644 (file)
@@ -1,3 +1,4 @@
+Runtime error: Cast failed (alt/test_variance_param_alt5.nit:44)
 AB5
 B5
 5
@@ -5,4 +6,3 @@ B5
 5
 5
 5
-Runtime error: Cast failed (alt/test_variance_param_alt5.nit:44)
index c77b2c8..a48e73a 100644 (file)
@@ -1,3 +1,4 @@
+Runtime error: Cast failed (alt/test_variance_param_alt5.nit)
 AB5
 B5
 5
@@ -5,4 +6,3 @@ B5
 5
 5
 5
-Runtime error: Cast failed (alt/test_variance_param_alt5.nit)
index 4329a9e..d54a249 100644 (file)
@@ -1,3 +1,4 @@
+Runtime error: Cast failed (alt/test_variance_param_alt6.nit:43)
 AB5
 B5
 5
@@ -10,4 +11,3 @@ B5
 B5
 5
 5
-Runtime error: Cast failed (alt/test_variance_param_alt6.nit:43)
index 7e8e67b..32891be 100644 (file)
@@ -1,3 +1,4 @@
+Runtime error: Cast failed (alt/test_variance_param_alt6.nit)
 AB5
 B5
 5
@@ -10,4 +11,3 @@ B5
 B5
 5
 5
-Runtime error: Cast failed (alt/test_variance_param_alt6.nit)
index e1751dc..8e66db4 100755 (executable)
@@ -327,7 +327,6 @@ END
                        cat "$ff.compile.log" "$ff.cmp.err" > "$ff.res"
                        process_result $bf $bf
                elif [ -x "./$ff.bin" ]; then
-                       cp "$ff.cmp.err" "$ff.res"
                        test -z "$tap" && echo -n ". "
                        # Execute
                        args=""
@@ -335,7 +334,7 @@ END
                                echo ""
                                echo "NIT_NO_STACK=1 ./$ff.bin" $args
                        fi
-                       NIT_NO_STACK=1 "./$ff.bin" $args < "$inputs" >> "$ff.res" 2>"$ff.err"
+                       NIT_NO_STACK=1 "./$ff.bin" $args < "$inputs" > "$ff.res" 2>"$ff.err"
                        if [ "x$verbose" = "xtrue" ]; then
                                cat "$ff.res"
                                cat >&2 "$ff.err"
@@ -345,9 +344,8 @@ END
                        elif [ -d "$ff.write" ]; then
                                LANG=C /bin/ls -F $ff.write >> "$ff.res"
                        fi
-                       if [ -s "$ff.err" ]; then
-                               cat "$ff.err" >> "$ff.res"
-                       fi
+                       cp "$ff.res"  "$ff.res2"
+                       cat "$ff.cmp.err" "$ff.err" "$ff.res2" > "$ff.res"
                        process_result $bf $bf
 
                        if [ -f "$f.args" ]; then
@@ -379,7 +377,8 @@ END
                                                LANG=C /bin/ls -F $fff.write >> "$fff.res"
                                        fi
                                        if [ -s "$fff.err" ]; then
-                                               cat "$fff.err" >> "$fff.res"
+                                               cp "$fff.res"  "$fff.res2"
+                                               cat "$fff.err" "$fff.res2" > "$fff.res"
                                        fi
                                        process_result $bff "  args #$cptr"
                                done < $fargs