979 Commits

Author SHA1 Message Date
efd02920ca Fix path problem in Travis CI 2019-10-30 08:06:52 -04:00
fbded74349 Split memory from fixtures and make it's own addon 2019-10-30 07:52:07 -04:00
34ebd82d8c Merge pull request #458 from jlindgren90/verify-test
Make verifyTest() leave Ignores and Callbacks intact
2019-10-29 13:31:47 -04:00
9c82fac380 Update incorrect comment. 2019-10-29 13:21:59 -04:00
cf5b2d2568 Make verifyTest() leave Ignores and Callbacks intact. 2019-10-29 13:21:34 -04:00
74d47e8afa Add missed casting 2019-10-29 06:34:09 -04:00
354e2b4da6 Added set of assertions for checking CHAR's and CHAR arrays (not as strings) 2019-10-28 16:54:32 -04:00
60b23dc8a4 Stopped supported -0 as a float output because (a) it is non-portable, only existing on some architectures and (b) relies on the undefined behavior of 1.0/0.0 2019-10-28 13:43:32 -04:00
e1dca8fa48 Add options for different output formats 2019-10-28 12:43:11 -04:00
3f334b8be6 Merge pull request #450 from arcadien/fix_comments
Fix CMakeLists
2019-10-28 10:45:23 -04:00
be87d790c7 Add verifyTest option to go with resetTest.
Fix docs.
2019-10-28 10:32:22 -04:00
b75b19c969 CMakeLists fixes 2019-10-26 18:31:57 +02:00
15631f1c78 More tweaking to make it happy on both windows and *nix 2019-10-25 11:53:59 -04:00
8d044e60c6 update fixture tests too 2019-10-25 11:41:27 -04:00
368a7d8970 Fixed a couple of mistakes in last commit 2019-10-25 11:20:25 -04:00
d16c27b085 - added target for checking ANSI compliance
- fixed ANSI (C89) issues, including #418
2019-10-25 10:17:12 -04:00
748efa26b5 Merge pull request #456 from detly/int_array_doc_fix
Added num_elements parameter to docs for TEST_ASSERT_INTn_ARRAY_WITHIN
2019-10-25 06:03:22 -04:00
86b19304ed Added num_elements parameter to docs for TEST_ASSERT_INTn_ARRAY_WITHIN(). 2019-10-25 14:37:00 +11:00
eb0bd42f0d Updated to newer coding standard 2019-10-24 15:33:41 -04:00
addd60edab Merge pull request #454 from jlindgren90/common-run-test
Convert RUN_TEST() to a function
2019-10-24 14:42:23 -04:00
277e844bed Convert RUN_TEST() to a function (generated from an ERB template).
Converting RUN_TEST() from a macro to a function significantly reduces the size
of the compiled binary.  On amd64, the largest test runner in the test suite
(testsample_DefaultsThroughCommandLine_runner.o) was reduced from 3.4 kB to 2.4
kB (stripped).
2019-10-22 15:18:20 -04:00
d10cf6645d Remove unnecessary #includes. 2019-10-22 15:05:34 -04:00
68cc45a918 Make sure setUp/tearDown are always defined. 2019-10-22 15:04:03 -04:00
5fc72fbca1 fix name of teardown function 2019-10-22 06:52:25 -04:00
ff697ad29c suite setup and teardown no longer static (simplifies test-supplied instance) 2019-10-22 06:45:47 -04:00
ac427b28fc Fixed backwards case. 2019-10-22 06:37:28 -04:00
2d8a69e0d1 update handling of when suite_setup/teardown in use 2019-10-22 06:27:26 -04:00
cb8744c496 More argument fixing (I hate flying blind... can't wait to get back on my laptop) 2019-10-21 14:59:31 -04:00
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