d27699d97a
Updated examples
...
* Updated example 2 readme
* Broke up huge line in example 2 makefile
2013-07-17 23:27:25 +10:00
efc1df828f
Added example
...
* Added example that uses unity test fixture
2013-07-17 23:23:09 +10:00
1b9b197298
Added another example
...
* Simple makefile example, extracted from existing example
2013-07-17 22:48:50 +10:00
5932565bae
Updated example
...
* Moved existing example to its own directory, with the intention of adding more examples
* Existing example uses its own .yml file instead of one of the files in targets/.
2013-07-17 22:42:43 +10:00
843370a7c2
Updated example makefile
...
* Make would fail due to missing build directory. Now it doesn't try to delete build/
2013-07-17 22:14:47 +10:00
29812f3f5b
Merge pull request #49 from uozuAho/master
...
Fixed examples build error (rake)
2013-07-14 13:20:26 -07:00
53a5ae92c1
Updated examples rakefile
...
* Build directory created if it doesn't exist. This fixes a gcc "no such file or directory" error when running rake
2013-07-14 20:37:39 +10:00
6f49140354
Merge pull request #47 from canton7/feature/memory-array-test-fixes
...
Fix tests testing TEST_ASSERT_EQUAL_MEMORY_ARRAY on 16-bit platforms. (Thanks Antony!)
2013-06-28 04:50:42 -07:00
6bff2eb938
Merge pull request #45 from canton7/feature/16bitIntArrayEqual
...
Fix TEST_ASSERT_EQUAL_INT_ARRAY for int sizes other than 32 bits (Thanks Canton7)
2013-06-28 04:49:09 -07:00
2b484e4239
Fix tests testing TEST_ASSERT_EQUAL_MEMORY_ARRAY on 16-bit platforms
...
The tests which exercise TEST_ASSERT_EQUAL_MEMORY_ARRAY use int arrays,
and hard-code the size of each element as 4 bytes. This is of course
untrue on 16-bit platforms.
Replace this hard-coded value with sizeof(int).
2013-06-28 11:12:59 +01:00
07736afe63
Fix TEST_ASSERT_EQUAL_INT_ARRAY for int sizes other than 32 bits
...
This patch fixes testEqualIntArrays in the unity test suite on 16-bit
architectures.
TEST_ASSERT_EQUAL_INT_ARRAY calls UnityAssertEqualIntArray with 'style'
set to UNITY_DISPLAY_STYLE_INT.
UNITY_DISPLAY_STYLE_INT is defined as UNITY_DISPLAY_STYLE_AUTO +
UNITY_DISPLAY_STYLE_INT{16,32,64} (depending on the int width).
However, the switch statement in UnityAssertEqualIntArray has special
cases for the width-specific display styles, but these comparisons
are carried out without clearing the UNITY_DISPLAY_STYLE_AUTO flag.
This means that if 'style' is UNITY_DISPLAY_STYLE_INT, and the int
width is, say, 16, bits, the default case will be hit, and elements
compared as if they were 32 bits wide. Unsurprisingly this causes
a failure in the test named above.
2013-06-28 09:34:49 +01:00
770789e9c1
Merge pull request #36 from aguegu/master
...
fix bug in target execsion in example makefile
2013-03-25 06:23:22 -07:00
356b43d1c2
add './' to in example makefile, since . may not be included in PATH
2013-03-25 16:05:30 +08:00
ad3861ab43
set test-unit constraint to try to get it to work with ruby 1.8
2013-02-14 09:51:37 -05:00
56ed87fa45
debugging build failure on ruby 1.8
2013-02-14 09:37:39 -05:00
307363db28
debugging build failure on ruby 1.8
2013-02-14 09:14:53 -05:00
baad1dfa42
Merge branch 'master' of github.com:ThrowTheSwitch/Unity
2013-02-14 09:05:54 -05:00
08b80dcbd1
added Gemfile
2013-02-14 09:04:33 -05:00
af76099975
Merge pull request #32 from alejmrm/missing_defs4uf_ud
...
Fix missing #define when UNITY_EXCLUDE_FLOAT is used
2013-02-06 17:01:53 -08:00
6181bedcd3
Merge pull request #33 from hoodja/master
...
Fixing wrong index on string array inequality.
2013-02-06 16:54:30 -08:00
5429d508a6
Merge pull request #30 from TheCount/feature-gcc-64
...
Added gcc 64-bit for rake
2013-02-06 16:52:25 -08:00
6ff4ee8225
Merge pull request #31 from chrisdew/master
...
The `build` directory is not created when running make, which yields an error.
2013-02-06 16:49:57 -08:00
b8d47ff2a3
report correct (zero-based) index in string array equality mismatch
2013-02-06 09:58:21 -06:00
ef37c6bc60
fix missing #define when UNIT_EXCLUDE_FLOAT is used
2013-02-04 17:03:31 -07:00
726227b1b7
Update makefile
...
The `build` directory is not created when running make, which yields an error.
2013-02-01 12:47:02 +00:00
e88bc7957f
Merge remote-tracking branch 'upstream/master'
2013-01-18 11:01:36 -07:00
5417e1baf3
gcc 64-bit target
2013-01-17 13:44:05 +01:00
5ad372b6b3
Merge pull request #15 from vsayer/master
...
fixed makefile to testunity.out in root directory
2013-01-15 07:49:46 -08:00
7846b50a0a
Merge pull request #29 from bjones1/master
...
C89 patch for MS Visual Studio 2008 Express Edition
2013-01-11 11:54:56 -08:00
4817d78de3
Fix: Declare all variables before statements in a function.
...
Likewise, place all function prototypes before statements.
These changes support Microsoft Visual Studio 2008 Express Edition,
which follows C89-style rules.
2013-01-11 12:56:15 -06:00
cfc35610b4
Merge pull request #27 from bjones1/master
...
Fix: Corrected type of size in GuardBytes to be size_t, not int.
2013-01-09 19:49:45 -08:00
146dfa3b2d
Fix: Corrected type of size in GuardBytes to be size_t, not int.
2013-01-09 09:54:29 -06:00
c3475a7397
Merge pull request #25 from malsyned/fixture_fixes
...
Updates to make Fixture more useful (thanks malsyned! It's nice that someone is helping out with the Fixtures extension!)
2013-01-09 05:10:34 -08:00
16290a5490
Merge pull request #23 from bjones1/master
...
Thanks, Bryan. It's nice to have better documentation (Int config options, in this case)
2013-01-09 05:07:35 -08:00
47bf32edd6
Made unity_fixture IGNORE_TEST() respect the -v verbose flag.
...
More details here: http://forums.pragprog.com/forums/123/topics/10126
2012-12-21 16:07:49 -05:00
e21881c53f
Fixed a unity_fixture bug that prevented IGNORE_TEST from properly counting ignored tests.
...
More details here: http://forums.pragprog.com/forums/123/topics/10126
2012-12-21 16:00:11 -05:00
601459a5c2
Fixed compilation warning in unity_fixture.c with optimization on.
...
More details here: http://forums.pragprog.com/forums/123/topics/10901
2012-12-21 15:32:29 -05:00
9d84912761
Ensured unity_fixture tests pass
2012-12-21 15:07:09 -05:00
bc251726b6
Add: Additional documentation for Unity configuration options.
2012-12-03 11:36:45 -06:00
c6c4c43ee3
Merge pull request #21 from bjones1/master
...
I love it when things are made clean! Bryan A Jones smooths out some wrinkles in WIDTH detection.
2012-11-29 18:38:27 -08:00
5b1e9818e2
Fix: Clean up UINTY_xxx_WIDTH detection.
...
Document failing approach (sizeof).
2012-11-29 15:34:09 -06:00
9c4d18d157
Merge pull request #18 from bjones1/master
...
Update tests on +/- infinity to work with MSVC++ 2008
2012-11-29 04:59:36 -08:00
f73c5fa606
Fix: - Modify tests to compile under MSVC++ EE 2008
...
- Change type of floating-point constants to single/double precision
as appropriate.
2012-11-26 11:29:47 -06:00
97000e0104
- make test runner handle spaces and dashes in file names
2012-11-25 15:52:27 -05:00
292a6eac9e
Merge pull request #17 from bjones1/master
...
Nice work, Bryan... thanks for the cleanup!
2012-11-21 05:19:21 -08:00
c2737fc71c
Fix: For floats, make sure all constants are single-precision floating point values.
...
For doubles, make sure all constants are double-precision.
2012-11-20 14:45:04 -06:00
e8d585b998
Merge pull request #12 from rryles/master
...
Improved support for special floating point values
2012-11-19 08:35:17 -08:00
56de50cf7f
root: fix makefile to run testunity.out
...
testunity.out is being created in the
root directory and was being called from
the 'all' target incorrectly. This is
now fixed.
2012-11-18 18:08:08 -08:00
2ab2fef60a
Array comparisons of floating point types fail if any values are NaN or infinite.
2012-10-31 12:34:30 +00:00
5853e24e1a
Added _MESSAGE versions of asserts for floating point specials.
2012-10-31 08:17:10 +00:00