Skip to content
Snippets Groups Projects
  1. Mar 14, 2025
  2. Feb 02, 2025
  3. Jan 31, 2025
  4. Feb 03, 2023
  5. Aug 23, 2022
  6. Aug 22, 2022
  7. Aug 03, 2022
  8. Jul 20, 2022
  9. Jul 19, 2022
  10. Jul 08, 2022
  11. May 17, 2022
  12. May 16, 2022
  13. Apr 06, 2022
  14. Mar 24, 2022
    • Max Lyon's avatar
      REFORM-955 add scope utils (#78) · 96a67978
      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
      96a67978
  15. Mar 21, 2022
    • Max Lyon's avatar
      REFORM-1226 better handling of double checksums (#77) · b254ce3a
      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
      b254ce3a
  16. Feb 25, 2022
  17. Feb 02, 2022
  18. Jan 26, 2022
  19. Dec 13, 2021
  20. Nov 22, 2021
  21. Nov 02, 2021
    • Martin Marinov's avatar
      REFORM-1185 Enable Preprocess Mac build (#71) · 0d178945
      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
      0d178945
  22. Oct 21, 2021
  23. Oct 19, 2021
  24. Oct 11, 2021
  25. Oct 04, 2021
    • Imdad Sardharwalla's avatar
      REFORM-1097 Change Test::Checksum::Compare to use non-static data (#63) · 85cf95a7
      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: default avatarMartin Marinov <martin.marinov@autodesk.com>
      85cf95a7
  26. Sep 23, 2021
  27. Aug 12, 2021
  28. Aug 11, 2021
  29. Aug 04, 2021
    • Imdad Sardharwalla's avatar
      REFORM-1144 Restructure checksum comparison code (#59) · 4a13fbef
      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: default avatarMartin Marinov <martin.marinov@autodesk.com>
      4a13fbef
  30. Jul 28, 2021
  31. Jul 22, 2021
    • Imdad Sardharwalla's avatar
      REFORM-1016 REFORM-1132 Add flexibility to perform checksum comparisons at the end of a test (#57) · 5213b5d6
      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.
      5213b5d6
  32. Jul 14, 2021
  33. Jul 05, 2021
  34. Jun 10, 2021
  35. Jun 08, 2021
  36. Jun 01, 2021
    • Imdad Sardharwalla's avatar
      REFORM-1090 Don't exit report binary on test mismatch (#52) · 8ef1b3b1
      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.
      8ef1b3b1
  37. May 20, 2021
    • Imdad Sardharwalla's avatar
      REFORM-1096 Fixes for macOS (#50) · 3f26d719
      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().
      3f26d719
Loading