1
0
mirror of https://github.com/ThrowTheSwitch/Unity synced 2025-03-12 16:11:12 -04:00
Commit Graph

28 Commits

Author SHA1 Message Date
Mark VanderVoord
fcab680286 Ruby script cleanup.
Fix warnings.
Remove 32-bit tests from standard suite because they're not running on most platforms.
2021-01-16 21:03:18 -05:00
mvandervoord
a58054b013 Update makefile to run tests. tweak broken tests. 2020-03-16 19:33:51 -04:00
mvandervoord
ef0cf704d9 Centralize all testing to the test folder instead of each subproject.
Trigger ALL tests when calling `rake test:all` instead of that being just the core tests.
2019-12-14 22:24:30 -05:00
mvandervoord
368a7d8970 Fixed a couple of mistakes in last commit 2019-10-25 11:20:25 -04:00
Fabian Zahn
e038ae2ade Refactored the test evaluation of the flushSpy 2018-02-18 18:44:58 +01:00
Fabian Zahn
436a46d8ef Got the tests running 2018-02-18 17:43:08 +01:00
Fabian Zahn
456759296b Added flushSpy 2018-02-18 14:23:26 +01:00
Fabian Zahn
fe950b9fa3 Makefile preparations 2018-02-18 14:11:19 +01:00
jsalling
94a3008a9d Update continuous integration to build 32-bit Unity 2017-09-21 21:24:41 -05:00
Aviv Palivoda
59182c4ea9 Add UNITY_OUTPUT_CHAR_HEADER_DECLARATION to tests Makefile defines 2017-08-01 22:56:52 +03:00
jsalling
b4f6afa4cf Test for printing max width of a hex number, back to 100% test coverage
Correct clean target and print test fails during coverage in Makefile
2017-01-23 23:05:06 -06:00
jsalling
a0cb138533 Organize Makefile so clang works on all platforms, warnings are set
Delete warning flags included by -Wall, -Wextra, or produce false postives
2016-12-29 20:46:06 -06:00
nah
e12cef36e2 Don't need to ignore unused functions on linux because I reverted the static commit. 2016-09-04 10:47:35 -05:00
nah
2d98ed6afb Merge branch 'build'
Merge build branch.
2016-09-04 10:35:02 -05:00
nah
7ee9bc3ecd Ignore missing prototype warning. 2016-09-04 10:31:57 -05:00
nah
794e533ab5 Ignore unused functions on linux. 2016-09-04 10:25:31 -05:00
nah
7552c187fb Ignore missing noreturn and unused functions. 2016-09-04 10:20:31 -05:00
nah
65f0febf03 Ignore padding and float to double implicit warning. 2016-09-04 09:55:49 -05:00
nah
647c846f9f Set CFLAGS differently for linux and osx.
Add check for linux and move initial CFLAG settings inside linux check. Add
CFLAGS specific to osx and clang to the existing osx/darwin check. Ignore clang warning about default on covered enum switch, look at pull  and pull  for more info about why that warning is ignored on clang. Ignore unknown clang options so that I don't have to change CFLAG settings elsewhere in the file, clang should just ignore options it dosen't know about.
2016-09-04 09:25:44 -05:00
Mark VanderVoord
382c7087f4 Merge pull request from jsalling/feature/testunity-fail-output
Make testunity.c failure output uniform
2016-08-31 07:20:34 -04:00
jsalling
113f2fc32a Add line numbers to Unity test Runner generated by awk script 2016-08-25 23:01:10 -05:00
jsalling
9aa4c7f1aa Clean up Makefile, move -Wredundant-decls to test build
CC always exists inside make so ?= doesn't assign to it
2016-08-25 08:33:15 -05:00
jsalling
e4e2210eb6 Improving integer width detection
The C preprocessor cannot use sizeof in #if etc.
2016-08-25 08:32:42 -05:00
jsalling
07513dd331 Remove weak linked setup/teardown from coverage build, unreachable & empty
Add config flag for 64-bit, max covered lines even with 32-bit compilers
 Always print uncovered lines, delete separate make target
2016-05-03 20:02:01 -05:00
Jerry Jacobs
6a02f7e51c Fixup issues when compiling with clang -Wmissing-variable-declarations 2016-04-26 14:17:10 +02:00
Jerry Jacobs
8c37d7b98a Fix , remove redundant function declarations 2016-04-13 11:33:57 +02:00
jsalling
13c99601a7 Add a value to FLOAT_TRAIT enum to enforce use of default case in switches
Revert the previous commit. Add tests for extended enum cases.
 Fix crash due to accessing 'trait_names' array out of bounds.
 Adding an extra invalid value to the end of an enum causes '-Wswitch' flag
  to warn unless there is a switch default case - also enabled by '-Wall'.
2016-03-02 14:56:09 -06:00
jsalling
da0f2a0a74 Add Makefile with coverage target for Unity
Unity is at 92% coverage now
 Run 'make -s' to see coverage information for unity.c
 Run 'make uncovered' to get missing lines output
2016-03-01 21:24:53 -06:00