329 Commits

Author SHA1 Message Date
9d103ba712 Removed bundler support from .travis.yml and env setup, since unnecessary 2014-07-29 15:45:07 -04:00
849e8eb0f5 Removed Gemfile and Gemfile lock, since no longer requires test-unit, and we will assume the user has some version of Rake if they want to run the tests. 2014-07-29 15:34:45 -04:00
ff21566501 Updated to autodetect 32 or 64 bit and use proper gcc 2014-07-29 12:28:21 -07:00
78db7b19e6 Added export to specify LIBRARY_PATH for Linux, due to googling 2014-07-29 15:09:17 -04:00
3ca172edbb moved things that should be in internals into internals. 2014-07-29 15:08:49 -04:00
3d8e4afb5f Added .travis.yml to config travis build properly 2014-07-29 14:47:42 -04:00
b5050c6ed3 redirect UNITY_POINTER_WIDTH to define at last catchable moment. Update older gcc targets to be fully explicit. 2014-07-29 13:42:15 -04:00
16e560147c further refinement of auto-detecting integer types 2014-07-29 11:56:59 -04:00
47a778d606 Fixed posix default foregroud color to use 39/default instead of 37/light-gray, since was very hard to see on some dark background terminals.
Added Gemfile.lock for rubygems bundle environment consistency.
2014-07-25 11:36:33 -04:00
93db16b6dc - add the rest of the WITHIN integer options (why were those missing? laziness?)
- rename the custom FLOAT_TRAIT type because the old name was poor
2014-07-22 13:43:06 -04:00
a568862a0c centralize strings for easier maintenance. 2014-07-21 18:52:35 -04:00
9fe750ba89 finish cleaning up floating point support
added macros for IS_DETERMINATE and IS_NOT_DETERMINATE
2014-07-21 16:37:18 -04:00
a8bd7b5af2 continue to streamline floating point support 2014-07-21 14:38:25 -04:00
96155881ed - rework to not bother with any of the ever-changing test frameworks in Ruby (sigh) for self-testing
- started working on cleaner floating point support. more coming.
2014-07-21 14:00:53 -04:00
39cc60ce56 - support "weak" function definitions when available with compiler. 2014-07-08 12:14:26 -04:00
e83439528b Make life easier for those creating their own runners:
* Add UNITY_BEGIN and UNITY_END macros to simplify usage
* Improve RUN_TEST to make line_num optional where possible
2014-07-01 10:13:45 -04:00
fe2c691e9d Clean up many warnings. add clang_strict target to help uncover warnings 2014-05-22 13:43:52 -04:00
1cf02f8bf3 support cmock's need to destroy all of its memory at the end of the suite 2014-05-21 19:29:44 -04:00
124bfd8027 unity_fixture_internals.h should no be declaring functions without arguments. shame! 2014-04-21 18:08:34 -04:00
d4197dacd0 There was no reason that CMock init and destroy calls should be in the protected blocks. teardown is more flexible if verify is called afterwards. 2014-04-21 16:55:12 -04:00
a77f0308a7 Don't use any Ruby 1.9-only notation in the encoding call 2014-04-21 16:15:14 -04:00
651d24744d Merge pull request #68 from toybuilder/master
fix parameter type for runAllTests to match header (Thanks toybuilder!)
2014-03-13 10:39:33 -04:00
bb729bdc3e fix parameter type for runAllTests to match header
At least in Microchip XC8 compiler, void (*runAllTests)(void) is treated as a different type from void (*runAllTests)().

Fix the definition of UnityMain to match the declaration by making the runAllTests's (void) parameter list explicit.
2014-03-13 05:58:39 -07:00
06c2a3f7a6 Merge pull request #66 from ThrowTheSwitch/bug/print_styles
fixed format tags for u/int assertions
2014-03-07 15:36:49 -05:00
8f6f34f98a fixed format tags for u/int assertions 2014-03-07 15:31:52 -05:00
4d2c2a5e82 Merge pull request #65 from ThrowTheSwitch/bug/init
Fixed initialization of data structure
2014-03-07 15:18:56 -05:00
f1c778e100 Fixed initialization of data structure by just doing it manually instead of statically (goodbye compiler warnings!) 2014-03-07 15:17:25 -05:00
291c2980e0 Merge pull request #62 from anthonyboorsma/master
fixed casts in UNITY_TEST_ASSERT_EQUAL_UINT*.  (Thanks Anthony)
2014-03-07 14:47:26 -05:00
a3153610f3 Merge pull request #58 from ThrowTheSwitch/bug/double_handling
fixed double calls to actually use double handler instead of float handler
2014-03-07 14:08:04 -05:00
6a273e081c Merge pull request #57 from ThrowTheSwitch/bug/encoding
Support different encoding styles and force to something we can work with
2014-03-07 14:07:30 -05:00
9ddfa74a7e fixed casts in UNITY_TEST_ASSERT_EQUAL_UINT*. Was previously casting to signed variables and then sign extending the value before casting to final uint and was causing errorneous test failures when executed on arm target 2014-03-06 09:35:32 -05:00
9a393a28d5 Merge pull request #50 from uozuAho/master
Added more examples
2014-02-28 16:52:34 -05:00
8c5456059f Merge pull request #34 from hoodja/master
Unknown CLI params get ignored
2014-02-28 16:42:35 -05:00
701ee5101d fixed another double-float issue: make sure doubles are not both included and excluded. 2014-02-28 15:57:37 -05:00
bd0d5ecf29 more tweaks (cast to the right type) 2014-02-28 15:47:11 -05:00
60f0c1a8ae fixed double calls to actually use double handler instead of float handler 2014-02-28 15:25:02 -05:00
d3c18c26ad support different encoding styles and force to something we can work with. 2014-02-28 10:37:47 -05:00
aa36e5556b Merge pull request #56 from holderbaum/master
Print an EOL before printing the TestResult while executing the spec (Thanks Jakob!)
2014-02-24 16:29:19 -05:00
5fbc23e856 Print an EOL before printing the TestResult while executing the spec
By printing this newline, the filepath of the failing assertion does not get
preceded by the dot which represents a running test.

This gives the advantage, that the complete output of unity can be used as it is
with a makefile in vim. Every error gets displayed in the quickfix and you can
jump appropiately.
2014-02-16 11:13:38 +01:00
a18b894618 Merge pull request #55 from Jcarnage/master
Initial import of report parser.
2013-12-20 06:48:38 -08:00
5cdd6b6778 Initial import of report parser.
This parser will scan an output file, pull all Unity related tests and summarize them in a report to console or put them in an XML file for use with Jenkins
2013-12-20 07:59:47 -05:00
854b68b110 Merge remote-tracking branch 'upstream/master'
Conflicts:
	examples/example_3/makefile
2013-11-05 21:28:11 +11:00
d9ac0e1077 Merge branch 'master' of https://github.com/ThrowTheSwitch/Unity 2013-09-22 12:53:21 -04:00
a8ad38b2e5 Merge pull request #37 from sdhawley/master
build on cygwin
2013-09-22 09:29:25 -07:00
3399bba27b - merged in changes by TheGreenDroid to reduce Lint and Compiler warnings 2013-09-22 12:10:42 -04:00
72c55e0266 - Fixed script tests to match Shelly's changes 2013-09-22 11:53:48 -04:00
635884b08a Merge branch 'master' of https://github.com/ThrowTheSwitch/Unity 2013-09-22 11:40:02 -04:00
f5e2ed7648 Merge pull request #44 from shellyniz/master
copy include statements from test file to test runner (excluding cmock.h and unity.h) to better handle custom types in parameterized tests (Thanks Shelly)
2013-09-22 08:15:28 -07:00
ff1339ca5a - Fixed a gcc warning when -Wall enabled. (Thanks gjcamann) 2013-09-22 10:58:36 -04:00
dddf13595d Merge pull request #51 from canton7/feature/ptr-attribute
Allow pointer types to have an attribute (file under "stupid things we do to keep poor compilers happy")
2013-09-17 04:26:48 -07:00