23 Commits

Author SHA1 Message Date
1a29024cc7 It's a New Year 2025-01-01 11:46:30 -05:00
671f8d25f1 Update all the boilerplates 2024-03-16 23:15:00 -04:00
cd80a79db5 Add Meson example based on Owen Torres' example. 2023-02-13 16:50:20 +01:00
179b492e18 Sigh. had to NOT disable these warnings by default because the gcc on our test rig doesn't understand it 2019-10-30 09:00:53 -04:00
94dc637d03 While we're fixing warnings / errors, disable this (otherwise helpful) error because we are purposefully making this example file fail for this. 2019-10-30 08:48:08 -04:00
0793de9ef1 Do not fail makefile just because example fails. 2019-10-21 11:27:28 -04:00
bc2ab233ee Fix error in example_1 and example_2
This test case had an error in both examples:
test_FindFunction_WhichIsBroken_ShouldReturnZeroIfItemIsNotInList_WhichWorksEvenInOurBrokenCode

It was supposed to be a list of values that are NOT in the list,
and none of them should be found.  It incorrectly included '1'
2019-01-25 21:51:25 -08:00
9d1ffe26d6 Fix error in example_1
This test case had an error:
test_FindFunction_WhichIsBroken_ShouldReturnZeroIfItemIsNotInList_WhichWorksEvenInOurBrokenCode
It was supposed to be a list of values that are NOT in the list,
and none of them should be found.  It incorrectly included '1'
which is a value in the list.

The compile option -Wno-misleading-indentation was also added to
remove a compiler warning produced by gcc 7.3.0
2019-01-25 21:22:55 -08:00
7dd21c333e Fix unintended array overrun in example (#360. Thanks @quantum-leaps) 2018-11-02 07:42:47 -04:00
e0104179ed Fix 32-bit build issues on Travis-CI by installing multilib
If, longer term, the Travis-CI support for 32-bit is inconsistent
the lines that failed are:
 - make -s DEBUG=-m32
 - cd ../example_3 && rake
Add target 'ci' for building examples with -Werror
2017-01-22 21:13:08 -06:00
185fb49380 Cleanup example Makefiles, update test runners
Delete clang flags that were disabled with -Wno-*
2017-01-18 08:13:41 -06:00
d460a89a04 Get example 1 to compile easily on systems without ruby 2017-01-17 21:10:38 -06:00
03b9eaa9ba Fix bug, makefiles for example do not clean on windows 2016-10-06 11:00:22 +02:00
83f7d5237b Change example_1 to compile with std=c89 2016-05-15 14:35:56 +01:00
33325f4a0b More fixes to line endings 2016-01-07 14:20:59 -05:00
06c95fcb08 - Fixed broken examples 2015-06-18 10:38:20 -04:00
89b003ed0b Removed platform-specific warnings unsupported by GCC 2015-03-12 10:53:44 -04:00
b389c71e71 Added stricter error checks by the compiler, and adapted all impacted code.
Primarily -
* Added "static" to static functions.
* Added proper signature with "void" to functions without arguments.
* Marked unused arguments with "(void)".
* Removed entirely unused static functions.
* Added "const" to preserve const-correctness.
* Added function prototypes for external functions.
2015-01-18 00:39:05 +02:00
28d05e4f33 Fixed tests 2014-11-05 21:57:48 -05:00
bcb4b74de9 - updated example makefiles to handle cygwin better 2014-11-03 19:39:37 -05:00
399a878c14 Fixed examples compilation 2014-11-01 21:47:04 +04:00
376480a4d9 make fixtures and examples compatible with new UnityBegin method. 2014-08-16 10:51:25 -04:00
1b9b197298 Added another example
*  Simple makefile example, extracted from existing example
2013-07-17 22:48:50 +10:00