summaryrefslogtreecommitdiff
path: root/test/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* * test/Makefile.in (CLEAN_TARGETS): Clean up more files.jorton2004-09-291-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65356 13f79535-47bb-0310-9956-ffa450edef68
* * test/Makefile.in (libmod_test.la): Link against dependencies forjorton2004-06-101-1/+1
| | | | | | | platforms where libraries can have no undefined symbols. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65178 13f79535-47bb-0310-9956-ffa450edef68
* * test/Makefile.in: Revert broken r1.161.jorton2004-06-081-4/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65174 13f79535-47bb-0310-9956-ffa450edef68
* Presently if we fail in apr_assert_success we get the line number fordreid2004-06-071-0/+4
| | | | | | | | | | | | testutil.c reported. Not very useful. This change adds the passing of the (correct) line number and also a macro to ease said passing. I've changed all instances of apr_assert_success to use the new macro, but not all the tests build on this platform so others should check that all is well for them. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65171 13f79535-47bb-0310-9956-ffa450edef68
* Move the APR test suite from CuTest to abts. The output is cleaner,rbb2004-05-131-4/+4
| | | | | | | | | | | | and it prints output while running the test. Also, if a test fails the rest of the test function is run, allowing for proper cleanup. Finally, it is possible to call the same function multiple times with different data, and each call is considered a separate test. This is the first of a multi-step process to get a more useful test suite. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65091 13f79535-47bb-0310-9956-ffa450edef68
* * test/Makefile.in: Use $(LTFLAGS) when invoking libtool.jorton2004-04-041-5/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65038 13f79535-47bb-0310-9956-ffa450edef68
* Add LFS support:jorton2004-03-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Check for off64_t and necessary LFS functions, define apr_off_t as off64_t where available. Add --disable-lfs flag. Forward-port changes from 0.9.5 to define apr_off_t as long on systems systems with a 32-bit off_t which don't have LFS enabled. * include/apr.h.in: Let configure define APR_HAS_LARGE_FILES. * include/arch/netware/apr_arch_file_io.h: Redefine lseek and ftruncate. * include/arch/unix/apr_arch_file_io.h: Redefine stat, lstat, fstat, lseek, ftruncate here; define struct_stat. * file_io/unix/filestat.c: Use struct_stat. * file_io/unix/mktemp.c: Use mkstemp64 where available. * file_io/unix/open.c (apr_file_open): Use O_LARGEFILE by default when LFS is enabled. * file_io/unix/readwrite.c, file_io/unix/seek.c: Don't redefine lseek and ftruncate here. * mmap/unix/mmap.c (apr_mmap_create): Use mmap64 if available; otherwise check for overflow when LFS is enabled. * network_io/unix/sendrecv.c (apr_socket_sendfile) [Linux/HPUX]: Use sendfile64 if available; otherwise check for overflow when LFS is enabled. [solaris]: Use sendfilev64/sendfilevec64_t. * test/Makefile.in, test/test_apr.h, test/testlfs.c: Add tests. Reviewed by: Jeff Trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65027 13f79535-47bb-0310-9956-ffa450edef68
* * test/Makefile.in: Fix includes for VPATH builds so at leastjorton2004-03-221-1/+1
| | | | | | | the tests compile. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65022 13f79535-47bb-0310-9956-ffa450edef68
* Add a simple test for the functions that deal with temp files andrbb2004-03-181-1/+1
| | | | | | | directories. This needs a lot more work. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65016 13f79535-47bb-0310-9956-ffa450edef68
* Add an initial test for the file_copy APIs.rbb2004-03-181-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65014 13f79535-47bb-0310-9956-ffa450edef68
* Add a test for strnatcmp.rbb2004-03-161-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65010 13f79535-47bb-0310-9956-ffa450edef68
* Port testglobalmutex to the unified framework. There is a hack inrbb2004-03-151-8/+6
| | | | | | | globalmutexchild.c in that we create the mutex before we call child_init. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64999 13f79535-47bb-0310-9956-ffa450edef68
* client and server no longer exist.rbb2004-03-151-2/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64991 13f79535-47bb-0310-9956-ffa450edef68
* Port testsock to the unified framework. This doesn't include therbb2004-03-141-13/+6
| | | | | | | | | | | sendfile tests, those are next. Also, instead of having a server and client, testsock.c implements the server, and sockchild.c implements the client. I have also removed the part of the test that relied on apr_poll(). That is tested in testpoll, and just makes this code more confusing than it needs to be. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64987 13f79535-47bb-0310-9956-ffa450edef68
* Port testshm and all of it's component parts (testshmconsumer andrbb2004-03-131-5/+1
| | | | | | | | | | | | | | testshmproducer) so that they are a part of the unified test suite. They are also now all portable programs, which means that we are actually using APR as a part of the tests. Also, just generally improve the tests. Now, we not only check that msgavail flag is set, we also check that the actuall message is transferred correctly. Finally, we ensure that the receiver received the same number of messages that the sender sent. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64982 13f79535-47bb-0310-9956-ffa450edef68
* Migrate testflock to unified test frameworkrbb2004-03-131-7/+7
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64977 13f79535-47bb-0310-9956-ffa450edef68
* Migrate testatomic to testall. I have commented out a test thatrbb2004-03-131-5/+2
| | | | | | | | specifically states that we expect it to fail. We aren't actually testing APR with that test. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64970 13f79535-47bb-0310-9956-ffa450edef68
* Add apr_match_glob and two tests to make sure that it is working. Thererbb2004-03-051-1/+1
| | | | | | | | is a problem that is documented in the code that requires an apr_filepath_basename. That will be added soon. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64936 13f79535-47bb-0310-9956-ffa450edef68
* * test/Makefile.in (CLEAN_SUBDIRS): Clean in the 'internal' directory.jorton2004-02-061-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64900 13f79535-47bb-0310-9956-ffa450edef68
* * Makefile.in: Link programs using -no-install flag so that theyjorton2003-11-171-17/+21
| | | | | | | | | | | really are binary executables, not libtool wrapper scripts, and without the -avoid-version flag which produces a warning for programs. (reinforced dependency on libtool >=1.4 for this Makefile) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64765 13f79535-47bb-0310-9956-ffa450edef68
* Endianness and APR types for random.ben2003-11-051-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64728 13f79535-47bb-0310-9956-ffa450edef68
* Really fix the build again.jorton2003-11-051-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64722 13f79535-47bb-0310-9956-ffa450edef68
* Start of new PRNG.ben2003-11-031-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64712 13f79535-47bb-0310-9956-ffa450edef68
* axe a mysterious rbb line that ignored user-specified CFLAGS whentrawick2003-08-111-2/+0
| | | | | | | building the test programs git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64583 13f79535-47bb-0310-9956-ffa450edef68
* CuTest-ify and clean up the testprocmutex test:jorton2003-07-021-2/+1
| | | | | | | | | | | - make the increment operation use a slow load/increment/store cycle. - dropped support for specifying a lock filename, hopefully that is not critical - try using anonymous shm then name-based shm; fail gracefully rather than segfaulting if neither works. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64555 13f79535-47bb-0310-9956-ffa450edef68
* add a testcase to catch the problem seen with PR 20295, wheretrawick2003-06-051-2/+6
| | | | | | | | | apr_file_write_full() to pipe with timeout can return EAGAIN PR: 20295 (not fixed just yet) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64527 13f79535-47bb-0310-9956-ffa450edef68
* Fix typo.jorton2003-05-151-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64505 13f79535-47bb-0310-9956-ffa450edef68
* Use $(LIBTOOL) instead of $(LINK) for the mod_test shared objects.jerenkrantz2003-05-141-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64504 13f79535-47bb-0310-9956-ffa450edef68
* fix some problems with undesired build droppings left around aftertrawick2003-04-301-12/+23
| | | | | | | | | | | | | | | | | | "make [foo]clean" for make clean: zap all test programs, not just the ones we run from "make check" for make distclean: zap exports.c, export_vars.h instead of waiting for extraclean zap apr_rules.mk... fix the old rules.mk references that weren't changed when the file was renamed to rules.mk for make extraclen: zap ltmain.sh and libtool.m4 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64497 13f79535-47bb-0310-9956-ffa450edef68
* no need to list testall more than oncetrawick2003-04-181-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64486 13f79535-47bb-0310-9956-ffa450edef68
* Added a new module, apr_env, for manipulating the environment. The newbrane2003-02-171-1/+2
| | | | | | | | functions are apr_env_get, apr_env_set and apr_env_delete. Also added a set of tests for the new functions. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64363 13f79535-47bb-0310-9956-ffa450edef68
* Added two new functions, apr_filepath_list_split and apr_filepath_list_merge,brane2003-02-121-1/+1
| | | | | | | | | | for managing search paths. The common implementation is in a new file, file_io/unix/filepath_util.c. Also added tests for these functions a new file in the test suite, testpath.c. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64349 13f79535-47bb-0310-9956-ffa450edef68
* Apply a patch to fix make check in test from Matt Kraai, extended to runthommay2002-12-291-4/+4
| | | | | | | | | testall during make check. Submitted by: Matt Kraai <kraai@alumni.cmu.edu> Reviewed by: Thom May git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64222 13f79535-47bb-0310-9956-ffa450edef68
* Fix 'make check'. Currently server, client, and sendfile are all testsrbb2002-12-101-4/+2
| | | | | | | | | | that should _only_ be run by testsock or by developers by hand. They all rely on having multiple processes that interact in order for the tests to work. Before this fix, 'make check' would always hang when it ran server, because nobody was running client to finish the tests. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64138 13f79535-47bb-0310-9956-ffa450edef68
* Migrate testuser to the new test suite.rbb2002-12-071-5/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64129 13f79535-47bb-0310-9956-ffa450edef68
* Migrate testnames to the new test suite.rbb2002-12-071-5/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64128 13f79535-47bb-0310-9956-ffa450edef68
* Migreate testargs to the new test suite.rbb2002-12-061-7/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64124 13f79535-47bb-0310-9956-ffa450edef68
* Forgot to remove this targetrbb2002-12-041-3/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64119 13f79535-47bb-0310-9956-ffa450edef68
* Migrate testhash to the new test suite.rbb2002-12-041-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64118 13f79535-47bb-0310-9956-ffa450edef68
* Migrate testthread to the new test suite.rbb2002-12-031-5/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64117 13f79535-47bb-0310-9956-ffa450edef68
* Remove a couple of tests that can't be built separately.rbb2002-12-031-2/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64116 13f79535-47bb-0310-9956-ffa450edef68
* migrate testpipe to the new test suite.rbb2002-12-031-7/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64115 13f79535-47bb-0310-9956-ffa450edef68
* Migrate testsockopt to the new test suite.rbb2002-12-031-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64114 13f79535-47bb-0310-9956-ffa450edef68
* Migrate testlock to the new test suite.rbb2002-12-031-4/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64113 13f79535-47bb-0310-9956-ffa450edef68
* Fix the clean targets for the test suite.rbb2002-11-301-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64106 13f79535-47bb-0310-9956-ffa450edef68
* testdir has been CuTestified.jorton2002-11-271-3/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64102 13f79535-47bb-0310-9956-ffa450edef68
* Move list of test modules into a TESTS variable to stop duplicating it.jorton2002-11-271-11/+9
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64101 13f79535-47bb-0310-9956-ffa450edef68
* Fix for VPATH builds.jorton2002-11-271-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64100 13f79535-47bb-0310-9956-ffa450edef68
* Migrate testpoll to the new test suite.rbb2002-11-271-6/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64095 13f79535-47bb-0310-9956-ffa450edef68
* Migrate testproc to the new test suite.rbb2002-11-261-17/+9
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64089 13f79535-47bb-0310-9956-ffa450edef68