summaryrefslogtreecommitdiff
path: root/infrastructure
Commit message (Collapse)AuthorAge
* Try to eval loading Win32 as sugested by James O'Gorman.Chris Wilson2015-12-06
| | | | Should hopefully fix compile on other platforms.
* Start generating MSVC project files using CMake.Chris Wilson2015-12-06
| | | | | | | Update getversion.pl to work when run from CMake. Update modules.txt to give our CMake configuration the necessary dependency information.
* Fix version generation from pure-Git checkouts.Chris Wilson2015-12-06
| | | | Fix calls to Uname on platforms that don't have it, such as MSVC.
* Fix another bad library path, this time pcreposix.lib.Chris Wilson2015-12-02
|
* Fix another incorrect PCRE library path.Chris Wilson2015-12-01
|
* Fix PCRE library path to match installed directories for debug libs.Chris Wilson2015-12-01
|
* Fix include paths for PCRE to platform-specific install directory.Chris Wilson2015-12-01
|
* Install compiled OpenSSL files in a platform-specific directory.Chris Wilson2015-12-01
| | | | Attempt to cache the openssl compiled files to speed up build.
* Move win32.bat into a subdirectory to tidy up.Chris Wilson2015-08-30
| | | | | Fix location of ClientException.txt.
* Run tests using special script on Windows.Chris Wilson2015-08-29
| | | | | | Ensures that GCC DLLs are on the path, so that test executables will run. Also run debug tests as well as release tests.
* Use MinGW test runner to make compile script workChris Wilson2015-08-29
|
* Add a MinGW test runner to version control.Chris Wilson2015-08-29
|
* Make wrong return type an error, not a warning.Chris Wilson2015-08-29
| | | | We should never fail to return something from a non-void function.
* Don't overwrite OpenSSH Makefile during extraction.Chris Wilson2015-08-23
| | | | | | Hopefully should allow previous compilation results to be cached, when combined with not running ./Configure if the Makefile already exists.
* Add script to compile Box Backup and dependencies on Windows (Cygwin).Chris Wilson2015-08-23
| | | | | Automates the instructions found in docs/api-notes/win32_build_on_cygwin_using_mingw.txt.
* Major test refactor to support test suites.Chris Wilson2015-07-01
| | | | | | | Refactor all common code from testbbackupd and testbackupstore to allow other test suites to contain multiple tests and execute selected tests more easily. Report all test results within a suite in a standard, easy to read summary.
* Add command-line help to test executables.Chris Wilson2015-06-10
|
* Include full platform name in parcels, to distinguish 64-bit builds.Chris Wilson2015-05-16
|
* Allow matching parcel platforms on cpu-vendor and os-cpu-vendor.Chris Wilson2015-05-16
| | | | | | Allows us to match 32/64-bit specific targets in parcels.txt. Add support for variable substitution in parcels.txt.
* Fix system exit codes from tests, so we can use them in the shell.Chris Wilson2015-05-04
| | | | | I needed reliable exit codes to run the tests in a loop to catch an intermittent failure.
* Fix build on OS X >= 10.9, which uses GNU Make.James O'Gorman2015-02-28
| | | | | Also tidy up some whitespace to shut vim up.
* Remove missing source file references from Visual Studio 2010 SLN fileChris Wilson2015-01-02
|
* Rename test executable to fix PATH conflict with /usr/bin/test on Cygwin.Chris Wilson2014-12-26
|
* We must check for ftruncate if we intend to use its feature macro.Chris Wilson2014-12-26
|
* Move GNU autoconf tools into infrastructure directory.Chris Wilson2014-12-26
| | | | Add install-sh script, needed by AC_CONFIG_SUBDIRS for some reason.
* Fix compilation on Windows MinGW x86_64.Chris Wilson2014-12-26
| | | | | Look for libraries in the right directory, and pass the right --host option to the configure script.
* Add a note about why fixing NetBSD's kqueue support is harder than it looks.Chris Wilson2014-12-15
|
* Refactor file descriptor checks to avoid false alarms on NetBSD.Chris Wilson2014-12-12
| | | | | | Logging anything while checking for open file descriptors can reopen the syslog connection that was closed before, resulting in a false positive.
* Fix build on Solaris 11/SmartOS by using bmake.Chris Wilson2014-12-07
| | | | | Refactor code to select which make is used for readability.
* Fix detection of filesystems without extended attribute support on NetBSD.Chris Wilson2014-12-06
| | | | | | | | | | | NetBSD (version 6) uses ENOTSUP as the errno code to indicate missing support for extended attribute in the filesystem. This appears to be at odds with other Unixes: https://mail-index.netbsd.org/tech-kern/2011/12/13/msg012185.html We need to detect and handle ENOTSUP to stop the backup daemon from killing itself while trying to read extended attributes from the first file in the backup set.
* Fix missing include of sys/socket.h to find struct ucred on Linux.Chris Wilson2014-12-06
|
* Check for existence of netdb.h for conditional inclusion.Chris Wilson2014-12-06
|
* Remove unused code.Chris Wilson2014-12-06
|
* Workaround for old gnu tar, failing to restore timestamps on symlinks.Chris Wilson2014-12-06
| | | | | | | | | | | | | | | Older versions of GNU tar fail to set the timestamps on symlinks, which makes them appear too recent/new to be backed up immediately, causing test_bbackupd_uploads_files() for example to fail. Fixed by restoring the timestamps manually after extracting the fixture archive. For more details about the issue in tar, please see: http://lists.gnu.org/archive/html/bug-tar/2009-08/msg00007.html http://git.savannah.gnu.org/cgit/tar.git/plain/NEWS?id=release_1_24 This resulted in symlinks in fixture test files
* Add support for getsockopt(SO_PEERCRED) on OpenBSD 5.2.Chris Wilson2014-12-06
| | | | | | | | | | | OpenBSD requires different headers to be included, including a bug which makes it essential to include sys/param.h before sys/ucred.h, and gives the fields of struct ucred different names than Linux does. This fixes compilation on OpenBSD and allows the user connecting to a UNIX socket to be checked, increasing security of the command socket on this platform.
* Generate configure script in qdbm directory.Chris Wilson2014-12-01
| | | | | | Now that we've removed it from version control, we need to build it from configure.in as part of bootstrapping Box Backup.
* Add support for all logging options in test executables.Chris Wilson2014-09-04
| | | | Merged back changes from the test refactor branch to reduce diffs.
* Backport Timers::Cleanup that's safe to use in test cleanup.Chris Wilson2014-09-04
| | | | | | | | | | Allows it not to throw an exception if timers weren't initialised when cleanup was requested. Normally we want an exception thrown, but not while we're cleaning up a test that might have failed with timers uninitialised. More timers fixes after cleanup no-exception option. Merged back changes from the test refactor branch to reduce diffs.
* Remove the global logging level.Chris Wilson2014-04-09
| | | | | It's incompatible with having a logger that logs everything, regardless of the global log level.
* Support microsecond timestamps for files on Linux.Chris Wilson2014-04-09
|
* Fix compile error caused by missing std::list prototype.Chris Wilson2014-02-07
| | | | | | Fix erroneous detection of leaked file descriptors by closing syslog before compiling the initial list of file descriptors.
* Allow running only named tests in test suites that support it.Chris Wilson2014-02-07
|
* Show module name of each file when compiling.Chris Wilson2014-02-07
| | | | Helps to find the right file when looking at a failed build output.
* Compile debug builds with glibc debugging containers.Chris Wilson2014-02-07
| | | | Make the release and debug options more similar.
* Close syslog before checking for files left open in tests.Chris Wilson2014-02-07
| | | | Otherwise we might detect the opened syslog socket as a leaked file descriptor.
* Fix getopt header confusion.Chris Wilson2013-09-30
| | | | | | | | Our copy of getopt.h in lib/win32 was beating the system getopt.h in the search path, and providing different definitions, which clang picked up. Renamed our getopt.h to bsd_getopt.h, and added a box_getopt.h to decide whether to include this one instead of the system getopt.h.
* Add support for the -W option to test runner executable.Chris Wilson2013-08-21
|
* We need rm -f to remove read-only files from .svn directory copies in testfiles.Chris Wilson2012-11-15
|
* Don't use getpeername(), sys/socket.h or sys/un.h on platforms that don'tChris Wilson2012-11-14
| | | | | include them, to fix compile on Windows.
* Use AC_SEARCH_LIBS instead of AC_CHECK_LIB when searching for SSLChris Wilson2012-11-14
| | | | | libraries, to avoid adding duplicate libraries to LIBS.