1. 09 7月, 2019 1 次提交
  2. 06 7月, 2019 3 次提交
  3. 04 7月, 2019 1 次提交
  4. 12 5月, 2019 1 次提交
  5. 21 4月, 2019 1 次提交
  6. 14 4月, 2019 1 次提交
  7. 08 4月, 2019 1 次提交
  8. 07 4月, 2019 1 次提交
  9. 12 3月, 2019 1 次提交
  10. 01 2月, 2019 1 次提交
    • E
      Improvements to the execution time feature · 076f0fff
      elliot 提交于
      - Running time macros have been made more portable, previously it was not
        possible to override all macros
      - Running time macros will be executed by default test runner, and auto test
        runners
      - Adds a default execution time implementation for unix. (Previous default
        implementation only worked on Windows)
      - For embedded platforms there is a simple method of getting a default
        implementation by defining a single macro UNITY_CLOCK_MS()
      - Removed need for UNITY_EXEC_TIME_RESET. This was not being used for the default
        implementations, if anything ever did need reset-like functionality it could
        simply be wrapped up with the start or stop macros for that platform
      076f0fff
  11. 31 1月, 2019 1 次提交
  12. 25 1月, 2019 3 次提交
  13. 29 11月, 2018 2 次提交
  14. 31 10月, 2018 2 次提交
  15. 28 10月, 2018 1 次提交
  16. 27 10月, 2018 1 次提交
  17. 12 9月, 2018 1 次提交
  18. 18 7月, 2018 1 次提交
    • X
      Flush unity output before a potential longjmp · 2c5d09bf
      Xenoamor 提交于
      Flush the unity stdout buffer before calling TEST_ABORT().
      This is because if TEST_PROTECT() has not previously been called this will cause a segmentation fault and the stdout buffer will fail to print
      
      Although the segmentation fault will still occur, the error that caused it will at least be displayed
      2c5d09bf
  19. 11 2月, 2018 1 次提交
  20. 23 11月, 2017 1 次提交
  21. 08 11月, 2017 4 次提交
  22. 01 11月, 2017 1 次提交
  23. 24 10月, 2017 1 次提交
  24. 09 10月, 2017 1 次提交
    • J
      Fix link errors with MinGW. · a7e8797e
      John Lindgren 提交于
      MinGW supports a limited form of weak symbols, with the restriction
      that weak/default implementations need to be defined in the same
      translation unit they are called from.  Strong/overriding symbols
      may of course be specified in a different translation unit.
      a7e8797e
  25. 21 9月, 2017 1 次提交
  26. 14 9月, 2017 1 次提交
    • J
      Allow suiteSetUp() and suiteTearDown() to be provided as normal C functions. · 2593c31b
      John Lindgren 提交于
      This is simpler and more flexible than embedding C code in the Ruby options
      (:suite_setup and :suite_teardown).  However, support for :suite_setup and
      :suite_teardown is kept for backwards compatibility.
      
      Several configurations are possible:
      1. :suite_setup and :suite_teardown options provided and used.
      2. :suite_setup and :suite_teardown options not provided (nil):
        2a. Weak symbols not supported; suiteSetUp() and suiteTearDown() are not called.
            It would be simpler to make user-provided functions mandatory in this case,
            but it could break some pre-existing test suites.
        2b. Weak symbols are supported and the stub implementations of suiteSetUp() and
            suiteTearDown() are called if there are no user-provided functions.
        2c. Weak symbols are supported but overridden by user-provided suiteSetUp() and
            suiteTearDown() functions.
      2593c31b
  27. 11 9月, 2017 1 次提交
  28. 10 9月, 2017 1 次提交
  29. 26 8月, 2017 2 次提交
    • J
      Make code C89-compliant. · 2ae2bdb3
      John Lindgren 提交于
      2ae2bdb3
    • J
      Rewrite UnityPrintFloat to match printf("%.6g"). · 0e7eb545
      John Lindgren 提交于
      The existing implementation was not very good:
       - It printed all very small values as "0.000000..."
       - It did not distinguish positive and negative zero
       - In some cases it printed extra garbage digits for single-precision values
         (e.g. 3.9e+30 was printed as 3.90000013+30)
      
      Tests have been updated to check that we now match printf("%.6g") for
      1,000,000 randomly chosen values, except for rounding of the 6th digit.
      0e7eb545
  30. 14 5月, 2017 1 次提交