/
Makefile.am
executable file
·2020 lines (1766 loc) · 80 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
SUBDIRS = gc-descriptors . testing_gac
check-local:
ok=:; \
$(MAKE) test-jit || ok=false; \
$(MAKE) test-generic-sharing || ok=false; \
$(MAKE) test-type-load || ok=false; \
$(MAKE) test-multi-netmodule || ok=false; \
$(MAKE) test-cattr-type-load || ok=false; \
$(MAKE) test-reflection-load-with-context || ok=false; \
$(MAKE) test-platform || ok=false; \
$(MAKE) test-console-output || ok=false; \
$(MAKE) test-env-options || ok=false; \
$(MAKE) test-unhandled-exception-2 || ok=false; \
$(MAKE) test-appdomain-unload || ok=false; \
$(MAKE) test-process-stress || ok=false; \
$(MAKE) test-pedump || ok=false; \
$(MAKE) test-internalsvisibleto || ok=false; \
$(MAKE) rm-empty-logs || ok=false; \
$(MAKE) runtest-gac-loading || ok=false; \
$$ok
check-full:
ok=; \
$(MAKE) test-sgen || ok=false; \
$(MAKE) check-local || ok=false; \
$$ok
check-parallel:
ok=; \
$(MAKE) compile-tests; \
$(MAKE) check-full || ok=false; \
$$ok
check-coreclr:
$(MAKE) -C $(mono_build_root)/acceptance-tests check-coreclr
check-stress:
$(MAKE) test-stress-sgen
# for backwards compatibility on Wrench
test-wrench: check-parallel
aotcheck: testaot gshared-aot
JITTEST_PROG = $(if $(VALGRIND), valgrind $(VALGRIND_ARGS),) $(if $(SGEN),$(top_builddir)/mono/mini/mono-sgen,$(top_builddir)/mono/mini/mono)
JITTEST_PROG_RUN = MONO_CFG_DIR=$(mono_build_root)/runtime/etc $(LIBTOOL) --mode=execute $(JITTEST_PROG)
RUNTIME_ARGS=--config tests-config --optimize=all --debug
CLASS=$(mcs_topdir)/class/lib/$(DEFAULT_PROFILE)
with_mono_path = MONO_PATH=$(CLASS)
RUNTIME = $(with_mono_path) $(top_builddir)/runtime/mono-wrapper
TOOLS_RUNTIME = MONO_PATH=$(mcs_topdir)/class/lib/build $(top_builddir)/runtime/mono-wrapper --aot-path=$(mcs_topdir)/class/lib/build
MKBUNDLE = \
PKG_CONFIG_PATH=$(top_builddir):$(PKG_CONFIG_PATH) \
$(RUNTIME) $(CLASS)/mkbundle.exe
if FULL_AOT_TESTS
PROFILE_MCS_FLAGS = -d:MOBILE,MOBILE_LEGACY,FULL_AOT_DESKTOP
endif
if HYBRID_AOT_TESTS
PROFILE_MCS_FLAGS = -d:MOBILE,MOBILE_LEGACY
endif
MCS_NO_LIB = $(TOOLS_RUNTIME) $(CSC) -unsafe -debug:portable \
-noconfig -nologo \
-nowarn:0162 -nowarn:0168 -nowarn:0219 -nowarn:0414 -nowarn:0618 \
-nowarn:0169 -nowarn:1690 -nowarn:0649 -nowarn:0612 -nowarn:3021 \
-nowarn:0197 $(PROFILE_MCS_FLAGS)
MCS = $(MCS_NO_LIB)
ILASM = $(TOOLS_RUNTIME) $(mcs_topdir)/class/lib/build/ilasm.exe
TEST_RUNNER = ./test-runner.exe --runtime $(top_builddir)/runtime/mono-wrapper --mono-path "$(CLASS)"
if FULL_AOT_TESTS
TEST_RUNNER += --runtime-args "$(AOT_RUN_FLAGS)"
endif
if HYBRID_AOT_TESTS
TEST_RUNNER += --runtime-args "$(AOT_RUN_FLAGS)"
endif
if HOST_WIN32
TEST_RUNNER += --config tests-config --runtime $(if $(MONO_EXECUTABLE),$(shell cygpath -w -a $(MONO_EXECUTABLE) | sed 's/\\/\\\\/g'),mono)
else
TEST_RUNNER += --config tests-config --runtime $(if $(MONO_EXECUTABLE),$(MONO_EXECUTABLE),mono)
endif
TEST_RUNNER += $(if $(V), --verbose,)
TESTS_BENCH_SRC=fib.cs random.cs nested-loops.cs ackermann.cs tight-loop.cs sieve.cs
TESTS_STRESS_SRC= \
abort-stress-1.cs \
abort-stress-2.cs \
abort-stress-3.cs \
domain-stress.cs \
gchandle-stress.cs \
monitor-stress.cs \
thread-stress.cs \
gc-stress.cs \
gc-copy-stress.cs \
gc-graystack-stress.cs \
exit-stress.cs \
process-stress.cs \
assembly-load-stress.cs
# Disabled until ?mcs is fixed
# bug-331958.cs
TESTS_CS_SRC= \
generic-unloading-sub.2.cs \
create-instance.cs \
bug-2907.cs \
array-init.cs \
arraylist.cs \
assembly-load-remap.cs \
assemblyresolve_event.cs \
assemblyresolve_event3.cs \
assemblyresolve_event4.cs \
assemblyresolve_event5.cs \
checked.cs \
char-isnumber.cs \
field-layout.cs \
pack-layout.cs \
pack-bug.cs \
hash-table.cs \
test-ops.cs \
obj.cs \
test-dup-mp.cs \
string.cs \
stringbuilder.cs \
switch.cs \
outparm.cs \
delegate.cs \
bitconverter.cs \
exception.cs \
exception2.cs \
exception3.cs \
exception4.cs \
exception5.cs \
exception6.cs \
exception7.cs \
exception8.cs \
exception10.cs \
exception11.cs \
exception12.cs \
exception13.cs \
exception14.cs \
exception15.cs \
exception16.cs \
exception17.cs \
exception18.cs \
typeload-unaligned.cs \
struct.cs \
valuetype-gettype.cs \
typeof-ptr.cs \
static-constructor.cs \
pinvoke.cs \
pinvoke-utf8.cs \
pinvoke3.cs \
pinvoke11.cs \
pinvoke13.cs \
pinvoke17.cs \
invoke.cs \
invoke2.cs \
runtime-invoke.cs \
invoke-string-ctors.cs \
reinit.cs \
box.cs \
array.cs \
enum.cs \
enum2.cs \
enum-intrins.cs \
property.cs \
enumcast.cs \
assignable-tests.cs \
array-cast.cs \
array-subtype-attr.cs \
cattr-compile.cs \
cattr-field.cs \
cattr-object.cs \
custom-attr.cs \
double-cast.cs \
newobj-valuetype.cs \
arraylist-clone.cs \
setenv.cs \
vtype.cs \
isvaluetype.cs \
iface6.cs \
iface7.cs \
ipaddress.cs \
array-vt.cs \
interface1.cs \
reflection-enum.cs \
reflection-prop.cs \
reflection4.cs \
reflection5.cs \
reflection-const-field.cs \
many-locals.cs \
string-compare.cs \
test-prime.cs \
test-tls.cs \
params.cs \
reflection.cs \
interface.cs \
iface.cs \
iface2.cs \
iface3.cs \
iface4.cs \
iface-large.cs \
virtual-method.cs \
intptrcast.cs \
indexer.cs \
stream.cs \
console.cs \
shift.cs \
jit-int.cs \
jit-uint.cs \
jit-long.cs \
long.cs \
jit-ulong.cs \
jit-float.cs \
pop.cs \
time.cs \
pointer.cs \
hashcode.cs \
delegate1.cs \
delegate2.cs \
delegate3.cs \
delegate5.cs \
delegate6.cs \
delegate7.cs \
delegate8.cs \
delegate10.cs \
delegate11.cs \
delegate12.cs \
delegate13.cs \
largeexp.cs \
largeexp2.cs \
marshalbyref1.cs \
static-ctor.cs \
inctest.cs \
bound.cs \
array-invoke.cs \
test-arr.cs \
decimal.cs \
decimal-array.cs \
marshal.cs \
marshal1.cs \
marshal2.cs \
marshal3.cs \
marshal5.cs \
marshal6.cs \
marshal7.cs \
marshal8.cs \
marshal9.cs \
marshalbool.cs \
test-byval-in-struct.cs \
thread.cs \
thread5.cs \
thread-static.cs \
thread-static-init.cs \
context-static.cs \
float-pop.cs \
interfacecast.cs \
array3.cs \
classinit.cs \
classinit2.cs \
classinit3.cs \
synchronized.cs \
async_read.cs \
threadpool.cs \
threadpool1.cs \
threadpool-exceptions1.cs \
threadpool-exceptions2.cs \
threadpool-exceptions3.cs \
threadpool-exceptions4.cs \
threadpool-exceptions5.cs \
threadpool-exceptions6.cs \
base-definition.cs \
bug-27420.cs \
bug-46781.cs \
bug-42136.cs \
bug-59286.cs \
bug-70561.cs \
bug-78311.cs \
bug-78653.cs \
bug-78656.cs \
bug-77127.cs \
bug-323114.cs \
bug-Xamarin-5278.cs \
interlocked.cs \
delegate-async-exit.cs \
delegate-delegate-exit.cs \
delegate-exit.cs \
finalizer-abort.cs \
finalizer-exception.cs \
finalizer-exit.cs \
finalizer-thread.cs \
main-exit.cs \
main-returns-abort-resetabort.cs \
main-returns-background-abort-resetabort.cs \
main-returns-background-resetabort.cs \
main-returns-background.cs \
main-returns-background-change.cs \
main-returns.cs \
subthread-exit.cs \
desweak.cs \
exists.cs \
handleref.cs \
dbnull-missing.cs \
test-type-ctor.cs \
soft-float-tests.cs \
thread-exit.cs \
finalize-parent.cs \
interlocked-2.2.cs \
pinvoke-2.2.cs \
bug-78431.2.cs \
bug-79684.2.cs \
catch-generics.2.cs \
event-get.2.cs \
safehandle.2.cs \
module-cctor-loader.2.cs \
generics-invoke-byref.2.cs \
generic-signature-compare.2.cs \
generics-sharing.2.cs \
shared-generic-methods.2.cs \
shared-generic-synchronized.2.cs \
generic-inlining.2.cs \
generic-initobj.2.cs \
generic-delegate.2.cs \
generic-sizeof.2.cs \
generic-virtual.2.cs \
generic-interface-methods.2.cs \
generic-array-type.2.cs \
generic-method-patching.2.cs \
generic-static-methods.2.cs \
generic-null-call.2.cs \
generic-special.2.cs \
generic-special2.2.cs \
generic-exceptions.2.cs \
generic-virtual2.2.cs \
generic-valuetype-interface.2.cs \
generic-getgenericarguments.2.cs \
generic-synchronized.2.cs \
generic-delegate-ctor.2.cs \
generic-array-iface-set.2.cs \
generic-typedef.2.cs \
bug-431413.2.cs \
bug-459285.2.cs \
generic-virtual-invoke.2.cs \
bug-461198.2.cs \
generic-sealed-virtual.2.cs \
generic-system-arrays.2.cs \
generic-stack-traces.2.cs \
generic-stack-traces2.2.cs \
bug-472600.2.cs \
recursive-generics.2.cs \
bug-473482.2.cs \
bug-473999.2.cs \
bug-479763.2.cs \
bug-616463.cs \
bug-80392.2.cs \
bug-82194.2.cs \
anonarray.2.cs \
ienumerator-interfaces.2.cs \
array-enumerator-ifaces.2.cs \
generic_type_definition_encoding.2.cs \
bug-333798.2.cs \
bug-348522.2.cs \
bug-340662_bug.cs \
bug-325283.2.cs \
thunks.cs \
winx64structs.cs \
nullable_boxing.2.cs \
valuetype-equals.cs \
custom-modifiers.2.cs \
bug-382986.cs \
test-inline-call-stack.cs \
bug-324535.cs \
modules.cs \
bug-81673.cs \
bug-81691.cs \
bug-415577.cs \
filter-stack.cs \
vararg.cs \
vararg2.cs \
bug-461867.cs \
bug-461941.cs \
bug-461261.cs \
bug-400716.cs \
bug-459094.cs \
bug-467456.cs \
bug-508538.cs \
bug-472692.2.cs \
gchandles.cs \
interlocked-3.cs \
interlocked-4.2.cs \
w32message.cs \
gc-altstack.cs \
large-gc-bitmap.cs \
bug-561239.cs \
bug-562150.cs \
bug-599469.cs \
monitor-resurrection.cs \
monitor-wait-abort.cs \
monitor-abort.cs \
bug-666008.cs \
bug-685908.cs \
sgen-long-vtype.cs \
delegate-invoke.cs \
bug-696593.cs \
bug-705140.cs \
bug-1147.cs \
mono-path.cs \
bug-bxc-795.cs \
bug-3903.cs \
async-with-cb-throws.cs \
bug-6148.cs \
bug-10127.cs \
bug-18026.cs \
allow-synchronous-major.cs \
block_guard_restore_aligment_on_exit.cs \
thread_static_gc_layout.cs \
sleep.cs \
bug-27147.cs \
bug-30085.cs \
bug-17537.cs \
pinvoke_ppcc.cs \
pinvoke_ppcs.cs \
pinvoke_ppci.cs \
pinvoke_ppcf.cs \
pinvoke_ppcd.cs \
bug-29585.cs \
priority.cs \
abort-cctor.cs \
thread-native-exit.cs \
reference-loader.cs \
thread-suspend-suspended.cs \
thread-suspend-selfsuspended.cs \
remoting4.cs \
remoting1.cs \
remoting2.cs \
remoting3.cs \
remoting5.cs \
appdomain.cs \
appdomain-client.cs \
appdomain-unload.cs \
appdomain-async-invoke.cs \
appdomain-thread-abort.cs \
appdomain1.cs \
appdomain2.cs \
appdomain-exit.cs \
appdomain-serialize-exception.cs \
assemblyresolve_event2.2.cs \
appdomain-unload-callback.cs \
appdomain-unload-doesnot-raise-pending-events.cs \
appdomain-unload-asmload.cs \
unload-appdomain-on-shutdown.cs \
bug-47295.cs \
loader.cs \
pinvoke2.cs \
generic-type-builder.2.cs \
dynamic-generic-size.cs \
cominterop.cs \
dynamic-method-access.2.cs \
dynamic-method-finalize.2.cs \
dynamic-method-stack-traces.cs \
generic_type_definition.2.cs \
bug-333798-tb.2.cs \
bug-335131.2.cs \
bug-322722_patch_bx.2.cs \
bug-322722_dyn_method_throw.2.cs \
bug-389886-2.cs \
bug-349190.2.cs \
bug-389886-sre-generic-interface-instances.cs \
bug-462592.cs \
bug-575941.cs \
bug-389886-3.cs \
constant-division.cs \
dynamic-method-resurrection.cs \
bug-80307.cs \
assembly_append_ordering.cs \
bug-544446.cs \
bug-36848.cs \
generic-marshalbyref.2.cs \
stackframes-async.2.cs \
transparentproxy.cs \
bug-48015.cs \
delegate9.cs \
marshal-valuetypes.cs \
xdomain-threads.cs \
monitor.cs \
generic-xdomain.2.cs \
threadpool-exceptions7.cs \
cross-domain.cs \
generic-unloading.2.cs \
namedmutex-destroy-race.cs \
thread6.cs \
appdomain-threadpool-unload.cs \
process-unref-race.cs \
bug-46661.cs \
w32message.cs \
runtime-invoke.gen.cs \
imt_big_iface_test.cs
if AMD64
TESTS_CS_SRC += async-exc-compilation.cs finally_guard.cs finally_block_ending_in_dead_bb.cs
endif
if X86
TESTS_CS_SRC += async-exc-compilation.cs finally_guard.cs finally_block_ending_in_dead_bb.cs
endif
TESTS_IL_SRC= \
field-access.il \
method-access.il \
ldftn-access.il \
cpblkTest.il \
vbinterface.il \
calliTest.il \
calliGenericTest.il \
ckfiniteTest.il \
fault-handler.il \
locallocTest.il \
initblkTest.il \
qt-instance.il \
vararg.il \
bug-29859.il \
bug-78549.il \
static-fields-nonconst.il \
reload-at-bb-end.il \
test-enum-indstoreil.il \
filter-bug.il \
even-odd.il \
bug-82022.il \
vt-sync-method.il \
enum_types.il \
invalid-token.il \
call_missing_method.il \
call_missing_class.il \
ldfld_missing_field.il \
ldfld_missing_class.il \
find-method.2.il \
bug-79215.2.il \
bug-79956.2.il \
bug-327438.2.il \
bug-387274.2.il \
bug-426309.2.il \
ldtoken_with_byref_typespec.2.il \
resolve_method_bug.2.il \
resolve_field_bug.2.il \
resolve_type_bug.2.il \
generics-sharing-other-exc.2.il \
generic-ldobj.2.il \
generic-mkrefany.2.il \
generic-refanyval.2.il \
generic-ldtoken.2.il \
generic-ldtoken-method.2.il \
generic-ldtoken-field.2.il \
generic-tailcall.2.il \
generic-tailcall2.2.il \
generic-array-exc.2.il \
generic-valuetype-newobj2.2.il \
generic-valuetype-newobj.2.il \
generic-constrained.2.il \
generic-type-load-exception.2.il \
bug-81466.il \
bug457574.il \
bug445361.il \
bug-463303.il \
bug469742.2.il \
bug-528055.il \
array_load_exception.il \
bug-481403.il \
interface-with-static-method.il \
bug-633291.il \
delegate-with-null-target.il \
bug-318677.il \
gsharing-valuetype-layout.il \
invalid_generic_instantiation.il \
bug-45841-fpstack-exceptions.il \
instance_tailrec.il
TESTS_GSHARED_SRC = \
generics-sharing.2.cs \
shared-generic-methods.2.cs \
shared-generic-synchronized.2.cs \
generic-initobj.2.cs \
generics-sharing-other-exc.2.cs \
generic-box.2.cs \
generic-unbox.2.cs \
generic-delegate.2.cs \
generic-sizeof.2.cs \
generic-ldobj.2.cs \
generic-mkrefany.2.cs \
generic-refanyval.2.cs \
generic-ldtoken.2.cs \
generic-ldtoken-method.2.cs \
generic-ldtoken-field.2.cs \
generic-virtual.2.cs \
generic-tailcall.2.cs \
generic-interface-methods.2.cs \
generic-array-type.2.cs \
generic-method-patching.2.cs \
generic-static-methods.2.cs \
generic-null-call.2.cs \
generic-tailcall2.2.cs \
generic-array-exc.2.cs \
generic-special.2.cs \
generic-special2.2.cs \
generic-exceptions.2.cs \
generic-delegate2.2.cs \
generic-virtual2.2.cs \
generic-valuetype-interface.2.cs \
generic-valuetype-newobj.2.cs \
generic-valuetype-newobj2.2.cs \
generic-getgenericarguments.2.cs \
generic-synchronized.2.cs \
generic-delegate-ctor.2.cs \
generic-constrained.2.cs \
bug-431413.2.cs \
generic-virtual-invoke.2.cs \
generic-typedef.2.cs \
generic-marshalbyref.2.cs \
bug-459285.2.cs \
bug-461198.2.cs \
generic-sealed-virtual.2.cs \
generic-system-arrays.2.cs \
generic-stack-traces.2.cs \
generic-stack-traces2.2.cs \
bug-472600.2.cs \
bug-473482.2.cs \
bug-473999.2.cs \
bug-479763.2.cs \
generic-type-load-exception.2.cs \
bug-616463.cs \
bug-1147.cs \
generic-type-builder.2.cs
if AMD64
# #651684
PLATFORM_DISABLED_TESTS = finally_guard.exe
if HOST_WIN32
PLATFORM_DISABLED_TESTS += w32message.exe
endif
endif
if X86
if HOST_WIN32
PLATFORM_DISABLED_TESTS=async-exc-compilation.exe finally_guard.exe finally_block_ending_in_dead_bb.exe \
bug-18026.exe monitor.exe threadpool-exceptions5.exe process-unref-race.exe w32message.exe \
unhandled-exception-1.exe unhandled-exception-2.exe unhandled-exception-3.exe unhandled-exception-4.exe \
unhandled-exception-5.exe unhandled-exception-6.exe unhandled-exception-7.exe unhandled-exception-8.exe
endif
endif
if POWERPC
# bug #71274
PLATFORM_DISABLED_TESTS=finalizer-abort.exe finalizer-exception.exe finalizer-exit.exe
endif
if POWERPC64
# FIXME: These tests hang/fail for unknown reasons
PLATFORM_DISABLED_TESTS=monitor.exe threadpool-exceptions5.exe appdomain-thread-abort.exe appdomain-unload.exe \
pinvoke2.exe pinvoke3.exe pinvoke11.exe threadpool-exceptions7.exe winx64structs.exe bug-10127.exe pinvoke_ppcc.exe \
pinvoke_ppcs.exe pinvoke_ppci.exe pinvoke_ppcf.exe pinvoke_ppcd.exe abort-cctor.exe load-exceptions.exe \
sgen-domain-unload-2.exe sgen-weakref-stress.exe sgen-cementing-stress.exe sgen-new-threads-dont-join-stw.exe \
sgen-new-threads-dont-join-stw-2.exe sgen-new-threads-collect.exe sgen-bridge.exe
endif
if ARM
PLATFORM_DISABLED_TESTS=filter-stack.exe
INTERP_DISABLED_TESTS_PLATFORM=finalizer-exception.exe main-returns-abort-resetabort.exe block_guard_restore_aligment_on_exit.exe \
delegate-exit.exe delegate-exit.exe delegate-delegate-exit.exe delegate-async-exit.exe delegate3.exe delegate1.exe
endif
if ARM64
INTERP_DISABLED_TESTS_PLATFORM=finalizer-exception.exe main-returns-abort-resetabort.exe block_guard_restore_aligment_on_exit.exe
endif
if MIPS
# monitor.exe is racy
PLATFORM_DISABLED_TESTS=filter-stack.exe monitor.exe
endif
if S390X
PLATFORM_DISABLED_TESTS=dynamic-method-resurrection.exe
#PLATFORM_DISABLED_TESTS=dynamic-method-resurrection.exe exception17.exe
PLATFORM_DISABLED_TESTS += \
sgen-toggleref.exe \
sgen-bridge.exe \
sgen-bridge-major-fragmentation.exe \
sgen-bridge-xref.exe
endif
if ENABLE_COOP
COOP_DISABLED_TESTS= thunks.exe
else
COOP_DISABLED_TESTS=
endif
PROFILE_DISABLED_TESTS=
if FULL_AOT_TESTS
# Tests which rely on TypeLoadExceptions
# In full-aot mode, these cause the relevant methods to be not AOTed.
PROFILE_DISABLED_TESTS += \
typeload-unaligned.exe \
field-access.exe \
invalid_generic_instantiation.exe \
bug-481403.exe \
array_ldelema.exe \
array_load_exception.exe \
bug445361.exe \
generic-type-load-exception.2.exe \
invalid-token.exe \
call_missing_method.exe \
call_missing_class.exe \
ldfld_missing_field.exe \
ldfld_missing_class.exe \
vt-sync-method.exe \
resolve_method_bug.2.exe \
resolve_field_bug.2.exe \
resolve_type_bug.2.exe \
bug-81691.exe \
bug-327438.2.exe
# Tests which rely on remoting
PROFILE_DISABLED_TESTS += \
context-static.exe \
bug-415577.exe \
generic-marshalbyref.2.exe \
unhandled-exception-7.exe
# Tests which use unsupported pinvoke+full aot
# functionality
PROFILE_DISABLED_TESTS += \
marshal.exe \
marshal2.exe \
marshal6.exe \
marshal7.exe \
marshal8.exe \
pinvoke-2.2.exe \
pinvoke3.exe \
thunks.exe
# Tests which load assemblies which are not
# in the testing_aot_full profile
PROFILE_DISABLED_TESTS += \
assembly-load-remap.exe
# Test which needs remoting support
PROFILE_DISABLED_TESTS += \
remoting4.exe \
remoting1.exe \
remoting2.exe \
remoting3.exe \
remoting5.exe
# Tests which needs AppDomain support
PROFILE_DISABLED_TESTS += \
appdomain.exe \
appdomain-client.exe \
appdomain-unload.exe \
appdomain-async-invoke.exe \
appdomain-thread-abort.exe \
appdomain1.exe \
appdomain2.exe \
appdomain-exit.exe \
appdomain-unload-asmload.exe \
appdomain-unload-callback.exe \
appdomain-unload-doesnot-raise-pending-events.exe \
unload-appdomain-on-shutdown.exe \
assemblyresolve_event2.2.exe \
bug-544446.exe \
bug-36848.exe \
generic-marshalbyref.2.exe \
stackframes-async.2.exe \
transparentproxy.exe \
bug-48015.exe \
delegate9.exe \
marshal-valuetypes.exe \
xdomain-threads.exe \
monitor.exe \
generic-xdomain.2.exe \
threadpool-exceptions7.exe \
cross-domain.exe \
generic-unloading.2.exe \
appdomain-threadpool-unload.exe
# Tests which needs System.Reflection.Emit support
PROFILE_DISABLED_TESTS += \
bug-47295.exe \
loader.exe \
pinvoke2.exe \
generic-type-builder.2.exe \
dynamic-generic-size.exe \
cominterop.exe \
dynamic-method-access.2.exe \
dynamic-method-finalize.2.exe \
dynamic-method-stack-traces.exe \
generic_type_definition.2.exe \
bug-333798-tb.2.exe \
bug-335131.2.exe \
bug-322722_patch_bx.2.exe \
bug-322722_dyn_method_throw.2.exe \
bug-389886-2.exe \
bug-349190.2.exe \
bug-389886-sre-generic-interface-instances.exe \
bug-462592.exe \
bug-575941.exe \
bug-389886-3.exe \
constant-division.exe \
dynamic-method-resurrection.exe \
assembly_append_ordering.exe \
assemblyresolve_event5.exe
# Test which needs System.Web support
PROFILE_DISABLED_TESTS += \
bug-80307.exe
# Tests which needs named Mutex support
PROFILE_DISABLED_TESTS += \
namedmutex-destroy-race.exe
# ThreadAbortException doesn't have necessary field for this test
PROFILE_DISABLED_TESTS += \
thread6.exe
# can't AOT the TestingReferenceAssembly.dll which is a dependency
# of reference-loader.exe because it contains the [ReferenceAssemblyAttribute]
# and the runtime errors out with "File does not contain a valid CIL image."
PROFILE_DISABLED_TESTS += \
reference-loader.exe
# constraints-load.il:
# Failed to load method 0x6000007 from '..../mono/tests/constraints-load.exe' due to
# Could not resolve type with token 01000002 assembly:mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 type:System.BrokenIComparable`1 member:<none>.
PROFILE_DISABLED_TESTS += \
constraints-load.exe \
bug-515884.exe
PROFILE_DISABLED_TESTS += \
generic-type-builder.2.exe
PROFILE_DISABLED_TESTS += \
sgen-domain-unload.exe \
sgen-domain-unload-2.exe
PROFILE_DISABLED_TESTS += \
appdomain-loader.exe \
assemblyresolve_event3.exe \
appdomain-serialize-exception.exe
endif
if HYBRID_AOT_TESTS
PROFILE_DISABLED_TESTS += \
bug-80307.exe \
namedmutex-destroy-race.exe
endif
AOT_DISABLED_TESTS= \
constraints-load.exe
CI_DISABLED_TESTS = \
main-returns-background-resetabort.exe \
main-returns-background-abort-resetabort.exe \
assemblyresolve_event3.exe \
delegate2.exe \
finally_guard.exe \
generic-xdomain.2.exe
# failing tests which we temporarily disable for PRs
# so they don't interfere with other people's work
CI_PR_DISABLED_TESTS = \
appdomain-threadpool-unload.exe \
appdomain-thread-abort.exe
# appdomain-threadpool-unload.exe creates 100 appdomains, takes too long with llvm
LLVM_DISABLED_TESTS = \
appdomain-threadpool-unload.exe
LLVM = $(filter --llvm, $(MONO_ENV_OPTIONS))
# The two finalizer tests only work under sgen
# gc-altstack.exe fails under boehm because it has no support for altstack
# bug-459094.exe creates an extremely deep directory tree
# delegate-invoke.exe depends on 929c6bc9b6d76a273f251e6f5dfacac36e9c38bd which was
# reverted.
# bug-Xamarin-5278.exe got broken by 5d26590e79da139a284459299aee95c25f4cd835
# appdomain-thread-abort.exe: https://bugzilla.xamarin.com/show_bug.cgi?id=47054
KNOWN_FAILING_TESTS = \
delegate-async-exception.exe \
bug-348522.2.exe \
bug-459094.exe \
delegate-invoke.exe \
bug-Xamarin-5278.exe \
appdomain-thread-abort.exe
DISABLED_TESTS = \
$(KNOWN_FAILING_TESTS) \
$(PLATFORM_DISABLED_TESTS) \
$(EXTRA_DISABLED_TESTS) \
$(COOP_DISABLED_TESTS) \
$(PROFILE_DISABLED_TESTS) \
$(if $(AOT),$(AOT_DISABLED_TESTS)) \
$(if $(CI),$(CI_DISABLED_TESTS)) \
$(if $(CI_PR),$CI_PR_DISABLED_TESTS) \
$(if $(LLVM),$(LLVM_DISABLED_TESTS))
INTERP_DISABLED_TESTS = \
$(CI_PR_DISABLED_TESTS) \
$(CI_DISABLED_TESTS) \
$(KNOWN_FAILING_TESTS) \
$(INTERP_DISABLED_TESTS_PLATFORM) \
abort-cctor.exe \
appdomain-async-invoke.exe \
appdomain-exit.exe \
appdomain-serialize-exception.exe \
appdomain-unload-asmload.exe \
appdomain-unload-callback.exe \
appdomain-unload-doesnot-raise-pending-events.exe \
appdomain-unload.exe \
appdomain.exe \
appdomain1.exe \
appdomain2.exe \
array_load_exception.exe \
assembly_append_ordering.exe \
assemblyresolve_event4.exe \
async-exc-compilation.exe \
async-with-cb-throws.exe \
async_read.exe \
bug-18026.exe \
bug-2907.exe \
bug-323114.exe \
bug-327438.2.exe \
bug-335131.2.exe \
bug-415577.exe \
bug-45841-fpstack-exceptions.exe \
bug-461867.exe \
bug-461941.exe \
bug-46661.exe \
bug-47295.exe \
bug-48015.exe \
bug-544446.exe \
bug-685908.exe \
bug-80307.exe \
bug-80392.2.exe \
bug-81673.exe \
bug-82022.exe \
bug445361.exe \
call_missing_class.exe \
call_missing_method.exe \
calliGenericTest.exe \
cominterop.exe \
context-static.exe \
cross-domain.exe \
delegate-with-null-target.exe \
delegate9.exe \
dynamic-method-stack-traces.exe \
even-odd.exe \
exception18.exe \
field-access.exe \
finally_block_ending_in_dead_bb.exe \
generic-array-exc.2.exe \
generic-marshalbyref.2.exe \
generic-mkrefany.2.exe \
generic-refanyval.2.exe \
generic-stack-traces2.2.exe \
generic-type-load-exception.2.exe \
generic-unloading.2.exe \
generics-invoke-byref.2.exe \
generics-sharing.2.exe \
handleref.exe \
invalid-token.exe \
invalid_generic_instantiation.exe \
ldfld_missing_class.exe \
ldfld_missing_field.exe \
ldftn-access.exe \
main-returns-background-change.exe \
marshal-valuetypes.exe \
marshal.exe \
marshal2.exe \
marshal8.exe \
marshal9.exe \