From dev-return-19079-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Tue Oct 09 16:20:54 2007 Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 75696 invoked from network); 9 Oct 2007 16:20:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Oct 2007 16:20:52 -0000 Received: (qmail 70582 invoked by uid 500); 9 Oct 2007 15:53:51 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 70547 invoked by uid 500); 9 Oct 2007 15:53:51 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 70536 invoked by uid 99); 9 Oct 2007 15:53:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2007 08:53:51 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.224.219.83] (HELO mail9.atl.registeredsite.com) (64.224.219.83) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2007 15:53:52 +0000 Received: from dataq.com (r37-58-dsl.sea.lightrealm.net [216.122.58.37]) by mail9.atl.registeredsite.com (8.12.11.20060308/8.12.11) with ESMTP id l99Fqj73007549 for ; Tue, 9 Oct 2007 11:52:46 -0400 Received: from [192.168.0.12] (rrcs-74-218-99-78.central.biz.rr.com [74.218.99.78]) by dataq.com (8.11.6/8.11.0) with ESMTP id l99FqkY27724 for ; Tue, 9 Oct 2007 15:52:46 GMT (envelope-from ipopescu@dataq.com) Message-ID: <470BA37F.9010705@dataq.com> Date: Tue, 09 Oct 2007 11:51:27 -0400 From: Ioan Popescu User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: APR-Dev Subject: libapr 1.2.11 tests on WinCE 5 X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org This is a summary of the changes I made to the tests for the core APR 1.2.11 library. The patch and other files will follow separately. * Build as Unicode project. * Include tchar.h to use generic data type mappings for Unicode. * Change "main" declarations to use generic data type mappings. * Use generic data type mappings where possible (string functions). * Add ConvertUTF.(c|h) source from Unicode website to convert back and forth between UTF-16 and UTF-8 as needed without using APR. * Convert command line arguments to UTF-8 before passing to APR. * Make output quiet because backspace outputs "^H" text everywhere. * Initialize "not_impl" member of suites. * Output number of tests not implemented along with failures at the end. * Replaced use of apr_strtoi64() in globalmutexchild.c with _wtoi64() because the command line argument is Unicode. * Replaced use of read/write() in proc_child.c with fread/fwrite() because read/write() aren't implemented. * Reduced the number of threads created during "testatomic" due to CE's limitations. * Make all paths absolute, rooted in "/Windows/apr" as needed. * Log unimplemented functions, modify test to check for them and skip when a function isn't implemented. * Exclude inclusion of "errno.h" from CE build, it doesn't exist. * "testdir" shouldn't test current directory. * "testdso" uses an absolute path for MOD_NAME. * "testfnmatch" ends up with 6 files instead of 5 when enumerating the files in a directory. * "testfnmatch" shouldn't test current directory. * "testmmap" can't use current directory, replaced with absolute path, removed check for drive. * "testmmap" replaced use of APR_FINFO_NORM with APR_FINFO_SIZE when only size information was needed. * "testnames" needs to use "/" instead of "C:/" as root, shouldn't test current directory. * "testpipe" was incorrectly testing apr_file_pipe_timeout_set(). The function was performing according to the comments. * Replaced use of CRT time functions in "testsleep" with GetCurrentFT() because the CRT doesn't implement the time functions. * "teststr" needed ERANGE defined and to ignore "errno" because it doesn't exist on CE. * Replaced use of CRT time functions in "testtime" with closest match to be able to perform the test.