Add separate license file (issue #29)

Fix bug in tests (lack of volatile) (Issue #28)
This commit is contained in:
Mark VanderVoord
2024-03-08 16:54:45 -05:00
parent 3667ee2d44
commit 18d020cec7
3 changed files with 27 additions and 14 deletions
-11
View File
@@ -234,14 +234,3 @@ configuration, you may want to run the included test suite. This is the test sui
projects we've used it on) that we use to make sure that things actually work the way we claim.
The test suite makes use of Ceedling, which uses the Unity Test Framework. It will require a native C compiler.
The example makefile and rakefile both use gcc.
License
=======
*This software is licensed under the MIT License:
Copyright (c) 2007-2021 Mark VanderVoord*
*Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.*
*_THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE._*
+24
View File
@@ -0,0 +1,24 @@
Copyright (c) 2007-2024 Mark VanderVoord
https://opensource.org/license/mit/
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
+3 -3
View File
@@ -281,7 +281,7 @@ void test_CanHaveNestedTryBlocksInASingleFunction_ThrowInside(void)
void test_CanHaveNestedTryBlocksInASingleFunction_ThrowOutside(void)
{
int i = 0;
volatile int i = 0;
CEXCEPTION_T e;
Try
@@ -343,7 +343,7 @@ void test_AThrowWithoutOutsideATryCatchWillUseDefaultHandlerEvenAfterTryCatch(vo
void test_AbilityToExitTryWithoutThrowingAnError(void)
{
int i=0;
volatile int i=0;
CEXCEPTION_T e;
Try
@@ -364,7 +364,7 @@ void test_AbilityToExitTryWithoutThrowingAnError(void)
void test_AbilityToExitTryWillOnlyExitOneLevel(void)
{
int i=0;
volatile int i=0;
CEXCEPTION_T e;
CEXCEPTION_T e2;