summaryrefslogtreecommitdiff
path: root/tests/pack
Commit message (Collapse)AuthorAgeFilesLines
* Silence unused return value warningJacques Germishuys2014-09-261-1/+1
|
* Factor 40 and 41 constants from source.Ciro Santilli2014-09-161-2/+2
|
* Introduce cl_assert_equal_oidEdward Thomson2014-07-011-2/+2
|
* Share packs across repository instancescmn/global-mwfCarlos Martín Nieto2014-06-231-0/+42
| | | | | | | | | | | Opening the same repository multiple times will currently open the same file multiple times, as well as map the same region of the file multiple times. This is not necessary, as the packfile data is immutable. Instead of opening and closing packfiles directly, introduce an indirection and allocate packfiles globally. This does mean locking on each packfile open, but we already use this lock for the global mwindow list so it doesn't introduce a new contention point.
* Fix a bug in the pack::packbuilder suitePhilip Kelley2014-05-171-0/+2
|
* Test cancel from indexer progress callbackRussell Belfer2013-12-112-14/+34
| | | | | | | | | | | | | | | This adds tests that try canceling an indexer operation from within the progress callback. After writing the tests, I wanted to run this under valgrind and had a number of errors in that situation because mmap wasn't working. I added a CMake option to force emulation of mmap and consolidated the Amiga-specific code into that new place (so we don't actually need separate Amiga code now, just have to turn on -DNO_MMAP). Additionally, I made the indexer code propagate error codes more reliably than it used to.
* Update files that reference tests-clarBen Straub2013-11-141-1/+1
|
* Rename tests-clar to testsBen Straub2013-11-142-0/+330