[Box Backup-commit] [boxbackup/boxbackup] a09d55: Add wrapper for running tests easily on MSVC/CMake

GitHub noreply at github.com
Sun Dec 13 23:52:20 GMT 2015


  Branch: refs/heads/appveyor
  Home:   https://github.com/boxbackup/boxbackup
  Commit: a09d552396ea9d9d5decd3185601a4be7090415b
      https://github.com/boxbackup/boxbackup/commit/a09d552396ea9d9d5decd3185601a4be7090415b
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2015-12-13 (Sun, 13 Dec 2015)

  Changed paths:
    M runtest.pl.in

  Log Message:
  -----------
  Add wrapper for running tests easily on MSVC/CMake


  Commit: 768f2bd2c35d56f0df65c4c9acfe5649e776409e
      https://github.com/boxbackup/boxbackup/commit/768f2bd2c35d56f0df65c4c9acfe5649e776409e
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2015-12-13 (Sun, 13 Dec 2015)

  Changed paths:
    M lib/common/Test.h
    M test/basicserver/testbasicserver.cpp

  Log Message:
  -----------
  Define TEST_EXECUTABLE to allow it to have different names on MSVC/CMake.


  Commit: b0b213fe8f8527c5e818c5416751cfc83cbce53e
      https://github.com/boxbackup/boxbackup/commit/b0b213fe8f8527c5e818c5416751cfc83cbce53e
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2015-12-13 (Sun, 13 Dec 2015)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Fix invalid constant name, picked up by MSVC (and not by GCC or LLVM)


  Commit: 240a73906d841e4dd823a9edbb25026d346add41
      https://github.com/boxbackup/boxbackup/commit/240a73906d841e4dd823a9edbb25026d346add41
  Author: Moritz 'Morty' Strübe <morty at gmx.net>
  Date:   2015-12-13 (Sun, 13 Dec 2015)

  Changed paths:
    M infrastructure/m4/boxbackup_tests.m4

  Log Message:
  -----------
  Fix -rdynamic check

The flag -rdynamic must be removed from LDFLAGS after the check.
Otherwise its also set for the following checks and they fail.


  Commit: 381622e323f75fc48cf67869a7629e48419dc242
      https://github.com/boxbackup/boxbackup/commit/381622e323f75fc48cf67869a7629e48419dc242
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2015-12-13 (Sun, 13 Dec 2015)

  Changed paths:
    M infrastructure/mingw/compile-boxbackup-cygwin.sh

  Log Message:
  -----------
  Make setup.exe executable after download, so we can run it.


  Commit: 507588f7f9ee684958f088182fd20ac673ddc643
      https://github.com/boxbackup/boxbackup/commit/507588f7f9ee684958f088182fd20ac673ddc643
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2015-12-13 (Sun, 13 Dec 2015)

  Changed paths:
    M infrastructure/mingw/compile-boxbackup-cygwin.sh

  Log Message:
  -----------
  Install OpenSSL, etc. in parent directory of source checkout.


  Commit: c23517a9d88ba58f22eba4f685e8e680c63b352f
      https://github.com/boxbackup/boxbackup/commit/c23517a9d88ba58f22eba4f685e8e680c63b352f
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2015-12-13 (Sun, 13 Dec 2015)

  Changed paths:
    M infrastructure/mingw/configure.sh

  Log Message:
  -----------
  Pass the correct flags to the configure script to locate OpenSSL headers.


  Commit: d5f6f76740638075de9aba86f34a25cef63c9708
      https://github.com/boxbackup/boxbackup/commit/d5f6f76740638075de9aba86f34a25cef63c9708
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2015-12-13 (Sun, 13 Dec 2015)

  Changed paths:
    M infrastructure/mingw/configure.sh

  Log Message:
  -----------
  Also link -lgdi32 on Windows, because OpenSSL requires it!


  Commit: 8d8f08044de661651e8e8df6f1a1100a54e3746f
      https://github.com/boxbackup/boxbackup/commit/8d8f08044de661651e8e8df6f1a1100a54e3746f
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2015-12-13 (Sun, 13 Dec 2015)

  Changed paths:
    M infrastructure/mingw/configure.sh

  Log Message:
  -----------
  Try a different way to link -lgdi32, hopefully after other libs this time.


  Commit: 23778339da4aee7c0f0cf90f6e51753523c62582
      https://github.com/boxbackup/boxbackup/commit/23778339da4aee7c0f0cf90f6e51753523c62582
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2015-12-13 (Sun, 13 Dec 2015)

  Changed paths:
    M infrastructure/mingw/configure.sh

  Log Message:
  -----------
  We still need to manually tell Configure to link ws2_32 as well as gdi32.


  Commit: cdd27f760290c27db7e3e1704e43eeceba07ea77
      https://github.com/boxbackup/boxbackup/commit/cdd27f760290c27db7e3e1704e43eeceba07ea77
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2015-12-13 (Sun, 13 Dec 2015)

  Changed paths:
    M lib/common/CollectInBufferStream.h

  Log Message:
  -----------
  Remove the duplicate copy constructor that MSVC warns about.


  Commit: e77de564aaacaed07075eaac1974d35d09dd2bce
      https://github.com/boxbackup/boxbackup/commit/e77de564aaacaed07075eaac1974d35d09dd2bce
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2015-12-13 (Sun, 13 Dec 2015)

  Changed paths:
    M lib/common/Utils.cpp
    M lib/common/Utils.h

  Log Message:
  -----------
  Add some little string functions to Utils.cpp.

These functions check whether the beginning and end of a std::string match
a supplied prefix or suffix, and remove that prefix or suffix, returning the
remaining part. They are almost but not entirely trivial, and giving them
names makes the code that uses them much more readable.


  Commit: 403e7e2051ee3bd3e16a616cfca63b036481282b
      https://github.com/boxbackup/boxbackup/commit/403e7e2051ee3bd3e16a616cfca63b036481282b
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2015-12-13 (Sun, 13 Dec 2015)

  Changed paths:
    R bin/bbackupd/BackupClientContext.cpp
    R bin/bbackupd/BackupClientContext.h
    R bin/bbackupd/BackupClientDeleteList.cpp
    R bin/bbackupd/BackupClientDeleteList.h
    R bin/bbackupd/BackupClientDirectoryRecord.cpp
    R bin/bbackupd/BackupClientDirectoryRecord.h
    R bin/bbackupd/BackupClientInodeToIDMap.cpp
    R bin/bbackupd/BackupClientInodeToIDMap.h
    R bin/bbackupd/BackupDaemon.cpp
    R bin/bbackupd/BackupDaemon.h
    R bin/bbackupd/BackupDaemonInterface.h
    R bin/bbackupd/Win32BackupService.cpp
    R bin/bbackupd/Win32BackupService.h
    R bin/bbackupd/Win32ServiceFunctions.cpp
    R bin/bbackupd/Win32ServiceFunctions.h
    R bin/bbackupquery/BackupQueries.cpp
    R bin/bbackupquery/BackupQueries.h
    R bin/bbackupquery/BoxBackupCompareParams.h
    R bin/bbackupquery/CommandCompletion.cpp
    R bin/bbackupquery/Makefile.extra
    R bin/bbackupquery/documentation.txt
    R bin/bbackupquery/makedocumentation.pl.in
    M infrastructure/cmake/CMakeLists.txt
    A lib/bbackupd/BackupClientContext.cpp
    A lib/bbackupd/BackupClientContext.h
    A lib/bbackupd/BackupClientDeleteList.cpp
    A lib/bbackupd/BackupClientDeleteList.h
    A lib/bbackupd/BackupClientDirectoryRecord.cpp
    A lib/bbackupd/BackupClientDirectoryRecord.h
    A lib/bbackupd/BackupClientInodeToIDMap.cpp
    A lib/bbackupd/BackupClientInodeToIDMap.h
    A lib/bbackupd/BackupDaemon.cpp
    A lib/bbackupd/BackupDaemon.h
    A lib/bbackupd/BackupDaemonInterface.h
    A lib/bbackupd/Win32BackupService.cpp
    A lib/bbackupd/Win32BackupService.h
    A lib/bbackupd/Win32ServiceFunctions.cpp
    A lib/bbackupd/Win32ServiceFunctions.h
    A lib/bbackupquery/BackupQueries.cpp
    A lib/bbackupquery/BackupQueries.h
    A lib/bbackupquery/BoxBackupCompareParams.h
    A lib/bbackupquery/CommandCompletion.cpp
    A lib/bbackupquery/documentation.txt
    A lib/bbackupquery/makedocumentation.pl.in
    M modules.txt

  Log Message:
  -----------
  Move reusable code out of bin directories.

Allows tests to depend on lib/bbackupd instead of bin/bbackupd, which was
always a hack, and really doesn't work with CMake.


  Commit: 2cf3fbbfe6888115ca63909fd48dc0357b46a56a
      https://github.com/boxbackup/boxbackup/commit/2cf3fbbfe6888115ca63909fd48dc0357b46a56a
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2015-12-13 (Sun, 13 Dec 2015)

  Changed paths:
    M infrastructure/cmake/CMakeLists.txt

  Log Message:
  -----------
  Add header files to dependencies and generated Visual Studio projects


  Commit: 004c1d3b39f045f0f3935f6ca7cb9cb1960573ea
      https://github.com/boxbackup/boxbackup/commit/004c1d3b39f045f0f3935f6ca7cb9cb1960573ea
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2015-12-13 (Sun, 13 Dec 2015)

  Changed paths:
    M infrastructure/cmake/CMakeLists.txt
    M lib/common/Test.cpp
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Add CTest configurations to CMake. Make some tests work on Windows/MSVC.


  Commit: 507316689b1e631f1f9d0ef2bcfdc36d9d8c2896
      https://github.com/boxbackup/boxbackup/commit/507316689b1e631f1f9d0ef2bcfdc36d9d8c2896
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2015-12-13 (Sun, 13 Dec 2015)

  Changed paths:
    M lib/common/NamedLock.cpp
    M lib/win32/emu.cpp
    M lib/win32/emu.h

  Log Message:
  -----------
  Fix Windows file locking to work with MSVC


  Commit: 18dc9ed84fe2958fc503c65e49366742a1940df6
      https://github.com/boxbackup/boxbackup/commit/18dc9ed84fe2958fc503c65e49366742a1940df6
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2015-12-13 (Sun, 13 Dec 2015)

  Changed paths:
    M test/backupstore/testbackupstore.cpp

  Log Message:
  -----------
  Remove asserts that caused tests to blow up when directory permissions were wrong


Compare: https://github.com/boxbackup/boxbackup/compare/b11262511ac3...18dc9ed84fe2


More information about the Boxbackup-commit mailing list