summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-02 13:07:38 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-02 13:07:38 +0300
commitadb266f686427fd5d0d5018fb7e859e3d8ef1ad9 (patch)
tree55ae5525bb4d5dc01608bf249bfdb67f04e10f47
parent6eabcb8e4d0ab1521d4f1149b59eee82a6f4d125 (diff)
downloadmplint-adb266f686427fd5d0d5018fb7e859e3d8ef1ad9.tar.gz
mplint-adb266f686427fd5d0d5018fb7e859e3d8ef1ad9.tar.bz2
mplint-adb266f686427fd5d0d5018fb7e859e3d8ef1ad9.tar.xz
mplint-adb266f686427fd5d0d5018fb7e859e3d8ef1ad9.zip
Add sorting for test results.
-rwxr-xr-xtests/run2
-rw-r--r--tests/testreport.txt40
2 files changed, 21 insertions, 21 deletions
diff --git a/tests/run b/tests/run
index e9f2c7d..79caa79 100755
--- a/tests/run
+++ b/tests/run
@@ -1,3 +1,3 @@
#!/bin/bash
-../run/bin/mplint testsrc >testreport.txt
+../run/bin/mplint testsrc |sort >testreport.txt
diff --git a/tests/testreport.txt b/tests/testreport.txt
index 322eda1..235864f 100644
--- a/tests/testreport.txt
+++ b/tests/testreport.txt
@@ -1,31 +1,31 @@
-[testsrc/bad/final1.cpp:25]: V007: Need add final or notfinal into class declaration
-[testsrc/bad/final1.cpp:30]: V007: Need add final or notfinal into class declaration
-[testsrc/bad/license1.cpp:1]: V005: Should be license header
-[testsrc/bad/license2.cpp:2]: V005: Should be 'The ManaPlus Client' in header
-[testsrc/bad/license3.cpp:19]: V005: License version not found. It must be GPL 2
-[testsrc/bad/license4.cpp:4]: V005: Missing ManaPlus developers copyrights
-[testsrc/bad/license5.cpp:3]: V005: Missing copyrights section
-[testsrc/bad/license6.cpp:5]: V005: Missing "This file is part of The ManaPlus Client."
-[testsrc/bad/constructor1.cpp:34]: V006: Add space between constructor and ":".
-[testsrc/bad/constructor1.cpp:35]: V006: Wrong align in initialisation list.
-[testsrc/bad/constructor1.cpp:44]: V006: Wrong align in initialisation list.
[testsrc/bad/constructor1.cpp:25]: V007: Need add final or notfinal into class declaration
[testsrc/bad/constructor1.cpp:32]: V007: Need add final or notfinal into class declaration
+[testsrc/bad/constructor1.cpp:34]: V006: Add space between constructor and ":".
+[testsrc/bad/constructor1.cpp:35]: V006: Wrong align in initialisation list.
[testsrc/bad/constructor1.cpp:41]: V007: Need add final or notfinal into class declaration
+[testsrc/bad/constructor1.cpp:44]: V006: Wrong align in initialisation list.
+[testsrc/bad/constructor1.h:23]: V007: Need add final or notfinal into class declaration
+[testsrc/bad/constructor1.h:30]: V007: Need add final or notfinal into class declaration
+[testsrc/bad/constructor1.h:32]: V006: Add space between constructor and ":".
+[testsrc/bad/constructor1.h:33]: V006: Wrong align in initialisation list.
+[testsrc/bad/constructor1.h:39]: V007: Need add final or notfinal into class declaration
+[testsrc/bad/constructor1.h:42]: V006: Wrong align in initialisation list.
+[testsrc/bad/debug1.cpp:25]: V004: Missing #include "debug.h". It need for profiling and memory debugging.
+[testsrc/bad/debug1.h:23]: V003: Dont use #include "debug.h" in .h files. Probably need replace it to #include "localconsts.h"
+[testsrc/bad/debug2.cpp:23]: V004: Last include must be #include "debug.h"
+[testsrc/bad/final1.cpp:25]: V007: Need add final or notfinal into class declaration
+[testsrc/bad/final1.cpp:30]: V007: Need add final or notfinal into class declaration
[testsrc/bad/final1.h:23]: V007: Need add final or notfinal into class declaration
[testsrc/bad/final1.h:27]: V007: Need add final or notfinal into class declaration
-[testsrc/bad/debug1.h:23]: V003: Dont use #include "debug.h" in .h files. Probably need replace it to #include "localconsts.h"
+[testsrc/bad/license1.cpp:1]: V005: Should be license header
[testsrc/bad/license1.h:1]: V005: Should be license header
+[testsrc/bad/license2.cpp:2]: V005: Should be 'The ManaPlus Client' in header
[testsrc/bad/license2.h:2]: V005: Should be 'The ManaPlus Client' in header
+[testsrc/bad/license3.cpp:19]: V005: License version not found. It must be GPL 2
[testsrc/bad/license3.h:19]: V005: License version not found. It must be GPL 2
+[testsrc/bad/license4.cpp:4]: V005: Missing ManaPlus developers copyrights
[testsrc/bad/license4.h:4]: V005: Missing ManaPlus developers copyrights
+[testsrc/bad/license5.cpp:3]: V005: Missing copyrights section
[testsrc/bad/license5.h:3]: V005: Missing copyrights section
+[testsrc/bad/license6.cpp:5]: V005: Missing "This file is part of The ManaPlus Client."
[testsrc/bad/license6.h:5]: V005: Missing "This file is part of The ManaPlus Client."
-[testsrc/bad/constructor1.h:32]: V006: Add space between constructor and ":".
-[testsrc/bad/constructor1.h:33]: V006: Wrong align in initialisation list.
-[testsrc/bad/constructor1.h:42]: V006: Wrong align in initialisation list.
-[testsrc/bad/constructor1.h:23]: V007: Need add final or notfinal into class declaration
-[testsrc/bad/constructor1.h:30]: V007: Need add final or notfinal into class declaration
-[testsrc/bad/constructor1.h:39]: V007: Need add final or notfinal into class declaration
-[testsrc/bad/debug1.cpp:25]: V004: Missing #include "debug.h". It need for profiling and memory debugging.
-[testsrc/bad/debug2.cpp:23]: V004: Last include must be #include "debug.h"