Commit graph

  • 173f19432c
    Merge 93d9499c4d into 10e50ad70c Louis Sautier 2026-05-10 19:14:40 +02:00
  • 93d9499c4d
    CMake: raise cmake_minimum_required to 3.10 to fix warning Louis Sautier 2026-05-10 19:12:28 +02:00
  • f649efdfcb
    Merge 02424076e0 into 10e50ad70c Luke Aguilar 2025-04-02 21:06:09 +11:00
  • 02424076e0
    Fixed version number Luke Aguilar 2025-04-02 21:05:29 +11:00
  • e1dfa30e38
    Add bazel support Luke Aguilar 2025-04-02 17:31:07 +11:00
  • a6ae9b0130
    Merge 3448cca0d6 into 10e50ad70c Viktor Lidström 2024-12-27 15:28:18 +01:00
  • 3448cca0d6
    Update TestTestRunner.cpp to remove warning "error: member ‘{anonymous}::FixtureBase::reporter’ is used uninitialized" Viktor Lidström 2024-12-27 15:25:17 +01:00
  • 9c63b769e9
    Merge 91790b98e0 into 10e50ad70c Sergei Trofimovich 2023-12-18 19:09:45 +00:00
  • 91790b98e0 CMakeLists.txt: fix PACKAGE_VERSION substitution in .pc file Sergei Trofimovich 2023-12-18 19:05:55 +00:00
  • 1b45e3af07
    Merge 103afb3018 into 10e50ad70c M Suleman Khalid 2023-08-09 13:24:01 -05:00
  • 103afb3018
    Merge branch 'unittest-cpp:master' into master M Suleman Khalid 2023-08-09 10:23:36 +05:00
  • e4ac82b216 HACK: Build on push to test Github Actions build Charles Baker 2021-12-06 12:30:10 +13:00
  • 0bfde6267b FIX: Run unit tests as part of Github Actions build Charles Baker 2021-12-06 12:28:34 +13:00
  • 19d7f742e5 WIP: Build on PR to main with Github Actions Charles Baker 2021-12-06 12:27:22 +13:00
  • cb0f10c8a4 Describe changes being made to the forge-v0.x.y branch in README.md Charles Baker 2021-12-06 12:23:07 +13:00
  • a3561e72c2 Rename forge to cc in buildfiles Charles Baker 2020-10-05 08:41:22 +13:00
  • 738caed5f7 Update .travis.yml to build with Forge v0.0.3-rc.11 Charles Baker 2019-07-24 20:12:24 +12:00
  • e7be220c36 Use latest Forge with toolsets and global API Charles Baker 2019-06-22 08:42:51 +12:00
  • ddb1915495 Update .travis.yml to build with latest Forge v0.0.2-rc.28 Charles Baker 2019-06-13 20:00:25 +12:00
  • 27cbb19e7f Build with latest Forge v0.0.2-rc.28 with global API Charles Baker 2019-06-13 19:59:49 +12:00
  • f95217cead Update README.md to describe the fork Charles Baker 2018-01-30 12:56:27 +13:00
  • 7cfa8ad3b6 Ignore Forge build output directories and configuration file Charles Baker 2019-03-31 20:21:35 +13:00
  • ab2f7f3034 Setup .travis.yml to build with Forge on Travis CI Charles Baker 2019-03-31 20:21:09 +13:00
  • 8519410c91 Build with Forge v0.0.x Charles Baker 2018-01-30 12:41:34 +13:00
  • 1feb161297
    Merge f361c2a103 into 10e50ad70c Sergei Trofimovich 2021-11-23 08:54:03 +00:00
  • f361c2a103 tests/TestTestRunner.cpp: avoid referencing yet unitialized member Sergei Trofimovich 2021-11-23 08:44:06 +00:00
  • 458f1a0f09
    Merge 452a6c7181 into 10e50ad70c Povilas Kanapickas 2021-02-08 10:27:17 -06:00
  • 0c9164e8b7
    Merge 2ef06eb616 into 10e50ad70c Louis Sautier 2021-02-05 17:51:56 -06:00
  • 1329f36c53
    Merge d288acf175 into 10e50ad70c ptheta 2020-12-16 21:30:56 +01:00
  • 5a009079c6
    Merge 2ac12aa3fa into 10e50ad70c srinivas32 2020-11-20 07:28:33 +00:00
  • 2ac12aa3fa
    added power support arch ppc64le on yml file. srinivas32 2020-11-20 12:48:53 +05:30
  • 10e50ad70c
    Extend hiatus to 26 November master Patrick Johnmeyer 2020-11-12 23:26:38 -06:00
  • 854cae2518
    Extend hiatus to 15 October Patrick Johnmeyer 2020-10-01 19:56:11 -05:00
  • 37df68be21
    Add hiatus note & link to issue Patrick Johnmeyer 2020-08-17 19:53:58 -05:00
  • 0ea55a251b
    Merge pull request #173 from dhuantes/install-improvements Patrick Johnmeyer 2020-04-18 19:17:46 -05:00
  • f871471d90 Added Namespace to Exported Target [CMakeLists.txt] - It is standard practice to have a namespace for an imported target. Added UnitTest++:: as the namespace argument so that find_package(UnitTest++) will result in UnitTest++::UnitTest++ target that will be used in target_link_libraries. - Updated target_link_libraries for TestUnitTest++ as an example Dan Huantes 2020-04-07 18:07:24 -05:00
  • 2e10da51ad
    fix issues with Win32 files Michael Brockus 2020-02-07 11:29:50 -08:00
  • 31544064d4
    just moved comment to root meson.build [skip ci] Michael Brockus 2020-02-07 11:14:31 -08:00
  • f7ab7378b3
    adding comment in root meson.build file [skip ci] Michael Brockus 2020-02-07 11:13:51 -08:00
  • 62606822da
    add Win32 helpers from subdir Michael Brockus 2020-02-07 11:09:46 -08:00
  • d596c0f9f3
    Create meson.build Michael Brockus 2020-02-07 11:09:02 -08:00
  • 5edbbddc89
    make lib either shared or static Michael Brockus 2020-02-07 11:02:37 -08:00
  • 481d2b21e9
    Update meson.build Michael Brockus 2020-01-18 19:59:56 -08:00
  • a64758f818
    Create meson.build Michael Brockus 2020-01-18 17:32:21 -08:00
  • 27ab1306b0
    Update meson.build Michael Brockus 2020-01-18 17:31:39 -08:00
  • 4ebfadcbc5
    Change support to go back to 0.52.0 Michael Brockus 2020-01-16 10:42:58 -08:00
  • 6a26fcb8ff
    Update meson.build Michael Brockus 2020-01-16 10:16:23 -08:00
  • ab3bea92cd
    Create meson.build Michael Brockus 2020-01-16 10:15:37 -08:00
  • 741fd9b536
    Create meson.build Michael Brockus 2020-01-16 10:14:32 -08:00
  • 199d2610b1
    Merge e0e96c7301 into d355e127be Rao Garimella 2020-01-14 13:06:03 -06:00
  • e0e96c7301 set target_include_directories for UnitTest++ so it will get exported correctly to UnitTest++Targets.cmake Rao Garimella 2020-01-14 11:59:41 -07:00
  • c269666681 Version made explicitly 3 parts - Updated to appveyor.yml and configure.ac to 2.1.0 to match CMake project version. Dan Huantes 2019-10-17 08:23:46 -05:00
  • d355e127be
    Merge pull request #172 from Flow86/patch-1 Patrick Johnmeyer 2019-10-15 21:27:12 -05:00
  • 2423fcac76 CrasingTestsAreReportedAsFailures no longer core dumps on Clang Release Dan Huantes 2019-08-15 08:26:41 -05:00
  • bdef2bdd62 UnitTest++ now correctly supports CMake's find_package config mode [CMakeLists.txt] - Bumped cmake minimum requirement to go to 3.0 as this appears to be earliest version that transitive usage requirements are supported. - Added version to project so that is evident when looking at CMakeLists.txt - Removed include_directories as that command affects more than just UnitTest++ in favor of target_include_directories. - The target_include_directories uses the generator expressions to do the same thing for the BUILD_INTERFACE condition but only affects UnitTest++. The INSTALL_INTERFACE ensures that when UnitTest++ is installed client applications calling find_package for UnitTest++ only have to add the UnitTest++ target to the target_link_libraries and will get the correct include path for UnitTest++ added to their include paths. - Added DEBUG_POSTFIX to both library and unit test to distinguish them from each other as they are installed into the same directory and would otherwise overwrite one another. - Added Versioning using write_basic_package_version_file to the install so that a client can call find_package(UnitTest++ 2.1 REQUIRED) and it will be able to confirm the version. If the version is updated you could theoretically ahve a version 2.2, 2.3 ,etc... and the find_package mechanism will find the correct one. the SameMajorVersion option in that call indicates that 2.3 is compatible with 2.1 or in other words if find_package(UnitTest++ 2.1 REQUIRED) is called and 2.3 is installed that satisfies the condition but if only 3.0 was installed it will fail because of 'SameMajorVersion'. - Also added installation for the Version file. Dan Huantes 2019-08-14 11:32:00 -05:00
  • a7d506d7eb
    add support to build unittest cpp on AIX (IBM) Flow86 2019-03-20 13:19:15 +01:00
  • 452a6c7181 Add "default" empty implementation for Timer and SleepMs() Povilas Kanapickas 2018-11-16 16:55:11 +02:00
  • d288acf175 Add support for Cygwin paul.bristow 2017-12-27 07:56:41 +00:00
  • 2ef06eb616
    Add an option to prevent CMake from running tests Louis Sautier 2017-09-12 00:03:08 +02:00
  • bc5d87f484 Merge pull request #161 from martinmoene/cmake Patrick Johnmeyer 2017-07-08 10:06:47 -05:00
  • a6fdaeef12 Use if (MSVC) as per issue #160 Martin Moene 2017-07-08 11:09:38 +02:00
  • 85b3666173 Merge pull request #149 from timdave13/patch-1 Patrick Johnmeyer 2017-07-07 23:16:00 -05:00
  • 8c460c48e6 Merge pull request #141 from Reification/feature-MSVC-Clang Patrick Johnmeyer 2017-06-30 23:46:28 -05:00
  • 65af507437 Merge pull request #155 from vicentebolea/adding-autogen-script Patrick Johnmeyer 2017-06-30 23:35:29 -05:00
  • ee996164f2 Merge branch 'master' into feature-MSVC-Clang Patrick Johnmeyer 2017-06-30 23:31:18 -05:00
  • af28992c5d Merge pull request #148 from cwilling/add-lib_dir Patrick Johnmeyer 2017-06-30 23:13:06 -05:00
  • 33e6314753 Added autogen.sh file to ease autotools installation Vicente Adolfo Bolea Sanchez 2017-05-22 00:22:38 +09:00
  • 07d4872076 fix clang warnings Tim Bochenek 2017-02-03 08:19:17 -05:00
  • 0b15459ee4 Downgrade message to STATUS and do not declare C++11 as a requirement. Gabriel Hare 2017-02-02 21:56:48 -08:00
  • 0a6857e388 fix clang warning Tim Bochenek 2017-02-02 18:03:59 -05:00
  • d7bd757862 fix clang warning timdave13 2017-02-02 17:14:27 -05:00
  • 0757ba8f90
    Add support for LIB_SUFFIX Christoph Willing 2017-01-23 17:49:12 +10:00
  • 05d62be59a Merge 17d6e82ca6 into c331bb0dea Gabriel Schlozer 2017-01-20 01:02:43 +00:00
  • b8efd349f4 Merge 896f862a87 into c331bb0dea Gabriel Schlozer 2017-01-20 01:02:43 +00:00
  • d31befcf19 Merge 7c98f0a674 into c331bb0dea Gabriel Schlozer 2017-01-20 01:02:41 +00:00
  • ac97493c8d Merge c5aa621e64 into c331bb0dea dvader 2017-01-20 01:02:41 +00:00
  • c331bb0dea Merge pull request #146 from iblis17/fbsd-cmake Patrick Johnmeyer 2017-01-19 19:00:12 -06:00
  • 85bade33f5 cmake: fix pkgconfig dir path on FreeBSD Iblis Lin 2017-01-14 23:00:24 +08:00
  • d0980fe7e2 Merge pull request #143 from unittest-cpp/v2-prep v2.0.0 Patrick Johnmeyer 2017-01-13 15:55:01 -06:00
  • 615b6cdd0f Add note re: autotools to INSTALL file Patrick Johnmeyer 2017-01-13 14:51:19 -06:00
  • 8e5968bb05 Roll version number to 2.0.0 Patrick Johnmeyer 2017-01-13 14:36:38 -06:00
  • 8d70dff05b Delete unused ChangeLog file Patrick Johnmeyer 2017-01-13 14:35:21 -06:00
  • 5e3b37825c Merge pull request #139 from edanaher/pkgconfig-with-cmake Patrick Johnmeyer 2017-01-13 13:28:25 -06:00
  • a2fe23887a Use “MATCHES” instead of “STREQUAL” to avoid ambiguous comparison. Gabriel Hare 2016-12-15 02:50:09 -08:00
  • bb49539107 Revert "Increase CMake version to resolve developer warnings regarding implicit quoted dereference in STREQUAL comparison" Gabriel Hare 2016-12-15 02:46:13 -08:00
  • c4ab9d31ed Identify Clang compiler when used as an MSVC extension Gabriel Hare 2016-12-15 00:40:03 -08:00
  • 8f7a263446 Increase CMake version to resolve developer warnings regarding implicit quoted dereference in STREQUAL comparison Gabriel Hare 2016-12-15 00:31:56 -08:00
  • 9eba823269 Demonstrate that compiler is identified as MSVC when VS2014 Clang extension is used Gabriel Hare 2016-12-14 23:11:20 -08:00
  • 478b6545b2 Merge pull request #135 from jumonatr/master Patrick Johnmeyer 2016-12-03 22:57:09 -06:00
  • 40f90dc601 Build pkgconfig file with CMake, not just with autoconf. Evan Danaher 2016-12-01 12:22:54 -05:00
  • c5aa621e64 Catching and resolving the exception thrown when accessing an empty string from an ostrstream (MemoryOutStream GetString would throw if the stream was empty). Moving the exception disable to the test file instead of the main file so the workaround is located where it is needed. All tests pass!!! Alexis Denis 2016-11-22 13:16:33 -06:00
  • bcf039ecce Build clean and passes all the tests except three using CMake. cd builds cmake -G"Borland Makefiles" .. make Two of the tests fail because of unhandled floating point exceptions (throws when doing calculations using Nan). This was fixed by ignoring floating point exceptions. One test fails because std::string is not implemented properly in Borland C++ 5. This test is bypassed if using the Borland compiler. It does mean though that MemoryOutStream.Clear() doesn't work. A more permanent fix might be needed. I noticed a separate implementation of MemoryOutStream for VC6 that doesn't use std::string. Maybe we can use that one instead. Alexis Denis 2016-11-21 16:24:54 -06:00
  • 6c62f24bfd Added conditional compiles around the "using namespace" per author recommendation. Alexis Denis 2016-11-20 09:58:41 -06:00
  • 2809901115 Adding Borland C++ Builder 5 support. Included the project files as well as the automatically generated makefiles. The library compiles without issues. Borland requires the UnitTest namespace to be defined at the beginning of tests. Added an default to have no support for C++11. Added a Borland to the list of compilers that don't recognize "long long" but use __int64 instead. Alexis Denis 2016-11-18 16:23:24 -06:00
  • 2c41f90efb removed swallow statement Gabriel Schlozer 2016-11-18 15:30:30 +01:00
  • 0d77b1ae10 Update docs reference to avoid bad path names on windows Julien Monat Rodier 2016-10-11 13:00:40 -07:00
  • 7c98f0a674 fixed some int -> size_t Gabriel Schlozer 2016-09-12 10:31:15 +02:00
  • b3b3df9588 added comment Gabriel Schlozer 2016-09-12 09:45:25 +02:00
  • f8e366b19b added overload with same signatire as "int main(int argc, char**argv)" Gabriel Schlozer 2016-09-12 09:43:06 +02:00
  • d5e6fe15a8 fix for gcc: TestDetails.cpp:38:47: error: ‘strcmp’ was not declared in this scope Gabriel Schlozer 2016-09-09 14:45:55 +02:00