nimrodz
af40e7901d
Added a few files to .gitignore.
2015-01-18 00:38:26 +02:00
Mark VanderVoord
024af1672c
- update rake file for fixture to match other changes.
2014-12-16 14:17:56 -05:00
Mark VanderVoord
8b736bf5b9
Merge pull request #94 from zanedp/win32-clang-weak-workaround
...
New macros for controlling use of weak linkage (Thanks Zane!)
2014-12-16 10:41:40 -05:00
Zane D. Purvis
cadee02e79
New macros for controlling use of weak linkage
...
- `UNITY_WEAK_ATTRIBUTE`, if defined, is placed before declarations of weakly
linked symbols. If not manually defined, it will be automatically set to
`__attribute__((weak))` on GCC and Clang, except for Clang for Win32.
- `UNITY_WEAK_PRAGMA`, if defined, will cause preprocessor to emit
`#pragma weak setUp`, etc. Ignored if `UNITY_WEAK_ATTRIBUTE` is defined.
- `UNITY_NO_WEAK` undefines both of the above resulting in no weakly
linked symbols.
Work around for ThrowTheSwitch/Unity#93
2014-12-15 16:18:49 -05:00
Mark VanderVoord
6792a5f4ed
Updated License to be standard MIT License
2014-12-09 12:05:53 -05:00
Mark VanderVoord
03857da68c
Merge pull request #89 from kotofos/warningFixes
...
Warning fixes (thanks kotofos!)
2014-12-09 09:28:33 -05:00
Mark VanderVoord
42b48582cc
Merge pull request #90 from kotofos/argFix
...
no arguments for UnityPointer_Init (thanks Kotofos)
2014-12-09 09:27:01 -05:00
Mark VanderVoord
fd796fa195
Merge pull request #92 from zanedp/master
...
Print newline after each test, but not before (Thanks Zane)
2014-12-07 09:53:33 -05:00
Zane D. Purvis
a94264b8c0
Print newline after each test, but not before
...
This change makes parsing the results easier for tools like ceedling,
which was choking when a test used stdout and there wasn't an
EOL after "PASS" (ThrowTheSwitch/Ceedling#41 ).
2014-12-06 16:47:57 -05:00
kotofos
c1379802eb
no arguments for UnityPointer_Init
2014-12-03 11:58:08 +06:00
kotofos
f6bb716220
default case warning
2014-12-03 11:53:16 +06:00
kotofos
1aeb4468af
putchar warning
2014-12-03 11:51:58 +06:00
Mark VanderVoord
df3fe0c3f0
Merge pull request #82 from gageas/master
...
Declare local variables before UNITY_SKIP_EXECUTION.
2014-11-09 11:53:57 -05:00
@gageas
1a868f3305
Declare local variables before if statement.
2014-11-10 00:50:09 +09:00
Greg Williams
28d05e4f33
Fixed tests
2014-11-05 21:57:48 -05:00
Greg Williams
b953334ef3
Fixed compiler warning and added README.md
2014-11-05 21:43:47 -05:00
Mark VanderVoord
bcb4b74de9
- updated example makefiles to handle cygwin better
2014-11-03 19:39:37 -05:00
Mark VanderVoord
7aca6288cf
Merge pull request #81 from laborer2008/master
...
Fixed -Wcast-qual gcc warnings
2014-11-02 08:57:59 -05:00
Sergey Gusarov
b492b6d379
Yet another fixes portion for "-Wcast-qual" warning.
...
But they look a bit different.
2014-11-02 07:19:34 +04:00
Sergey Gusarov
8dffcd8c2a
Fixed a lot of single-type gcc warning:
...
warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
FYI, "-Wcast-qual" is not a default option.
The main idea: If some function receives "const void*"
why should it operate with "void*" (or something) afterwards (after casting)?
2014-11-02 07:08:48 +04:00
Mark VanderVoord
e6ad979f96
Merge pull request #79 from markmccrum/generate_test_runner_fixes
...
Fixed script unit tests. Fixed generate_test_runner configuration loadin...
(Thanks Mark McCrum. You are awesome!)
2014-11-01 15:09:27 -04:00
Mark VanderVoord
2fab0a82df
Merge pull request #80 from laborer2008/master
...
Awesome. Thanks so much!
2014-11-01 15:00:14 -04:00
Sergey Gusarov
399a878c14
Fixed examples compilation
2014-11-01 21:47:04 +04:00
Mark McCrum
616dd8bd43
Fixed script unit tests. Fixed generate_test_runner configuration loading
...
- Modified rakefile to look in correct directory for script unit tests
- Updated paths in script unit tests
- Updated 'expectdata' files to match latest version of generated code
- Fixed bug which prevented generate_test_runner from loading config from
yaml file.
2014-10-29 16:10:11 +00:00
Mark VanderVoord
4a145c10b3
reworked character strings to be an array type so that storage classes are handled better for picky compilers.
2014-10-26 19:52:17 -04:00
Mark VanderVoord
2fef6ea5ac
- cleaned up command-line entry of arguments
...
- made help more clear
- added ability to rename setUp / tearDown / and test prefix.
2014-10-24 22:00:05 -04:00
Mark VanderVoord
09e23cea49
- added UNITY_NEW_TEST macro for simpler RUN_TEST creation
2014-10-24 21:12:15 -04:00
Mark VanderVoord
b5fd6005c2
further tweaks to negative printing
2014-09-02 20:24:11 -04:00
Mark VanderVoord
f48005148f
A (hopefully) more universal fix for the signed max negative value printer
2014-09-01 18:20:56 -04:00
Mark VanderVoord
e2d5e1c632
Fixed printability of largest negative value (Thanks SigmaPic!)
2014-09-01 16:44:18 -04:00
Mark VanderVoord
a53bb4d177
cleanup command line arguments of runner generator
2014-09-01 16:30:07 -04:00
Mark VanderVoord
376480a4d9
make fixtures and examples compatible with new UnityBegin method.
2014-08-16 10:51:25 -04:00
Mark VanderVoord
14b074336b
reenable results summary.
...
support tests named spec as well.
clean up UnityBegin to make us not have to dig inside it to inject the filename.
Add UNITY_OUTPUT_START() and UNITY_OUTPUT_COMPLETE() for future use.
2014-07-30 22:12:49 -04:00
Greg Williams
a4a2eb787d
Added more robust handling of test includes, and to provide backwards API compatibility for Ceedling
2014-07-30 10:28:24 -04:00
Mark VanderVoord
bff1fc68cb
rearranged project to centralize all self-test stuff under test directory. only pull in includes when required.
2014-07-30 10:14:02 -04:00
Mark VanderVoord
f8f5c39e26
Merge branch 'master' of https://github.com/ThrowTheSwitch/Unity
2014-07-30 08:27:42 -04:00
Greg Williams
9d103ba712
Removed bundler support from .travis.yml and env setup, since unnecessary
2014-07-29 15:45:07 -04:00
Greg Williams
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
Greg Williams
ff21566501
Updated to autodetect 32 or 64 bit and use proper gcc
2014-07-29 12:28:21 -07:00
Greg Williams
78db7b19e6
Added export to specify LIBRARY_PATH for Linux, due to googling
2014-07-29 15:09:17 -04:00
Mark VanderVoord
3ca172edbb
moved things that should be in internals into internals.
2014-07-29 15:08:49 -04:00
Greg Williams
3d8e4afb5f
Added .travis.yml to config travis build properly
2014-07-29 14:47:42 -04:00
Mark VanderVoord
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
Mark VanderVoord
16e560147c
further refinement of auto-detecting integer types
2014-07-29 11:56:59 -04:00
Greg Williams
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
Mark VanderVoord
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
Mark VanderVoord
a568862a0c
centralize strings for easier maintenance.
2014-07-21 18:52:35 -04:00
Mark VanderVoord
9fe750ba89
finish cleaning up floating point support
...
added macros for IS_DETERMINATE and IS_NOT_DETERMINATE
2014-07-21 16:37:18 -04:00
Mark VanderVoord
a8bd7b5af2
continue to streamline floating point support
2014-07-21 14:38:25 -04:00
Mark VanderVoord
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