From: Alan W. I. <ir...@be...> - 2009-05-06 05:25:14
|
Hi Arjen: To my knowledge, the work you did to get qsastime_testlib to build on Windows never gave useful test results because of limitations in the Windows C library time routines (e.g., no valid time results before 1970). I do appreciate the work you put into this; it was the only way we could discover those limitations in the Windows C library time routines. However, because of those limitations, I have removed (revision 9930) all the special Windows logic that you implemented in the build system and in the qsastime_testlib code, and instead simply changed the build system logic to not allow an attempt to build qsastime_testlib on Windows (i.e., when WIN32 is true). With revision 9930, the qsastime_testlib.c code and the build system logic are much cleaner for platforms (64-bit Linux and possibly 64-bit Mac OS X) where qsastime_testlib actually produces useful results. The new file lib/qsastime/README.qsastime_tests documents the applications (currently qsastime_test, bhunt_search_test, and qsastime_testlib) used to test the qsastime library. Following directions in that file I checked that I could still use the revision 9930 qsastime_testlib to reproduce lib/qsastime/qsastime_testlib.out_standard on my 64-bit Linux platform. I may not get to it this week, but I eventually plan to implement another test which simply compares extensive libqsastime results with a file. That test should be useful on all platforms with no dependence on C library time-handling routines and therefore no issues concerning peculiarities of such time-handling routines on certain platforms. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |