1251 Commits

Author SHA1 Message Date
c19e3f99ce missed function call arguments 2019-10-21 14:45:56 -04:00
9fdcc2d3ff Catch up documentation to match these changes. 2019-10-21 14:29:52 -04:00
d9b0edf282 Switch from the inconsistent use of weak symbols to handling setup, etc in script generators 2019-10-21 14:21:52 -04:00
0793de9ef1 Do not fail makefile just because example fails. 2019-10-21 11:27:28 -04:00
9842a4d03d Switching to universal version being in the header file itself. 2019-10-21 10:12:59 -04:00
77008edca9 Support size_t macros 2019-10-21 08:32:35 -04:00
210b7759dd Merge pull request #451 from michaelbadcrumble/meson_support
Meson support upgrade to version 0.52.0.
2019-10-21 06:02:50 -04:00
1748f00fc7 Adding ignore entries.
Adding basic ignore entry for example and main build directories.
2019-10-12 08:50:58 -07:00
8227ea2c36 Update .gitattributes
Adding Meson build script into hit attributes as text.
2019-10-12 08:44:03 -07:00
bcbb476e20 Upgrade Meson support version number two 0.52.0.
This is because Meson now has better support for static libraries.
2019-10-12 08:38:10 -07:00
8ce41ede72 Merge pull request #449 from richardhob/richardhob-bugfix-cmake-minimum-version
Update CMakeLists.txt minimum version
2019-10-02 14:46:17 -04:00
53916f823c Update CMakeLists.txt
Update the CMAKE minimum version from `3` to `3.0` to fix error in Windows 10 x64 with CMAKE 3.15.4:

cmake_minimum_required could not parse VERSION "3".
2019-10-02 11:38:48 -07:00
5cb2b63490 Merge pull request #442 from jlindgren90/win32-compat
Fix "rake scripts" when running on Windows.
2019-09-30 06:01:10 -04:00
50db1a7e67 Merge pull request #445 from michaelbadcrumble/fix_meson_support
Fix Meson build system support.
2019-09-30 05:58:47 -04:00
e1381748f8 Merge pull request #446 from michaelbadcrumble/update_cmake_support
Update CMake support.
2019-09-30 05:57:27 -04:00
380103ab8c Merge pull request #448 from alecoding/malloc_alignment
Fix malloc alignment (Thanks @alecoding )
2019-09-30 05:55:55 -04:00
7df6cca794 Fix compiler warning
Fix compiler complaint about declaration after statement
2019-09-29 22:01:03 -07:00
75e88a9bc4 Fix MallocThenReallocGrowsMemoryInPlace
The realloc was not taking in account extra bytes needed for the the pointer proper alignment
2019-09-29 21:45:51 -07:00
fc14856321 Fix malloc alignment
Make sure the malloc alignment is always aligned to the architecture's pointer size
2019-09-29 15:08:48 -07:00
7e3804545c Fixed typo in sub CMakeLists.txt.
Fixed a simple mistake.
2019-09-22 06:59:35 -07:00
f4251bf87d Remove Unity version number.
Removed Unity version number from Meson build scripts so there is one less thing to change when doing updates to this script.
2019-09-17 12:23:28 -07:00
bc7d89a891 Create CMakeLists.txt
Added new CMakeLists.txt here in the src dir, moved add library method from root script to sub script.
2019-09-17 12:17:22 -07:00
e6f38c2792 Update CMakeLists.txt
Moved the add library method into sub dir.  Also made this CMakeLists.txt script compatible for versions os CMake starting from 3.x and up.
2019-09-17 12:14:47 -07:00
31ab99b860 Update sub meson.build in test runner dir.
Put source in an array, cleaned up script and fixed comment.
2019-09-17 11:33:31 -07:00
29af4c0e0d Updated sub meson.build in example test dir.
Removed newlines and fixed comment.
2019-09-17 11:30:07 -07:00
964a58c053 Updated sub meson script in example src.
Added foreach loop to avoid DRY, Put source files in map structors, fixed comment.
2019-09-17 11:28:47 -07:00
f2711a87a6 Update meson.build
Moved example dir variable into source meson.build script, fixed comment.
2019-09-17 11:25:17 -07:00
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
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
9578a382cc Fix "rake scripts" when running on Windows.
cmd.exe does not recognize backslash as an escape character,
leading to errors like the following:

    error: stray '\' in program
    note: in definition of macro 'UNITY_OUTPUT_CHAR_HEADER_DECLARATION'

It does, however, recognize double quotes, so we can use those as
a portable method of escaping special characters on both Windows
and UNIX.
2019-09-13 16:19:46 -04:00
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
2939c420ed Better protection against nested comments (and things that look like comments) 2019-08-12 15:40:43 -04:00
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
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
1100c5d8f0 Merge pull request #430 from squidfarts/master
Quick fix to Meson example.
2019-07-06 12:00:17 -04:00
3afc0412e1 Changed source of Unity. 2019-07-06 08:54:07 -07:00
0892db2376 Protect against nil return codes in rakefiles 2019-07-06 11:31:31 -04:00
3e82c0a96f sigh. wrong comment style 2019-07-06 11:07:00 -04:00
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
a2f25d05d8 Added 'c' in example 4 2019-07-05 18:10:58 -07:00
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
45020b0d3b Cleanup issue #417 2019-07-05 19:14:22 -04:00
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
6b2eb52468 Add test to verify comment-stripping is working with http-style comments. 2019-07-05 15:35:40 -04:00
4661e67233 Merge pull request #429 from squidfarts/master
Meson support for Unity unit testing framework.
2019-07-05 15:34:23 -04:00
af4c20fa20 Updating CMakeLists.txt. 2019-07-03 21:04:07 -07:00
c10f87f1e6 Fixed issues regarding the example Meson project. 2019-07-03 21:03:39 -07:00
c7185b3a5a Added prototypes to stop errors when Ninja. 2019-07-03 15:55:19 -07:00
e89b281e43 Wrote info in readme.txt 2019-07-03 15:54:19 -07:00
b1fd5ad887 Added option with_examples and version info. 2019-07-03 15:31:26 -07:00