Removed workaround.
This commit is contained in:
@@ -1,7 +1,3 @@
|
|||||||
// temporarily disable optimizations altogether until a fine grain control
|
|
||||||
// is implemented on Makefile level only disabling the compiler option -Os
|
|
||||||
#pragma optimize (off)
|
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "unittest.h"
|
#include "unittest.h"
|
||||||
|
|
||||||
@@ -11,6 +7,7 @@ static char EstimatedString[EstimatedStringSize+1]; // +1 room for terminati
|
|||||||
static char* EmptyTestChars=""; // strlen equivalent...
|
static char* EmptyTestChars=""; // strlen equivalent...
|
||||||
static char* TestChars="1234567890"; // we like to find numbers
|
static char* TestChars="1234567890"; // we like to find numbers
|
||||||
|
|
||||||
|
|
||||||
TEST
|
TEST
|
||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
@@ -26,5 +23,3 @@ TEST
|
|||||||
ASSERT_AreEqual(strlen(EstimatedString), strcspn(EstimatedString, EmptyTestChars), "%u", "Unxpected position returned for empty test case!");
|
ASSERT_AreEqual(strlen(EstimatedString), strcspn(EstimatedString, EmptyTestChars), "%u", "Unxpected position returned for empty test case!");
|
||||||
}
|
}
|
||||||
ENDTEST
|
ENDTEST
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user