Hello Mark, On 28.03.2010 18:05, Mark Miesfeld wrote: > On Sun, Mar 28, 2010 at 8:16 AM, Rainer Tammer <tam...@tammer.net> wrote: > > >> I am getting one error on AIX 32 bit. The second error is expected. >> Any ideas ?? >> > I ran the test suite on 4 different Linux systems yesterday and didn't > see any errors. > > >> [failure] [20100328 16:58:32.158206] >> svn: r3371 Change date: 2008-09-21 06:33:29 +0200 >> Test: TEST_VALUE >> Class: VALUE.testGroup >> File: >> /daten/source/ooRexx_4_0_1/test/4.0.1/ooRexx/base/bif/VALUE.testGroup >> Line: 346 >> Failed: assertSame >> Expected: [[], identityHash="103611206"] >> Actual: [[7], identityHash="106160907"] >> > So, the test expects the empty string and instead gets 7. > > share = 'ENVIRONMENT' > call value 'FRED', 4, share -- set FRED to 4 > self~assertEquals(4, VALUE('FRED',7,share))/* says '4' and assigns */ > /* FRED a > new value of 7 */ > self~assertEquals(7, VALUE('FRED', ,share)) /* says '7' */ > > call value 'FRED', .nil, share -- delete 'FRED' from environment > self~assertSame("", VALUE('FRED', ,share)) > > Apparently, > > call value 'FRED', .nil, share > > didn't delete 'FRED' from the environment. Which it should have. > What happens if you just write a quick program to do the same as the > test and run it? > > /* qTest.rex */ > > share = 'ENVIRONMENT' > > call value 'FRED', 4, share > say VALUE('FRED',7,share) > > say VALUE('FRED', ,share) > > call value 'FRED', .nil, share -- delete 'FRED' from environment > say ">>" || VALUE('FRED', ,share) || "<<" > >
This is the output on AIX 5.3/6.1 64 bit: # ./qTest.rex 4 7 >><< This is the output on AIX 5.2/5.3/6.1 32 bit: # ./qTest.rex 4 7 >>7<< So the whole thing only fails on 32 bit ooRexx... > -- > Mark Miesfeld > > Bye Rainer ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel