Commit Graph

924 Commits

Author SHA1 Message Date
Michael Brockus f2711a87a6 Update meson.build
Moved example dir variable into source meson.build script, fixed comment.
2019-09-17 11:25:17 -07:00
Michael Brockus 822e244bd4 Update source meson.build
Removed 'unity_src' variable because Unity only one source file, changed library method to static only because there was some issues with using Unity as a shared library, cleaned sub meson.build script and fixed comment in sub source root.
2019-09-17 09:37:41 -07:00
Michael Brockus c2c42ce14f Update meson.build
Cleaned up compiler flags in root meson.build, renamed a variable and removed 'c_std=<standard version>' because Meson sets C standard flag to C11 by default.
2019-09-17 09:31:26 -07:00
Mark VanderVoord 46263fc148 Get the 2's compliment of the unsigned int number when printing results without relying on problematic recasting of a negated int. (see #439) 2019-09-10 15:52:37 -04:00
Mark VanderVoord 2939c420ed Better protection against nested comments (and things that look like comments) 2019-08-12 15:40:43 -04:00
Mark VanderVoord 7514b89fa6 Merge pull request #431 from arcadien/AVR_OPTIMISATION
optimisation(AVR): Store static string in AVR EEPROM
2019-07-09 08:34:47 -04:00
Aurelien Labrosse 3ac73efe62 optimisation(AVR): Store static string in AVR EEPROM
* This can save a lot of program memory and allow to run test on ATTiny
2019-07-09 09:58:48 +02:00
Mark VanderVoord 1100c5d8f0 Merge pull request #430 from squidfarts/master
Quick fix to Meson example.
2019-07-06 12:00:17 -04:00
Michael Brockus 3afc0412e1 Changed source of Unity. 2019-07-06 08:54:07 -07:00
Mark VanderVoord 0892db2376 Protect against nil return codes in rakefiles 2019-07-06 11:31:31 -04:00
Mark VanderVoord 3e82c0a96f sigh. wrong comment style 2019-07-06 11:07:00 -04:00
Mark VanderVoord 0000f1e6d2 Add TEST_MESSAGE for outputting messages without aborting a test and _MESSAGE variant to TEST_PASS collection. 2019-07-06 11:02:32 -04:00
Michael Brockus a2f25d05d8 Added 'c' in example 4 2019-07-05 18:10:58 -07:00
Mark VanderVoord a54d58a8fd It doesn't seem like there is a time where setUp and tearDown aren't required in Fixture. 2019-07-05 19:29:21 -04:00
Mark VanderVoord 45020b0d3b Cleanup issue #417 2019-07-05 19:14:22 -04:00
Mark VanderVoord bc72eeb211 Merge pull request #425 from farrrb/fix-ti-c55-sizeof
TI C55x compatibility patches - removal of sizeof operator from the interfaces
2019-07-05 15:41:41 -04:00
Mark VanderVoord 6b2eb52468 Add test to verify comment-stripping is working with http-style comments. 2019-07-05 15:35:40 -04:00
Mark VanderVoord 4661e67233 Merge pull request #429 from squidfarts/master
Meson support for Unity unit testing framework.
2019-07-05 15:34:23 -04:00
Michael Brockus af4c20fa20 Updating CMakeLists.txt. 2019-07-03 21:04:07 -07:00
Michael Brockus c10f87f1e6 Fixed issues regarding the example Meson project. 2019-07-03 21:03:39 -07:00
Michael Brockus c7185b3a5a Added prototypes to stop errors when Ninja. 2019-07-03 15:55:19 -07:00
Michael Brockus e89b281e43 Wrote info in readme.txt 2019-07-03 15:54:19 -07:00
Michael Brockus b1fd5ad887 Added option with_examples and version info. 2019-07-03 15:31:26 -07:00
Michael Brockus ab9f8d0959 Added example 4 in examples directory. 2019-07-03 15:30:50 -07:00
Mark VanderVoord c30730faf6 cleanup warning. 2019-07-03 15:07:44 -04:00
Mark VanderVoord f2d826c7c5 - Added options for how to handle TEST_ASSERT_EQUAL shorthand
- Tweak a couple style problems with Ruby scripts.
2019-07-03 15:03:03 -04:00
Michael Brockus bd4d35ddd0 Added meson.build in src directory. 2019-07-02 19:58:16 -07:00
Michael Brockus 7dbfc4be56 Adding root meson.build file. 2019-07-02 19:57:55 -07:00
Mark VanderVoord 10f10b5e58 Merge pull request #428 from Wurstnase/master
add a blank line after #include "unity.h"
2019-06-27 06:42:31 -04:00
Nico Tonnhofer a59db2bdbf add a blank line after #include "unity.h"
The include must be in the first line, else you may expect some issues.
Some autoformat tools could sort the includes alphabetically and could
break the test.
2019-06-27 08:28:52 +02:00
Fabian Zahn 2b250055bc Add indentation for type autodetection macros 2019-05-12 19:57:54 +02:00
Fabian Zahn 06ddace18d Update documentation of "UNITY_POINTER_WIDTH" 2019-05-12 19:44:02 +02:00
Fabian Zahn 885ae9638e Introduce patch from "UnityAssertEqualIntArray" for "UnityAssertNumbersArrayWithin" in order to get rid of the sizeof() operator 2019-05-12 09:31:26 +02:00
Fabian Zahn ae3aad7b89 Remove the remaining sizeof() operators from internal interface
sizeof() is a hell of an operator and returns the size of a data type in terms of "addressable units" which is not necessarily the size in bytes. To circumvent this problem and in order to keep the API clean we try to remove all sizeof() from the API.
2019-05-12 09:24:49 +02:00
Fabian Zahn 8168382b91 Adjust testHexPrintsUpToMaxNumberOfNibbles (independent of sizeof operator and arithmetics) 2019-05-12 09:16:41 +02:00
Mark VanderVoord c9b1d217fd Merge pull request #414 from art-of-dom/silent-unity-fixture
silent mode in unity fixture
2019-05-04 21:08:02 -04:00
Mark VanderVoord ca1c7fa823 Merge pull request #413 from farrrb/feature-editorconfig
Added .editorconfig in order to set editors to the right settings.
2019-05-04 16:14:09 -04:00
Dom Postorivo 01a907393a silent mode in unity fixture 2019-05-04 11:52:36 -04:00
Fabian Zahn 18430d3b4f Added initial .editorconfig file. 2019-05-04 16:17:04 +02:00
Mark VanderVoord 197bf351ae Merge pull request #347 from kykrueger/issue-#346-documentation-improvement
Issue #346 documentation improvement
2019-05-04 08:13:21 -04:00
Mark VanderVoord e9f9638497 Merge branch 'master' into issue-#346-documentation-improvement 2019-05-04 08:13:14 -04:00
Mark VanderVoord 071044bdd6 Merge pull request #349 from kykrueger/issue-#348-generalize-example-3-gcc-config
Issue #348 generalize example 3 gcc config
2019-05-04 08:11:04 -04:00
Mark VanderVoord d70047881e Merge pull request #377 from elliot-gawthrop/execution-time-embedded
Execution time improvements
2019-05-04 07:53:37 -04:00
Mark VanderVoord 2697770ae9 Merge pull request #379 from elliot-gawthrop/auto-runner-args
Redefine name of resetTest in generated runner
2019-05-04 07:51:40 -04:00
Mark VanderVoord 6a1c0590a9 Merge pull request #389 from squidfarts/master
Generic CMake script.
2019-05-04 07:50:54 -04:00
Mark VanderVoord fc7317f103 Merge pull request #399 from frot/master
Allow multi line test-function definitions.
2019-05-04 07:49:56 -04:00
Mark VanderVoord 94446cdb5e Merge pull request #404 from farrrb/fix-nibbles-UnityPrintNumberHex
Fixed maximum number of nibbles for processor where sizeof() operator…
2019-05-04 07:39:59 -04:00
Mark VanderVoord 2b0d093837 Merge pull request #403 from farrrb/fix-issue-392
Used sizeof operator for pointer increments in UnityAssertEqualIntArray().
2019-05-04 07:39:22 -04:00
Mark VanderVoord 25c15f632e Merge pull request #410 from art-of-dom/test-cleanup-gt-lt
Add tests for GREATER_OR_EQUAL, LESS_OR_EQUAL, LESS_THAN, and GREATER_THAN
2019-05-04 07:32:52 -04:00
Mark VanderVoord 7514de0582 Merge branch 'master' into test-cleanup-gt-lt 2019-05-04 07:28:12 -04:00