Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | sal workben not useful test suite | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | udk | Reporter: | issues@www <issues> | ||||||||
Component: | documentation | Assignee: | hennes.rohling | ||||||||
Status: | CLOSED NOT_AN_OOO_ISSUE | QA Contact: | issues@udk <issues> | ||||||||
Severity: | Trivial | ||||||||||
Priority: | P3 | CC: | issues | ||||||||
Version: | 633 | ||||||||||
Target Milestone: | OOo 2.0 | ||||||||||
Hardware: | All | ||||||||||
OS: | All | ||||||||||
Issue Type: | TASK | Latest Confirmation in: | --- | ||||||||
Developer Difficulty: | --- | ||||||||||
Attachments: |
|
Description
issues@www
2001-07-17 01:58:09 UTC
Or am I under the wrong impression that 'workben' = 'test suite' ? Created attachment 392 [details]
sal/workben/tgetpwnam.cxx : Patch to compile on IRIX, and use gethostbyname_r correctly
Created attachment 403 [details]
sal/test : Patch to compile in 632
Created attachment 404 [details]
sal/tests : Patch to compile in 632
sal/test produced sal/unxirxm3.pro/bin/test % sal/unxirxm3.pro/bin/test test_OString OK !!! test_OStringBuffer OK !!! test_OWStringBuffer OK !!! Warning: Jumping system clock resolution 70 -> 50 (100 ns Ticks) Warning: Jumping system clock resolution 50 -> 40 (100 ns Ticks) System time resolution : 40 [100ns Ticks] test_uuid OK test bytesequence OK test_Uri done sal/tests produced sal/unxirxm3.pro/lib/libosl_apitest.so , however I can not find any binary that exercises this dso. Hennes, I think you are able to help to determine the right person for this issue ?! sal/workbench and sal/test where only used for some "quick and dirty test". From my point of view they're target for elemination. Actually sal/tests is the right directory for api testing code where Patrick Luby is responsible for. Please visit the URL at: http://udk.openoffice.org/common/man/tasks/ apitests.html This documents the effort to add API testing for sal's osl and rtl sub- directories. It explains where the source code is, and how to run the tests. Reassigning to Gene Anaya. Thanks for the info ... however the testsuite doesnt work quite the way the documents indicate. Rather than interate thru a list of symbols in a file specified on the command line, it accepts a symbol on the command line/ % testshl sal/unxirxm3.pro/lib/librtl_OString.so sal/tests/sce/rtl_OString.sce sal/tests/sce/rtl_OString.sce;symbol not found#FAILED# % testshl sal/unxirxm3.pro/lib/librtl_OString.so `head -1 sal/tests/sce/rtl_OString.sce` rtl_OString_ctors_01;PASSED#OK# Also can I point out that as well as sal/tests being broken in 632 (see attach 404) it is also broken in 633. g++ -c -I. -I. -I../inc -I../inc -I../unx/inc -I../unxirxm3.pro/inc -I. - I/projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/solver/633/unxirxm3.pro/inc - I/projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/solver/633/unxirxm3.pro/inc/external - I/projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/solenv/unxirxm3/inc - I/projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/solenv/inc -I/projects/sise/openoffice/devel/workpits/633- irix-gcc-libstdc++/workarea/res -I/projects/sise/openoffice/devel/workpits/633- irix-gcc-libstdc++/workarea/solenv/inc/Xp31 - I/usr/local/java_1.2.2/usr/java//include - I/usr/local/java_1.2.2/usr/java//include/irix - I/usr/local/java_1.2.2/usr/java//include/native_threads/include -I. - I../res -I. -O2 -fno-for-scope -fpermissive -fpic -DIRIX -DUNX -DVCL - DGCC -DC295 -DMIPS -DUSE_PSPRINT -DTF_UCB -DENABLEUNICODE -DTF_FILTER - DTF_FILEURL -DCVER=C295 -D_USE_NAMESPACE -DVCL -D_STD_NO_NAMESPACE - D_VOS_NO_NAMESPACE -D_UNO_NO_NAMESPACE -D__DMAKE -DUNIX -DSUPD=633 - DBUILD=6901 -DSOLAR_PLUGIN -DVCL -DSO3 -DPRODUCT -DNDEBUG -DPRODUCT_FULL - DOPTIMIZE -DEXCEPTIONS_OFF -DGUI -DSRC633 -DTF_ONE51 -DSHAREDLIB -D_DLL_ - DMULTITHREAD - o ../unxirxm3.pro/slo/osl_apitest_file.o /projects/sise/openoffice/devel/workpit s/633-irix-gcc-libstdc++/workarea/sal/tests/osl_apitest_file.cxx /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx: In function `void test_osl_file_osl_openDirectory(rtl::TestResult *)': /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx:92: warning: implicit declaration of function `int osl_normalizePath(...)' /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx: In function `void test_osl_file_osl_createDirectoryItemFromHandle(rtl::TestResult *)': /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx:590: warning: implicit declaration of function `int osl_createDirectoryItemFromHandle(...)' /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx: In function `void test_osl_file_osl_getAbsolutePath(rtl::TestResult *)': /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx:738: warning: implicit declaration of function `int osl_getAbsolutePath(...)' /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx: In function `void test_osl_file_osl_getNormalizedPathFromFileURL(rtl::TestResult *)': /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx:782: warning: implicit declaration of function `int osl_getFileURLFromNormalizedPath(...)' /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx:783: warning: implicit declaration of function `int osl_getNormalizedPathFromFileURL(...)' /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx: In function `void test_osl_file_FileBase_getCanonicalName(rtl::TestResult *)': /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx:895: warning: comparison between `enum osl::FileBase::RC' and `enum oslFileError' /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx: In function `void test_osl_file_FileBase_getAbsolutePath(rtl::TestResult *)': /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx:915: no method `osl::FileBase::getAbsolutePath' /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx: In function `void test_osl_file_FileBase_normalizePath(rtl::TestResult *)': /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx:941: no method `osl::FileBase::normalizePath' /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx: In function `void test_osl_file_FileBase_getNormalizedPathFromFileURL(rtl::TestResult *)': /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx:975: no method `osl::FileBase::getNormalizedPathFromFileURL' /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx: In function `void test_osl_file_FileBase_getFileURLFromNormalizedPath(rtl::TestResult *)': /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx:1006: no method `osl::FileBase::getFileURLFromNormalizedPath' /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx: In function `void test_osl_file_FileBase_getSystemPathFromNormalizedPath(rtl::TestResult *)': /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx:1038: no method `osl::FileBase::getSystemPathFromNormalizedPath' /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx: In function `void test_osl_file_VolumeDevice_automount(rtl::TestResult *)': /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx:1116: warning: comparison between `enum osl::FileBase::RC' and `enum oslFileError' /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx: In function `void test_osl_file_VolumeDevice_unmount(rtl::TestResult *)': /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx:1131: warning: comparison between `enum osl::FileBase::RC' and `enum oslFileError' /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx: In function `void test_osl_file_FileStatus_getFileType(rtl::TestResult *)': /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx:1202: warning: comparison between `enum osl::FileStatus::Type' and `enum oslFileType' /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx: In function `void test_osl_file_FileStatus_getFilePath(rtl::TestResult *)': /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx:1320: no matching function for call to `osl::FileStatus::getFilePath ()' /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx: In function `void test_osl_file_FileStatus_getNativePath(rtl::TestResult *)': /projects/sise/openoffice/devel/workpits/633-irix-gcc- libstdc++/workarea/sal/tests/osl_apitest_file.cxx:1337: no matching function for call to `osl::FileStatus::getNativePath ()' dmake: Error code 1, while making '../unxirxm3.pro/slo/osl_apitest_file.obj' ---* TG_SLO.MK *--- I have been reassigned off of open office. is this a udk issue? or where do the api test releated bugs belong? Hennes, this one is for you, please delete the unneccessary directories and schedule when we want to make/fix the tests Unless there's a clear definition how a testing environment has to be set up P1 is somewhat overstated. Change of test framework isn't scheduled for OOo 1.1 Beta -> Target MileStone = "OOo 2.0" . |