enable trim_trailing_whitespace
This commit is contained in:
1 parent
cd36c03da4
commit
db693d4930
99 files changed
+515
-513
No files matched your search
@@ -196,20 +196,20 @@ static void test_F_format(void){
|
||||
|
||||
/* set value on inp0 */
|
||||
testdbPutFieldOk("test_printf_inp0_rec.VAL", DBF_DOUBLE, 6729982.999);
|
||||
|
||||
|
||||
/* verify that string is formatted as expected */
|
||||
// visual studio less than 2015 does not support %F
|
||||
// mingw/gcc also fails, suspect this may be gcc version
|
||||
// related and checking __GNUC__ could resolve but
|
||||
// related and checking __GNUC__ could resolve but
|
||||
// initial attempts didn't work so excluding mingw entirely for now
|
||||
#ifdef _WIN32
|
||||
#if (defined(_MSC_VER) && _MSC_VER < 1900) || defined(_MINGW)
|
||||
testTodoBegin("Fails on windows with old visual studio versions and mingw");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
testdbGetFieldEqual("test_printf_rec.VAL", DBF_STRING, result_string);
|
||||
|
||||
|
||||
#ifdef _WIN32
|
||||
#if (defined(_MSC_VER) && _MSC_VER < 1900) || defined(_MINGW)
|
||||
testTodoEnd();
|
||||
@@ -422,7 +422,7 @@ static void test_l_flag(void){
|
||||
|
||||
/* set value on inp0 */
|
||||
testdbPutFieldOk("test_printf_inp0_rec.VAL", DBF_LONG, 0x70a1c0c1);
|
||||
|
||||
|
||||
/* verify that string is formatted as expected */
|
||||
testdbGetFieldEqual("test_printf_rec.VAL", DBF_STRING, result_string);
|
||||
// number of tests = 3
|
||||
@@ -532,12 +532,12 @@ MAIN(printfTest) {
|
||||
|
||||
testPlan(3+3+3+3+3+3+3+3+4+3+3+3+3+3+3+3+3+3+3+3+3+3+3+3+6+6+12);
|
||||
|
||||
testdbPrepare();
|
||||
testdbPrepare();
|
||||
testdbReadDatabase("recTestIoc.dbd", NULL, NULL);
|
||||
recTestIoc_registerRecordDeviceDriver(pdbbase);
|
||||
|
||||
testdbReadDatabase("printfTest.db", NULL, NULL);
|
||||
|
||||
|
||||
eltc(0);
|
||||
testIocInitOk();
|
||||
eltc(1);
|
||||
|
||||
Reference in new issue
Block a user