Skip to search.
squeak

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

  Messages Help
Advanced
[squeak-dev] About the new Date   Message List  
Reply Message #165355 of 166763 |
Re: [squeak-dev] About the new Date

On Tue, Feb 07, 2012 at 08:16:24PM -0600, Chris Muller wrote:
> Thanks Dave. Hmm, I am not seeing any of errors you are. Could there
> be a difference in our VM's or something else?
>
> How about would you run the tests with Squeak's great System Reporter
> so we can compare our contexts and figure out why failing for you?
>
> Here's mine with Image, MC Working Copies, VM General and SUnit.

Hi Chris,

Here is the system report from a fresh image running on Linux with an
interpreter VM. I started with a fresh 4.3 image, did an update from
trunk, then loaded Kernel-cmm.670 from the inbox and ran the tests.
TimeZoneDatabase is not loaded in this image, and I did not make any
changes to default time zone setting.

This is running on SuSE Linux, VM compiled 64-bit. Chronology test
results are the same on Cog. I am in Michigan, 5 hours from GMT.

HTH,
Dave



Image
-----
/home/lewis/squeak/Squeak4.3/testdatestamp.1.image
Squeak4.3
latest update: #11891
Current Change Set: Unnamed

Monticello Working Copies
-------------------------
311Deprecated (nice.2)
39Deprecated (ar.19)
Balloon (egp.19)
BalloonTests (egp.2)
* Collections (dtl.469)
CollectionsTests (ul.186)
Compiler (nice.222)
Compression (ul.31)
* DeleteMe ()
EToys (ul.86)
Exceptions (chc.36)
Files (eem.116)
FlexibleVocabularies (ar.12)
Graphics (cmm.191)
GraphicsTests (ar.29)
Help-Squeak-Project (cmm.9)
Help-Squeak-TerseGuide (dtl.2)
HelpSystem-Core (ul.55)
HelpSystem-Tests (ul.14)
Installer-Core (ul.354)
* Kernel (cmm.670)
* KernelTests (ul.213)
Monticello (bf.493)
MonticelloConfigurations (bf.100)
Morphic (cmm.608)
MorphicExtras (ul.103)
MorphicTests (ar.18)
Multilingual (ul.154)
MultilingualTests (ul.15)
Nebraska (ul.35)
Network (ul.122)
NetworkTests (ul.27)
PackageInfo-Base (bf.57)
PreferenceBrowser (bf.47)
Protocols (ael.39)
ReleaseBuilder (cmm.76)
* Renamed ()
* SCFTCategory ()
SMBase (cmm.130)
SMLoader (cmm.77)
ST80 (dtl.138)
SUnit (fbs.87)
SUnitGUI (cmm.51)
ScriptLoader (ul.333)
Services-Base (ul.48)
ShoutCore (ul.34)
Sound (ul.32)
Squeak-Version (ar.4662)
* System (cwp.467)
* SystemChangeNotification-Tests (laza.18)
SystemReporter (cmm.19)
* Tests (eem.140)
ToolBuilder-Kernel (cmm.52)
ToolBuilder-MVC (ul.29)
ToolBuilder-Morphic (cmm.82)
ToolBuilder-SUnit (cmm.15)
Tools (laza.393)
* ToolsTests (ul.52)
Traits (ul.289)
* TraitsTests (ar.9)
TrueType (ul.19)
TrunkScript (cmm.5)
Universes (nice.45)
VersionNumber (nice.3)
VersionNumberTests (nice.3)
XML-Parser (ael.35)

Virtual Machine
---------------
/usr/local/lib/squeak/4.8-2523/squeakvm
Squeak3.11alpha of 2 February 2012 [latest update: #11890]
Unix built on Feb 6 2012 22:19:51 Compiler: 4.5.0 20100604 [gcc-4_5-branch
revision 160292]
platform sources revision 2523
VMMaker versionString 4.8

SUnit Results
-------------
3091 run, 3046 passes, 7 expected failures, 31 failures, 2 errors, 5 unexpected
passes

Failed Tests
------------
(DateAndTimeLeapTest selector: #testAsDate) debug.
(DateAndTimeLeapTest selector: #testAsMonth) debug.
(DateAndTimeLeapTest selector: #testAsSeconds) debug.
(DateAndTimeLeapTest selector: #testAsWeek) debug.
(DateAndTimeLeapTest selector: #testAsYear) debug.
(DateAndTimeLeapTest selector: #testMidnight) debug.
(DateTest selector: #testStarting) debug.
(ExceptionTests selector: #testHandlerFromAction) debug.
(FileStreamTest selector: #testPositionPastEndIsAtEnd) debug.
(MCFileInTest selector: #testStWriter) debug.
(MCMczInstallerTest selector: #testInstallFromFile) debug.
(MCMczInstallerTest selector: #testInstallFromStream) debug.
(MirrorPrimitiveTests selector: #testMirrorAt) debug.
(MirrorPrimitiveTests selector: #testMirrorEqEq) debug.
(MirrorPrimitiveTests selector: #testMirrorInstVarAt) debug.
(MirrorPrimitiveTests selector: #testMirrorPerform) debug.
(MirrorPrimitiveTests selector: #testMirrorSize) debug.
(PackageDependencyTest selector: #testMorphic) debug.
(PackagePaneBrowserTest selector: #testSelectCategoryForClass) debug.
(RWBinaryOrTextStreamTest selector: #testExisiting) debug.
(ReleaseTest selector: #testNoObsoleteClasses) debug.
(SocketTest selector: #testSendTimeout) debug.
(SocketTest selector: #testSocketReuse) debug.
(StandardSystemFontsTest selector: #testRestoreDefaultFonts) debug.
(TimeStampTest selector: #testAccessing) debug.
(TimeStampTest selector: #testConverting) debug.
(TimeStampTest selector: #testDate) debug.
(TimeStampTest selector: #testDateAndTime) debug.
(TimeStampTest selector: #testMinusDays) debug.
(TimeStampTest selector: #testMinusSeconds) debug.
(TimeStampTest selector: #testMinusSecondsOverMidnight) debug.
(TimeStampTest selector: #testPlusDays) debug.
(TimeStampTest selector: #testPlusSeconds) debug.
(TimeStampTest selector: #testPlusSecondsOverMidnight) debug.
(TimespanDoTest selector: #testDatesDo) debug.
(YearTest selector: #testCurrent) debug.

Errors
------
(CompiledMethodTest selector: #testPerformCanExecutelongMethodWithTemps) debug.
(CompiledMethodTest selector:
#testPerformInSuperclassCanExecutelongMethodWithTemps) debug.






Wed Feb 8, 2012 3:09 am

lewis@...
Send Email Send Email

Message #165355 of 166763 |
Expand Messages Author Sort by Date

Thanks Dave. Hmm, I am not seeing any of errors you are. Could there be a difference in our VM's or something else? How about would you run the tests with...
Chris Muller
asqueaker@... Send Email
Feb 8, 2012
2:16 am

... Hi Chris, Here is the system report from a fresh image running on Linux with an interpreter VM. I started with a fresh 4.3 image, did an update from trunk,...
David T. Lewis
lewis@... Send Email
Feb 8, 2012
3:09 am

... You need KernelTests-cmm.214 too....
Chris Muller
asqueaker@... Send Email
Feb 8, 2012
3:41 am

... D'oh! My apologies. With the test updates loaded, The chronology tests are green with time zone set to UTC, and show nine failures in TimeStampTest and one...
David T. Lewis
lewis@... Send Email
Feb 8, 2012
1:05 pm

... Sorry, that was horribly unclear. What I meant to say is that the failures show up when I use my local time zone setting, which is currently 5 hours from...
David T. Lewis
lewis@... Send Email
Feb 8, 2012
1:42 pm

I could fix the TimeStamp tests but, as I mentioned, since TimeStamp is planned for purging from the image, my preference would be to just do that now......
Chris Muller
ma.chris.m@... Send Email
Feb 8, 2012
3:45 pm

... That sounds reasonable. Dave...
David T. Lewis
lewis@... Send Email
Feb 9, 2012
2:03 am

... If it helps I can test these changes on Windows XP, 7 and Ubuntu in the Pacific time zone. Let me know how to load the changes into the Squeak All-In-One....
Paul DeBruicker
pdebruic@... Send Email
Feb 8, 2012
5:49 pm

... Thanks Paul, It is best if your Squeak all-in-one image is up to date with the trunk stream first (*), but I think that all you need to do to test the...
David T. Lewis
lewis@... Send Email
Feb 9, 2012
2:16 am

... I'll send the XP report next, and the Win 7 probably tomorrow. Here is the System Report for Ubuntu 64 bit after loading the packages: Image ... ...
Paul DeBruicker
pdebruic@... Send Email
Feb 9, 2012
4:21 pm

Thanks, these results are consistent with what Chris and I have seen (mine being run on a SuSE Linux box)....
David T. Lewis
lewis@... Send Email
Feb 9, 2012
4:28 pm

... These tests fail on windows XP (I think they're the same as Ubuntu): TimeStampTest>>#testConverting TimeStampTest>>#testDate ...
Paul DeBruicker
pdebruic@... Send Email
Feb 9, 2012
5:46 pm

... You can go back to localized dates with: Date localize However, "globalized" make perfect sense to me and I would think they would for you too in the...
Chris Muller
ma.chris.m@... Send Email
Feb 5, 2012
8:38 pm

... The Timespan class>>localize approach looks problematic. It is caching a localOffset value, and this value may or may not match that of the offset in the...
David T. Lewis
lewis@... Send Email
Feb 9, 2012
12:02 pm

An alternate solution if we truly need localized-Dates would be just to cache a boolean instead of the offset itself: #localizedByDefault. If true, it would...
Chris Muller
ma.chris.m@... Send Email
Feb 9, 2012
4:37 pm

Hi, One thing we can consider is a DynamicBinding that specifies the offset. If no binding, then use the global default. This is how lisp/scheme would solve...
Brent Pinkney
brent@... Send Email
Feb 10, 2012
6:23 am

... As long as we remember that we want _delimited_ dynamic binding, because dynamic bindings and partial continuations don't work together. (And we always...
Frank Shearar
frank.shearar@... Send Email
Feb 10, 2012
1:01 pm

... Hi Brent, That might be a good approach. I did something like that with the TimeZoneDatabase tables, such that the current time zone is a proxy that points...
David T. Lewis
lewis@... Send Email
Feb 10, 2012
5:13 pm

... +1 again, I like DateAndTime>>midnight to use receiver offset, and consequently asDate too, it's the least surprising... Well, it won't perfectly handle...
Nicolas Cellier
nicolas.cellier.aka.n... Send Email
Feb 10, 2012
9:51 pm

... ^self class of course, hey, I shouldn't write code in mail...
Nicolas Cellier
nicolas.cellier.aka.n... Send Email
Feb 10, 2012
9:52 pm

... Mmm, neither expression on either side of the = sign specifies an offset, so you should get true, not false. Indeed, I get true in my image: DateAndTime...
Chris Muller
asqueaker@... Send Email
Feb 11, 2012
4:30 pm

... Ah yes, you are right I missed the change of Timespan>>#current So the feature is: DateAndTime now asDate = Date today = DateAndTime localOffset isZero. ...
Nicolas Cellier
nicolas.cellier.aka.n... Send Email
Feb 11, 2012
5:00 pm

... Yes, the offset should always be obtained via "DateAndTime localTimeZone offset". That way the offset value is always maintained in one place. If you ...
David T. Lewis
lewis@... Send Email
Feb 11, 2012
5:25 pm
 First  |  |  Next > Last 
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help