Author: kumpera
Date: 2007-06-20 18:52:38 -0400 (Wed, 20 Jun 2007)
New Revision: 80379
Modified:
trunk/mono/mono/tests/verifier/ChangeLog
trunk/mono/mono/tests/verifier/make_tests.sh
Log:
2007-06-20 Rodrigo Kumpera <[EMAIL PROTECTED]>
*make_tests.sh: new ldsfld tests, more call conv tests
Modified: trunk/mono/mono/tests/verifier/ChangeLog
===================================================================
--- trunk/mono/mono/tests/verifier/ChangeLog 2007-06-20 22:36:49 UTC (rev
80378)
+++ trunk/mono/mono/tests/verifier/ChangeLog 2007-06-20 22:52:38 UTC (rev
80379)
@@ -1,7 +1,11 @@
+2007-06-20 Rodrigo Kumpera <[EMAIL PROTECTED]>
+
+ *make_tests.sh: new ldsfld tests, more call conv tests
+
2007-06-19 Rodrigo Kumpera <[EMAIL PROTECTED]>
*make_tests.sh: new ldfld tests (they check everything but visibility)
- *make_field_test.sh: generated the new field tests
+ *make_field_store_test.sh: generated the new field tests
2007-06-14 Rodrigo Kumpera <[EMAIL PROTECTED]>
Modified: trunk/mono/mono/tests/verifier/make_tests.sh
===================================================================
--- trunk/mono/mono/tests/verifier/make_tests.sh 2007-06-20 22:36:49 UTC
(rev 80378)
+++ trunk/mono/mono/tests/verifier/make_tests.sh 2007-06-20 22:52:38 UTC
(rev 80379)
@@ -508,6 +508,12 @@
# Method pointers with different calling conventions.
./make_store_test.sh assign_compat_10_${I} unverifiable "$OP" 'method vararg
int32 *(int32)' 'method int32 *(int32)'
+
+ # Method pointers with different calling conventions. (2)
+ ./make_store_test.sh assign_compat_11_${I} unverifiable "$OP" 'method
unmanaged fastcall int32 *(int32)' 'method int32 *(int32)'
+
+ # Method pointers with different calling conventions. (3)
+ ./make_store_test.sh assign_compat_12_${I} unverifiable "$OP" 'method
unmanaged fastcall int32 *(int32)' 'method unmanaged stdcall int32 *(int32)'
I=`expr $I + 1`
done
@@ -540,6 +546,13 @@
# Method pointers with different calling conventions.
./make_obj_store_test.sh assign_compat_10_${I} invalid "$OP" 'method vararg
int32 *(int32)' 'method int32 *(int32)'
+
+ # Method pointers with different calling conventions. (2)
+ ./make_obj_store_test.sh assign_compat_11_${I} invalid "$OP" 'method
unmanaged fastcall int32 *(int32)' 'method int32 *(int32)'
+
+ # Method pointers with different calling conventions. (3)
+ ./make_obj_store_test.sh assign_compat_12_${I} invalid "$OP" 'method
unmanaged fastcall int32 *(int32)' 'method unmanaged stdcall int32 *(int32)'
+
I=`expr $I + 1`
done
@@ -1132,3 +1145,19 @@
./make_field_store_test.sh field_store_2_25 unverifiable 'ldflda int32
ClassA::const_field' int32 'class ClassA'
+#tests form static field loading
+I=1
+for OP in 'ldsfld' 'ldsflda'
+do
+ #unknown field
+ ./make_field_store_test.sh static_field_store_${I}_1 invalid "${OP}
int32 ClassA::unknown_field\n\tpop" 'class ClassA' 'class ClassA'
+ #non static field
+ ./make_field_store_test.sh static_field_store_${I}_2 invalid "${OP}
int32 ClassA::fld\n\tpop" 'class ClassA' 'class ClassA'
+ #valid
+ ./make_field_store_test.sh static_field_store_${I}_3 valid "${OP} int32
ClassA::sfld\n\tpop" 'class ClassA' 'class ClassA'
+ I=`expr $I + 1`
+done
+
+./make_field_store_test.sh static_field_store_2_25 unverifiable 'ldsflda int32
ClassA::st_const_field\n\tpop' int32 'class ClassA'
+
+
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches