[Mono-devel-list] make run-test broken in mcs/tests
Marek Safar
marek.safar at seznam.cz
Mon Nov 1 09:15:01 EST 2004
Hello Eno,
>I tried to do "make run-test" under mcs (under cygwin), but it
>resulted in a bunch of errors that are related to resource files.
>
>hari: maybe you would be able to fix it? It seems related to the
>new harness.mk.
>
>
Yes, I have the same problem. The problem is caused by new harness.mk
because it creates for every test file link to the original c# test
file. Unfortunately the behavior of this link file
is not same as on Linux because mcs tries to open "link" file instead of
original "cs" file. Probably some bug in BCL or cygwin.
But worse is that this test routine is really slow. Hari why do you have
to create these link files when you need just read from c# files ?
Eno: I can send you my changed harness.mk if you need it immediately.
Marek
>Thanks,
>Atsushi Eno
>
>
>------------------------------------------------------------------------
>
>$ make run-test
>make run-test-local
>make[1]: Entering directory `/home/_/cvs/mcs/tests'
>MONO_PATH="../class/lib/default;$MONO_PATH" mono --debug ../mcs/mcs.exe -target
>:library pi.cs
>
>** (../mcs/mcs.exe:2532): WARNING **: Symbol file C:\cygwin\home\_\cvs\mcs\tests
>\../mcs/mcs.exe.mdb doesn't match image C:\cygwin\home\_\cvs\mcs\tests\../mcs/mc
>s.exe
>Compilation succeeded
>MONO_PATH="../class/lib/default;$MONO_PATH" mono --debug ../mcs/mcs.exe -target
>:library pp.cs
>
>** (../mcs/mcs.exe:2440): WARNING **: Symbol file C:\cygwin\home\_\cvs\mcs\tests
>\../mcs/mcs.exe.mdb doesn't match image C:\cygwin\home\_\cvs\mcs\tests\../mcs/mc
>s.exe
>Compilation succeeded
>MONO_PATH="../class/lib/default;$MONO_PATH" mono --debug ../mcs/mcs.exe pu.cs -
>r:pi.dll -r:pp.dll
>
>** (../mcs/mcs.exe:2536): WARNING **: Symbol file C:\cygwin\home\_\cvs\mcs\tests
>\../mcs/mcs.exe.mdb doesn't match image C:\cygwin\home\_\cvs\mcs\tests\../mcs/mc
>s.exe
>Compilation succeeded
>MONO_PATH="../class/lib/default;$MONO_PATH" mono --debug ../mcs/mcs.exe pu.cs -
>r:pp.dll -r:pi.dll
>
>** (../mcs/mcs.exe:1684): WARNING **: Symbol file C:\cygwin\home\_\cvs\mcs\tests
>\../mcs/mcs.exe.mdb doesn't match image C:\cygwin\home\_\cvs\mcs\tests\../mcs/mc
>s.exe
>Compilation succeeded
>mono --debug ../ilasm/ilasm.exe /dll property-il.il
>Assembling 'property-il.il' , no listing file, to dll --> 'property-il.dll'
>
>Assembled method C::add_Arg
>Assembled method C::get_Value
>Assembled method C::.ctor
>Assembled method Foo::Monkey_Jump
>Assembled method Foo::.ctor
>Assembled method Bar::Boston
>Assembled method Bar::.ctor
>Operation completed successfully
>MONO_PATH="../class/lib/default;$MONO_PATH" mono --debug ../mcs/mcs.exe /r:prop
>erty-il.dll property-main.cs /out:property-main.exe
>
>** (../mcs/mcs.exe:2536): WARNING **: Symbol file C:\cygwin\home\_\cvs\mcs\tests
>\../mcs/mcs.exe.mdb doesn't match image C:\cygwin\home\_\cvs\mcs\tests\../mcs/mc
>s.exe
>Compilation succeeded
>MONO_PATH="../class/lib/default;;$MONO_PATH" mono --debug --debug property-main.
>exe
>Test ok
>echo Multi-assembly test passes
>Multi-assembly test passes
>make[2]: Entering directory `/home/_/cvs/mcs/tests'
>Running mcs tests with flags "MONO_PATH="../class/lib/default;;$MONO_PATH" mono
>--debug --debug" ...
>make[3]: Entering directory `/home/_/cvs/mcs/tests/dir-mcs'
>Syntax error: ";;" unexpected (expecting "fi")
>make[3]: *** [test-1.res] Error 2
>make[3]: Leaving directory `/home/_/cvs/mcs/tests/dir-mcs'
>cat: test-1.res: No such file or directory
>cat: test-2.res: No such file or directory
>cat: test-3.res: No such file or directory
>cat: test-4.res: No such file or directory
>cat: test-5.res: No such file or directory
>cat: test-6.res: No such file or directory
>cat: test-7.res: No such file or directory
>cat: test-8.res: No such file or directory
>cat: test-9.res: No such file or directory
>cat: test-10.res: No such file or directory
>cat: test-11.res: No such file or directory
>cat: test-12.res: No such file or directory
>cat: test-13.res: No such file or directory
>cat: test-14.res: No such file or directory
>cat: test-15.res: No such file or directory
>cat: test-16.res: No such file or directory
>cat: test-17.res: No such file or directory
>cat: test-18.res: No such file or directory
>cat: test-19.res: No such file or directory
>cat: test-20.res: No such file or directory
>cat: test-21.res: No such file or directory
>cat: test-22.res: No such file or directory
>cat: test-23.res: No such file or directory
>cat: test-24.res: No such file or directory
>cat: test-25.res: No such file or directory
>cat: test-26.res: No such file or directory
>cat: test-27.res: No such file or directory
>cat: test-28.res: No such file or directory
>cat: test-29.res: No such file or directory
>cat: test-30.res: No such file or directory
>cat: test-31.res: No such file or directory
>cat: test-32.res: No such file or directory
>cat: test-33.res: No such file or directory
>cat: test-34.res: No such file or directory
>cat: test-35.res: No such file or directory
>cat: test-36.res: No such file or directory
>cat: test-37.res: No such file or directory
>cat: test-38.res: No such file or directory
>cat: test-39.res: No such file or directory
>cat: test-40.res: No such file or directory
>cat: test-41.res: No such file or directory
>cat: test-42.res: No such file or directory
>cat: test-43.res: No such file or directory
>cat: test-44.res: No such file or directory
>cat: test-45.res: No such file or directory
>cat: test-46.res: No such file or directory
>cat: test-47.res: No such file or directory
>cat: test-48.res: No such file or directory
>cat: test-49.res: No such file or directory
>cat: test-51.res: No such file or directory
>cat: test-52.res: No such file or directory
>cat: test-53.res: No such file or directory
>cat: test-54.res: No such file or directory
>cat: test-55.res: No such file or directory
>cat: test-56.res: No such file or directory
>cat: test-57.res: No such file or directory
>cat: test-58.res: No such file or directory
>cat: test-59.res: No such file or directory
>cat: test-60.res: No such file or directory
>cat: test-61.res: No such file or directory
>cat: test-62.res: No such file or directory
>cat: test-63.res: No such file or directory
>cat: test-64.res: No such file or directory
>cat: test-65.res: No such file or directory
>cat: test-66.res: No such file or directory
>cat: test-68.res: No such file or directory
>cat: test-69.res: No such file or directory
>cat: test-70.res: No such file or directory
>cat: test-71.res: No such file or directory
>cat: test-72.res: No such file or directory
>cat: test-73.res: No such file or directory
>cat: test-74.res: No such file or directory
>cat: test-75.res: No such file or directory
>cat: test-76.res: No such file or directory
>cat: test-77.res: No such file or directory
>cat: test-78.res: No such file or directory
>cat: test-79.res: No such file or directory
>cat: test-80.res: No such file or directory
>cat: test-81.res: No such file or directory
>cat: test-82.res: No such file or directory
>cat: test-83.res: No such file or directory
>cat: test-84.res: No such file or directory
>cat: test-85.res: No such file or directory
>cat: test-86.res: No such file or directory
>cat: test-87.res: No such file or directory
>cat: test-88.res: No such file or directory
>cat: test-89.res: No such file or directory
>cat: test-90.res: No such file or directory
>cat: test-91.res: No such file or directory
>cat: test-92.res: No such file or directory
>cat: test-93.res: No such file or directory
>cat: test-94.res: No such file or directory
>cat: test-95.res: No such file or directory
>cat: test-96.res: No such file or directory
>cat: test-97.res: No such file or directory
>cat: test-98.res: No such file or directory
>cat: test-99.res: No such file or directory
>cat: test-100.res: No such file or directory
>cat: test-101.res: No such file or directory
>cat: test-102.res: No such file or directory
>cat: test-103.res: No such file or directory
>cat: test-104.res: No such file or directory
>cat: test-106.res: No such file or directory
>cat: test-107.res: No such file or directory
>cat: test-108.res: No such file or directory
>cat: test-109.res: No such file or directory
>cat: test-110.res: No such file or directory
>cat: test-111.res: No such file or directory
>cat: test-112.res: No such file or directory
>cat: test-113.res: No such file or directory
>cat: test-114.res: No such file or directory
>cat: test-115.res: No such file or directory
>cat: test-116.res: No such file or directory
>cat: test-117.res: No such file or directory
>cat: test-118.res: No such file or directory
>cat: test-119.res: No such file or directory
>cat: test-121.res: No such file or directory
>cat: test-122.res: No such file or directory
>cat: test-123.res: No such file or directory
>cat: test-125.res: No such file or directory
>cat: test-126.res: No such file or directory
>cat: test-127.res: No such file or directory
>cat: test-128.res: No such file or directory
>cat: test-129.res: No such file or directory
>cat: test-130.res: No such file or directory
>cat: test-131.res: No such file or directory
>cat: test-134.res: No such file or directory
>cat: test-135.res: No such file or directory
>cat: test-136.res: No such file or directory
>cat: test-137.res: No such file or directory
>cat: test-138.res: No such file or directory
>cat: test-139.res: No such file or directory
>cat: test-140.res: No such file or directory
>cat: test-141.res: No such file or directory
>cat: test-142.res: No such file or directory
>cat: test-143.res: No such file or directory
>cat: test-144.res: No such file or directory
>cat: test-145.res: No such file or directory
>cat: test-146.res: No such file or directory
>cat: test-147.res: No such file or directory
>cat: test-148.res: No such file or directory
>cat: test-149.res: No such file or directory
>cat: test-150.res: No such file or directory
>cat: test-151.res: No such file or directory
>cat: test-152.res: No such file or directory
>cat: test-153.res: No such file or directory
>cat: test-154.res: No such file or directory
>cat: test-155.res: No such file or directory
>cat: test-156.res: No such file or directory
>cat: test-157.res: No such file or directory
>cat: test-158.res: No such file or directory
>cat: test-159.res: No such file or directory
>cat: test-160.res: No such file or directory
>cat: test-161.res: No such file or directory
>cat: test-162.res: No such file or directory
>cat: test-163.res: No such file or directory
>cat: test-164.res: No such file or directory
>cat: test-165.res: No such file or directory
>cat: test-166.res: No such file or directory
>cat: test-167.res: No such file or directory
>cat: test-168.res: No such file or directory
>cat: test-169.res: No such file or directory
>cat: test-170.res: No such file or directory
>cat: test-171.res: No such file or directory
>cat: test-172.res: No such file or directory
>cat: test-173.res: No such file or directory
>cat: test-174.res: No such file or directory
>cat: test-175.res: No such file or directory
>cat: test-176.res: No such file or directory
>cat: test-177.res: No such file or directory
>cat: test-178.res: No such file or directory
>cat: test-179.res: No such file or directory
>cat: test-180.res: No such file or directory
>cat: test-181.res: No such file or directory
>cat: test-182.res: No such file or directory
>cat: test-183.res: No such file or directory
>cat: test-184.res: No such file or directory
>cat: test-185.res: No such file or directory
>cat: test-186.res: No such file or directory
>cat: test-187.res: No such file or directory
>cat: test-188.res: No such file or directory
>cat: test-189.res: No such file or directory
>cat: test-190.res: No such file or directory
>cat: test-191.res: No such file or directory
>cat: test-192.res: No such file or directory
>cat: test-193.res: No such file or directory
>cat: test-194.res: No such file or directory
>cat: test-195.res: No such file or directory
>cat: test-196.res: No such file or directory
>cat: test-197.res: No such file or directory
>cat: test-198.res: No such file or directory
>cat: test-199.res: No such file or directory
>cat: test-200.res: No such file or directory
>cat: test-201.res: No such file or directory
>cat: test-202.res: No such file or directory
>cat: test-203.res: No such file or directory
>cat: test-204.res: No such file or directory
>cat: test-205.res: No such file or directory
>cat: test-206.res: No such file or directory
>cat: test-207.res: No such file or directory
>cat: test-208.res: No such file or directory
>cat: test-209.res: No such file or directory
>cat: test-210.res: No such file or directory
>cat: test-211.res: No such file or directory
>cat: test-212.res: No such file or directory
>cat: test-213.res: No such file or directory
>cat: test-214.res: No such file or directory
>cat: test-215.res: No such file or directory
>cat: test-216.res: No such file or directory
>cat: test-217.res: No such file or directory
>cat: test-218.res: No such file or directory
>cat: test-219.res: No such file or directory
>cat: test-220.res: No such file or directory
>cat: test-221.res: No such file or directory
>cat: test-222.res: No such file or directory
>cat: test-223.res: No such file or directory
>cat: test-224.res: No such file or directory
>cat: test-225.res: No such file or directory
>cat: test-226.res: No such file or directory
>cat: test-227.res: No such file or directory
>cat: test-229.res: No such file or directory
>cat: test-230.res: No such file or directory
>cat: test-231.res: No such file or directory
>cat: test-232.res: No such file or directory
>cat: test-233.res: No such file or directory
>cat: test-234.res: No such file or directory
>cat: test-235.res: No such file or directory
>cat: test-236.res: No such file or directory
>cat: test-237.res: No such file or directory
>cat: test-238.res: No such file or directory
>cat: test-239.res: No such file or directory
>cat: test-240.res: No such file or directory
>cat: test-241.res: No such file or directory
>cat: test-242.res: No such file or directory
>cat: test-243.res: No such file or directory
>cat: test-244.res: No such file or directory
>cat: test-245.res: No such file or directory
>cat: test-246.res: No such file or directory
>cat: test-247.res: No such file or directory
>cat: test-248.res: No such file or directory
>cat: test-249.res: No such file or directory
>cat: test-250.res: No such file or directory
>cat: test-251.res: No such file or directory
>cat: test-252.res: No such file or directory
>cat: test-253.res: No such file or directory
>cat: test-254.res: No such file or directory
>cat: test-255.res: No such file or directory
>cat: test-256.res: No such file or directory
>cat: test-257.res: No such file or directory
>cat: test-258.res: No such file or directory
>cat: test-260.res: No such file or directory
>cat: test-261.res: No such file or directory
>cat: test-262.res: No such file or directory
>cat: test-263.res: No such file or directory
>cat: test-264.res: No such file or directory
>cat: test-265.res: No such file or directory
>cat: test-266.res: No such file or directory
>cat: test-267.res: No such file or directory
>cat: test-268.res: No such file or directory
>cat: test-269.res: No such file or directory
>cat: test-270.res: No such file or directory
>cat: test-271.res: No such file or directory
>cat: test-272.res: No such file or directory
>cat: test-273.res: No such file or directory
>cat: test-274.res: No such file or directory
>cat: test-275.res: No such file or directory
>cat: test-276.res: No such file or directory
>cat: test-277.res: No such file or directory
>cat: test-278.res: No such file or directory
>cat: test-279.res: No such file or directory
>cat: test-280.res: No such file or directory
>cat: test-281.res: No such file or directory
>cat: test-282.res: No such file or directory
>cat: test-283.res: No such file or directory
>cat: test-284.res: No such file or directory
>cat: test-285.res: No such file or directory
>cat: test-286.res: No such file or directory
>cat: test-288.res: No such file or directory
>cat: test-289.res: No such file or directory
>cat: test-290.res: No such file or directory
>cat: test-291.res: No such file or directory
>cat: test-292.res: No such file or directory
>cat: test-293.res: No such file or directory
>cat: test-295.res: No such file or directory
>cat: test-296.res: No such file or directory
>cat: test-298.res: No such file or directory
>cat: cls-test-0.res: No such file or directory
>cat: cls-test-1.res: No such file or directory
>cat: cls-test-2.res: No such file or directory
>cat: cls-test-3.res: No such file or directory
>cat: cls-test-5.res: No such file or directory
>cat: cls-test-6.res: No such file or directory
>cat: cls-test-7.res: No such file or directory
>cat: cls-test-10.res: No such file or directory
>cat: cls-test-11.res: No such file or directory
>cat: cls-test-14.res: No such file or directory
>cat: cls-test-15.res: No such file or directory
>cat: cls-test-16.res: No such file or directory
>cat: 2test-1.res: No such file or directory
>cat: 2test-2.res: No such file or directory
>cat: 2test-3.res: No such file or directory
>cat: 2test-4.res: No such file or directory
>cat: 2test-5.res: No such file or directory
>cat: 2test-6.res: No such file or directory
>cat: 2test-7.res: No such file or directory
>cat: 2test-8.res: No such file or directory
>cat: 2test-9.res: No such file or directory
>cat: 2test-10.res: No such file or directory
>cat: 2test-11.res: No such file or directory
>cat: 2test-12.res: No such file or directory
>cat: 2test-13.res: No such file or directory
>cat: 2test-14.res: No such file or directory
>cat: unsafe-1.res: No such file or directory
>cat: unsafe-2.res: No such file or directory
>cat: unsafe-3.res: No such file or directory
>cat: unsafe-5.res: No such file or directory
>cat: unsafe-6.res: No such file or directory
>cat: unsafe-7.res: No such file or directory
>cat: unsafe-8.res: No such file or directory
>cat: unsafe-9.res: No such file or directory
>cat: unsafe-10.res: No such file or directory
>cat: mtest-1-dll.res: No such file or directory
>cat: mtest-1-exe.res: No such file or directory
>cat: dll-1.res: No such file or directory
>cat: prog-1.res: No such file or directory
>cat: dll-2.res: No such file or directory
>cat: prog-2.res: No such file or directory
>cat: conv-lib.res: No such file or directory
>cat: conv-main.res: No such file or directory
>cat: vararg-lib.res: No such file or directory
>cat: vararg-exe.res: No such file or directory
>cat: module-1.res: No such file or directory
>cat: module-2.res: No such file or directory
>cat: module-3.res: No such file or directory
>cat: ns0.res: No such file or directory
>cat: ns.res: No such file or directory
>cat: xml-001.res: No such file or directory
>cat: xml-002.res: No such file or directory
>cat: xml-003.res: No such file or directory
>cat: xml-004.res: No such file or directory
>cat: xml-005.res: No such file or directory
>cat: xml-006.res: No such file or directory
>cat: xml-007.res: No such file or directory
>cat: xml-008.res: No such file or directory
>cat: xml-009.res: No such file or directory
>cat: xml-010.res: No such file or directory
>cat: xml-011.res: No such file or directory
>cat: xml-012.res: No such file or directory
>cat: xml-013.res: No such file or directory
>cat: xml-014.res: No such file or directory
>cat: xml-015.res: No such file or directory
>cat: xml-016.res: No such file or directory
>cat: xml-017.res: No such file or directory
>cat: xml-018.res: No such file or directory
>cat: xml-019.res: No such file or directory
>cat: xml-020.res: No such file or directory
>cat: xml-021.res: No such file or directory
>cat: xml-022.res: No such file or directory
>cat: xml-023.res: No such file or directory
>cat: xml-024.res: No such file or directory
>cat: xml-025.res: No such file or directory
>cat: xml-026.res: No such file or directory
>cat: xml-027.res: No such file or directory
>cat: test-297.res: No such file or directory
>cat: test-287.res: No such file or directory
>cat: test-294.res: No such file or directory
>cat: test-299.res: No such file or directory
>cat: test-300.res: No such file or directory
>cat: test-301.res: No such file or directory
>cat: test-302.res: No such file or directory
>cat: test-303.res: No such file or directory
>cat: test-304.res: No such file or directory
>cat: test-305.res: No such file or directory
>cat: test-306.res: No such file or directory
>cat: test-307.res: No such file or directory
>cat: test-259.res: No such file or directory
>cat: test-309.res: No such file or directory
>cat: test-310.res: No such file or directory
>cat: test-311.res: No such file or directory
>cat: a-call.res: No such file or directory
>cat: a-capture5.res: No such file or directory
>cat: a-instance.res: No such file or directory
>cat: a-parameter2.res: No such file or directory
>cat: a-capture10.res: No such file or directory
>cat: a-capture6.res: No such file or directory
>cat: a-nested-anon2.res: No such file or directory
>cat: a-capture1.res: No such file or directory
>cat: a-capture7.res: No such file or directory
>cat: a-nested-anon3.res: No such file or directory
>cat: a-parameter4.res: No such file or directory
>cat: a-capture2.res: No such file or directory
>cat: a-capture8.res: No such file or directory
>cat: a-nested-anon4.res: No such file or directory
>cat: a-parameter.res: No such file or directory
>cat: a-capture3.res: No such file or directory
>cat: a-capture9.res: No such file or directory
>cat: a-nested-anon.res: No such file or directory
>cat: a-simple2.res: No such file or directory
>cat: a-capture4.res: No such file or directory
>cat: a-event.res: No such file or directory
>cat: a-nested.res: No such file or directory
>cat: a-simple.res: No such file or directory
>cat: test-50.res: No such file or directory
>cat: test-67.res: No such file or directory
>Failing tests: make
>make[2]: *** [test-harness-run] Error 1
>make[2]: Leaving directory `/home/_/cvs/mcs/tests'
>make[1]: *** [test-harness] Error 2
>make[1]: Leaving directory `/home/_/cvs/mcs/tests'
>make: *** [run-test] Error 2
>
>
More information about the Mono-devel-list
mailing list