diff --git a/test/synthetic/functions.c b/test/synthetic/functions.c index 2138bf291..1d58e40ff 100644 --- a/test/synthetic/functions.c +++ b/test/synthetic/functions.c @@ -2,10 +2,10 @@ int TestData[100]; -void function_par_not_dependant(int par) { +void par_not_dependant(int par) { TestData[par] = 0; // BUG } -void function_par_dependant(int x, int y) { +void par_dependant(int x, int y) { if (x < 10) TestData[y] = 0; // BUG } @@ -15,7 +15,7 @@ void call(int x) { } int getLargeIndex() { return 1000; } -void test_function_return() { +void return_value() { TestData[getLargeIndex()] = 0; // BUG } diff --git a/test/synthetic/report.py b/test/synthetic/report.py index e63b5b81a..2674c5b2e 100755 --- a/test/synthetic/report.py +++ b/test/synthetic/report.py @@ -26,8 +26,8 @@ def parsefile(filename): for i in range(100): spaces = spaces + ' ' s = filename + spaces - s = s[:16] + functionName + spaces - s = s[:48] + str(linenr) + spaces + s = s[:15] + str(linenr) + spaces + s = s[:20] + functionName + spaces s = s[:50] if hasresult('cppcheck.txt', '[' + filename + ':' + str(linenr) + ']'): s = s + ' X'