- Mar 14, 2025
-
-
David Bommes authored
Always C++ filesystem instead of boost::filesystem: See merge request !18
-
- Feb 02, 2025
-
-
Martin Heistermann authored
boost::filesystem was used as a fallback for OSX < 10.15 that lacked <filesystem>. This version is now non long-unsupported by Apple, so let's drop the boost-filesystem dependency.
-
- Jan 31, 2025
-
-
David Bommes authored
Use CMake-generated export headers. See merge request !17
-
Martin Heistermann authored
-
- Feb 03, 2023
-
-
Joe Jakobi authored
merge from ReForm See merge request !16
-
Max Lyon authored
-
- Aug 23, 2022
-
-
Jan Möbius authored
Add missing include for ptrdiff_t See merge request !15
-
- Aug 22, 2022
-
-
Martin Heistermann authored
-
- Aug 03, 2022
-
-
Jan Möbius authored
Merge latest changes to Base from ReForm See merge request !14
-
- Jul 20, 2022
-
-
Max Lyon authored
-
- Jul 19, 2022
- Jul 08, 2022
-
-
Martin Marinov authored
-
- May 17, 2022
-
-
Martin Marinov authored
-
- May 16, 2022
-
-
* Refactor shared data code from Checksum::Compare to Base::SafeSharedPtrT and reuse it in Checksum::Report::Write. * Various changes to simplify and streamline report symbols naming and decouple symbols from the tests.
-
- Apr 06, 2022
-
-
Martin Marinov authored
Add buffered text output file for faster text writes. Improve platform compatibility for printing.
-
- Mar 24, 2022
-
-
Max Lyon authored
* Add BASE_CONCAT and BASE_UNIQUE_NAME to BaseDefines.hh * add Scope.hh utils containing helpers to perform actions at the end of a scope, such as calling a function or restoring a variables original value
-
- Mar 21, 2022
-
-
Max Lyon authored
* add a tolerant comparison class and make it the default for floating point values * reorder Difference enum to make negligible changes least significant. * report number of negligible tests in the summary at the end of the test run
-
- Feb 25, 2022
-
-
Martin Marinov authored
-
- Feb 02, 2022
-
-
Max Lyon authored
* add DEB_time_session_avg which prints the average timing based on a user provided divisor
-
- Jan 26, 2022
-
-
Max Lyon authored
* add output operator for ptrdiff_t
-
- Dec 13, 2021
-
-
Ioannis Koutoulakis authored
* change base to build mac 10.15 * add log to check MAC_1015 variable in Filesystem.hh * add Availability Macros header in Filesystem.hh * add FILESYSTEM_USE_BOOST Co-authored-by:
administrator <administrator@autodesk.com>
-
- Nov 22, 2021
-
-
David MacDonald authored
* Fixes compile errors on VS2017, due to missing second locale argument in calls to std::tolower and std::isspace in Test files. * Use standard naming convention C_LOCALE.
-
- Nov 02, 2021
-
-
Martin Marinov authored
* Fix the check preventing Filesystem builds on APPLE w/o Boost * Remove obsolete definitions from CMake * Fix build error with OptionT<> when TEST_ON is undefined * Add missing includes when TEST_ON is undefined * Remove the error message if JOURNAL_USE_BOOST is undefined
-
- Oct 21, 2021
-
-
Martin Marinov authored
-
- Oct 19, 2021
-
-
Imdad Sardharwalla authored
-
- Oct 11, 2021
-
-
Martin Marinov authored
* Add Base::OptionT<> * Add StringOption and BoundOption * Add BoundToggleGroup
-
- Oct 04, 2021
-
-
Imdad Sardharwalla authored
* Make static data non-static in Test::Checksum::Compare. This allows us to pass instances of Test::Checksum::Compare between binaries. Static data in a class always refers to data in the current binary, and so it's not possible to pass it (as static data) between binaries. * Move Test::Checksum::Compare implementation to TestChecksum.cc so that it can store a non-static reference to the checksum registry (for the reason described above). * Remove use of Base::filesystem from TestChecksumCompare.hh, as ReForm cannot currently use std::filesystem. * Remove the Test::Paths constructor that takes argc and argv values, as this is no longer used. * Catch exceptions in TestReport more carefully. * Expose the process name in TestArgs. Co-authored-by:
Martin Marinov <martin.marinov@autodesk.com>
-
- Sep 23, 2021
-
-
Martin Marinov authored
-
- Aug 12, 2021
-
-
Imdad Sardharwalla authored
-
- Aug 11, 2021
-
-
Imdad Sardharwalla authored
* Move error-related code for Base/Test to TestError.(cc|hh) * Create Test::Error, a derived class of Base::Error, to store error codes/messages for Base/Test * Replace std exceptions with Test::Error wherever possible
-
- Aug 04, 2021
-
-
Imdad Sardharwalla authored
* Create a new Compare class in TestChecksumCompare.(cc|hh) that contains the code from the function Test::compare_checksums() (previously in ReForm Preprocess) and Test::compare_reports() (previously in TestResultAnalysis.(cc|hh)). Checksum objects reside in the binary that implements the tested algorithms (A), which may not be the same binary that runs the comparisons (B). In order to deal with this, we create an instance of the Compare class for each copy of Base contained within the final binary. The Compare object from A can be provided to B to perform the comparisons. * Create NullOutputStream and a global instance Base::null_os. This ignores any data streamed to it. Co-authored-by:
Martin Marinov <martin.marinov@autodesk.com>
-
- Jul 28, 2021
-
-
Imdad Sardharwalla authored
* Remove make_summary_report() and associated code from TestReport The report executable no longer needs to be run twice to produce a comparison, and no longer produces the <test_dir>_base/ directory when processing <test_dir>/. * Update documentation
-
- Jul 22, 2021
-
-
Imdad Sardharwalla authored
* Move PathLink from TestReport.cc -> Paths/PathLink.hh * Move TestFilesystem.hh -> Paths/Filesystem.hh * Add macros (particularly BASE_TEST()) in TestCase.hh to create a wrapper for the Catch2 macro TEST_CASE() (or any other test macro that defines a void function) to allow checksum comparisons to be performed at the end of a test. * Remove timing information and empty lines from checksum reports. Consequently, remove filter_report() from TestReport.cc and replace it with a simple copy.
-
- Jul 14, 2021
-
-
Martin Marinov authored
... to fix an issue where multiple components are using the API (#56)
-
- Jul 05, 2021
-
-
Imdad Sardharwalla authored
Also move the CHECK_CONDITION() macro and associated code to TestChecksumCondition.(cc|hh).
-
- Jun 10, 2021
-
-
Imdad Sardharwalla authored
-
- Jun 08, 2021
-
-
Imdad Sardharwalla authored
-
- Jun 01, 2021
-
-
Imdad Sardharwalla authored
If TEST_REPORT_PARSE_CTEST_ERRORS *is* defined, the report executable will state the tests that are listed in the CTest log but for which no checksums were found. If TEST_REPORT_PARSE_CTEST_ERRORS *is not* defined, the report executable will check that the number of tests listed in the CTest log is the same as the number of tests for which checksums were found and will print a warning if this is not the case.
-
- May 20, 2021
-
-
Imdad Sardharwalla authored
XCode10 lacks support for several C++17 standard library features. Hence, for macOS, std::size() has been replaced with calls to sizeof(), and std::map::try_emplace() has been replaced with calls to std::map::emplace().
-