1. 03 Aug, 2022 1 commit
  2. 20 Jul, 2022 1 commit
  3. 19 Jul, 2022 2 commits
  4. 08 Jul, 2022 1 commit
  5. 17 May, 2022 1 commit
  6. 16 May, 2022 1 commit
  7. 06 Apr, 2022 1 commit
  8. 24 Mar, 2022 1 commit
    • 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
  9. 21 Mar, 2022 1 commit
    • 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
  10. 25 Feb, 2022 1 commit
  11. 02 Feb, 2022 1 commit
  12. 26 Jan, 2022 1 commit
  13. 13 Dec, 2021 1 commit
  14. 22 Nov, 2021 1 commit
  15. 02 Nov, 2021 1 commit
    • 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
  16. 21 Oct, 2021 1 commit
  17. 19 Oct, 2021 1 commit
  18. 11 Oct, 2021 1 commit
  19. 04 Oct, 2021 1 commit
    • 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: Martin Marinov's avatarMartin Marinov <martin.marinov@autodesk.com>
      85cf95a7
  20. 23 Sep, 2021 1 commit
  21. 12 Aug, 2021 1 commit
  22. 11 Aug, 2021 1 commit
  23. 04 Aug, 2021 1 commit
    • 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: Martin Marinov's avatarMartin Marinov <martin.marinov@autodesk.com>
      4a13fbef
  24. 28 Jul, 2021 1 commit
  25. 22 Jul, 2021 1 commit
    • 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
  26. 14 Jul, 2021 1 commit
  27. 05 Jul, 2021 1 commit
  28. 10 Jun, 2021 1 commit
  29. 08 Jun, 2021 1 commit
  30. 01 Jun, 2021 1 commit
    • 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
  31. 20 May, 2021 2 commits
  32. 06 May, 2021 1 commit
    • Imdad Sardharwalla's avatar
      REFORM-1088 Import common test CL options from ReForm Preprocess (#49) · 47979ad8
      Imdad Sardharwalla authored
      * Add common command-line options to the Test::Args namespace
      
      * Add the ToggleGroup class to create pairs of --feature-on/--feature-off
        options to switch a feature on/off
      
      * Throw an error when accessing specific members of an option/option
        group if the option/option group has not been parsed.
      
      * Add functions to collect arguments from a string and from an
        environment variable
      47979ad8
  33. 28 Apr, 2021 1 commit
  34. 21 Apr, 2021 1 commit
    • Imdad Sardharwalla's avatar
      MTBR-808 Improve command-line parsing in Base/Test (#47) · fb477016
      Imdad Sardharwalla authored
      * Use Option& instead of std::unique_ptr<Option> in the parser. This
        allows us to access the Option objects after the parsing has been
        done.
      
      * Allow options to have a variable number of arguments, a usage string
        and a description string.
      
      * Parser displays help when -h or --help is passed as an argument. It
        makes use of the usage and description strings for each option.
      fb477016
  35. 14 Apr, 2021 1 commit
  36. 08 Apr, 2021 1 commit
  37. 06 Apr, 2021 2 commits