[M3devel] Open CM3 regression tests

Jay jayk123 at hotmail.com
Mon Jan 28 17:26:45 CET 2008


The tests don't even build on Windows and it was going to take more than 5 minutes fix that.
They are slightly full of sh. :) (I never tire of this joke. :) )
My current plan is: 
  get NT386GNU working -- I can already build cm3 and it fails an assertion about pthread_mutex_something failing. Hey, maybe I should fix some of the declarations.. :)
  or go back to my Mac briefly to investigate 
  and/or give Tony a day :) 
 
 - Jay

From: jayk123 at hotmail.comTo: wagner at elegosoft.com; hosking at cs.purdue.eduCC: m3devel at elegosoft.comSubject: RE: [M3devel] Open CM3 regression testsDate: Sun, 27 Jan 2008 20:31:00 +0000


The functions are only used if the set doesn't fit in an integer.I'll try to look at this today.  - Jay

> Date: Sun, 27 Jan 2008 18:55:30 +0100> From: wagner at elegosoft.com> To: hosking at cs.purdue.edu> CC: m3devel at elegosoft.com> Subject: Re: [M3devel] Open CM3 regression tests> > Quoting Tony Hosking <hosking at cs.purdue.edu>:> > > The set operations are coded in > > cm3/m3-libs/m3core/src/Csupport/Common/hand.c.> >> > I notice Jay has made a number of changes here since September -- I> > wonder if they have broken something.> > I tried different revisions of this file with no difference in the> test results. I then took the latest version and added some printfs,> and they got never displayed. So I checked what gets linked, but the> symbols in question don't occur in the test program:> > % nm hand.o> U __divdi3> U __moddi3> 000001e0 R _highbits> 00000140 R _lowbits> 00000000 T m3_div> 000000ac T m3_divL> 000001d4 T m3_mod> 0000026c T m3_modL> U printf> 00000494 T set_difference> 00000554 T set_eq> 0000061c T set_ge> 000006ac T set_gt> 00000434 T set_intersection> 0000077c T set_le> 0000080c T set_lt> 000003a8 T set_member> 000005b8 T set_ne> 000008d8 T set_range> 000009d8 T set_singleton> 000004f4 T set_sym_difference> 000003d4 T set_union> > % nm /usr/local/cm3/pkg/m3core/FreeBSD4/libm3core.so.5 | grep set_> 000243d0 T set_difference> 00024490 T set_eq> 00024558 T set_ge> 000245fc T set_gt> 00024370 T set_intersection> 000246e0 T set_le> 00024784 T set_lt> 000242e4 T set_member> 000244f4 T set_ne> 00024864 T set_range> 00024998 T set_singleton> 00024430 T set_sym_difference> 00024310 T set_union> > % ldd FreeBSD4/p1/p155/FreeBSD4/pgm> FreeBSD4/p1/p155/FreeBSD4/pgm:> libtest.so.5 => > /d/home/wagner/work/cm3/m3-sys/m3tests/FreeBSD4/libtest.so.5 > (0x28085000)> libm3.so.5 => /usr/local/cm3/pkg/libm3/FreeBSD4/libm3.so.5 > (0x28088000)> libm3core.so.5 => > /usr/local/cm3/pkg/m3core/FreeBSD4/libm3core.so.5 (0x281aa000)> libm.so.4 => /lib/libm.so.4 (0x28a2d000)> libpthread.so.2 => /lib/libpthread.so.2 (0x28a46000)> libc.so.6 => /lib/libc.so.6 (0x28a6a000)> > % nm /usr/local/cm3/pkg/m3core/FreeBSD4/libm3core.so.5 | grep set_> 000243d0 T set_difference> 00024490 T set_eq> 00024558 T set_ge> 000245fc T set_gt> 00024370 T set_intersection> 000246e0 T set_le> 00024784 T set_lt> 000242e4 T set_member> 000244f4 T set_ne> 00024864 T set_range> 00024998 T set_singleton> 00024430 T set_sym_difference> 00024310 T set_union> luthien [~/work/cm3/m3-sys/m3tests] wagner> % ldd FreeBSD4/p1/p155/FreeBSD4/pgm> FreeBSD4/p1/p155/FreeBSD4/pgm:> libtest.so.5 => > /d/home/wagner/work/cm3/m3-sys/m3tests/FreeBSD4/libtest.so.5 > (0x28085000)> libm3.so.5 => /usr/local/cm3/pkg/libm3/FreeBSD4/libm3.so.5 > (0x28088000)> libm3core.so.5 => > /usr/local/cm3/pkg/m3core/FreeBSD4/libm3core.so.5 (0x281aa000)> libm.so.4 => /lib/libm.so.4 (0x28a2d000)> libpthread.so.2 => /lib/libpthread.so.2 (0x28a46000)> libc.so.6 => /lib/libc.so.6 (0x28a6a000)> luthien [~/work/cm3/m3-sys/m3tests] wagner> % nm -C -u FreeBSD4/p1/p155/FreeBSD4/pgm> U Main_I3> U RTHooks_I3> U RTHooks__CheckLoadTracedRef> U RTHooks__Concat> U RTHooks__PopEFrame> U RTHooks__PushEFrame> U RTHooks__TextLitGetChar> U RTHooks__TextLitGetChars> U RTHooks__TextLitGetWideChar> U RTHooks__TextLitGetWideChars> U RTHooks__TextLitInfo> U RTLinker__AddUnit> U RTLinker__InitRuntime> U RTProcess__Exit> U Stdio_I3> U Test_I3> U Test__checkM> U Test__done> U Wr_I3> U Wr__Flush> U Wr__PutText> w _Jv_RegisterClasses> w __deregister_frame_info> w __register_frame_info> U _init_tls> U _setjmp> U atexit> U exit> > Now I'm rather confused 8-/> > Any ideas?> > Olaf> -- > Olaf Wagner -- elego Software Solutions GmbH> Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95> http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194> 

Need to know the score, the latest news, or you need your Hotmail®-get your "fix". Check it out. 
_________________________________________________________________
Need to know the score, the latest news, or you need your Hotmail®-get your "fix".
http://www.msnmobilefix.com/Default.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20080128/4d3bc29a/attachment-0002.html>


More information about the M3devel mailing list