Tests for camel_case_for_classes codecheck fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Low
|
Unassigned |
Bug Description
Edited one of the code check rules, so I ran the test suite before committing. To my surprise the tests for camel_case_
$ ./cmake/
.......
=======
FAIL: runTest (__main_
-------
Traceback (most recent call last):
File "./cmake/
self._do_test()
File "./cmake/
"Rule '%s' failed. Example '%s' should fail, but passed" % (self.c.
AssertionError: Rule 'camel_
=======
FAIL: runTest (__main_
-------
Traceback (most recent call last):
File "./cmake/
self._do_test()
File "./cmake/
"Rule '%s' failed. Example '%s' should fail, but passed" % (self.c.
AssertionError: Rule 'camel_
=======
FAIL: runTest (__main_
-------
Traceback (most recent call last):
File "./cmake/
self._do_test()
File "./cmake/
"Rule '%s' failed. Example '%s' should fail, but passed" % (self.c.
AssertionError: Rule 'camel_
=======
FAIL: runTest (__main_
-------
Traceback (most recent call last):
File "./cmake/
self._do_test()
File "./cmake/
"Rule '%s' failed. Example '%s' should fail, but passed" % (self.c.
AssertionError: Rule 'camel_
=======
FAIL: runTest (__main_
-------
Traceback (most recent call last):
File "./cmake/
self._do_test()
File "./cmake/
"Rule '%s' failed. Example '%s' should fail, but passed" % (self.c.
AssertionError: Rule 'camel_
=======
FAIL: runTest (__main_
-------
Traceback (most recent call last):
File "./cmake/
self._do_test()
File "./cmake/
"Rule '%s' failed. Example '%s' should fail, but passed" % (self.c.
AssertionError: Rule 'camel_
=======
FAIL: runTest (__main_
-------
Traceback (most recent call last):
File "./cmake/
self._do_test()
File "./cmake/
"Rule '%s' failed. Example '%s' should fail, but passed" % (self.c.
AssertionError: Rule 'camel_
=======
FAIL: runTest (__main_
-------
Traceback (most recent call last):
File "./cmake/
self._do_test()
File "./cmake/
"Rule '%s' failed. Example '%s' should fail, but passed" % (self.c.
AssertionError: Rule 'camel_
=======
FAIL: runTest (__main_
-------
Traceback (most recent call last):
File "./cmake/
self._do_test()
File "./cmake/
"Rule '%s' failed. Example '%s' should fail, but passed" % (self.c.
AssertionError: Rule 'camel_
-------
Ran 1274 tests in 0.283s
Related branches
- GunChleoc: Approve
-
Diff: 536 lines (+113/-108)16 files modified.travis.sh (+16/-1)
cmake/codecheck/rules/camel_case_for_classes (+44/-28)
cmake/codecheck/rules/missing_space_starting_comment (+26/-1)
cmake/codecheck/rules/upcast_without_macro (+0/-32)
cmake/codecheck/run_tests.py (+5/-4)
data/scripting/richtext.lua (+13/-1)
doc/sphinx/source/conf.py (+1/-16)
doc/sphinx/source/lua_tribes_workers.rst.org (+0/-1)
src/build_info.h (+3/-3)
src/io/filesystem/filesystem.h (+1/-1)
src/logic/game.cc (+0/-1)
src/logic/playercommand.h (+0/-1)
src/profile/profile.cc (+1/-1)
src/profile/profile.h (+2/-4)
src/ui_basic/fullscreen_window.h (+1/-1)
src/ui_basic/slider.cc (+0/-12)
Changed in widelands: | |
milestone: | build19-rc1 → none |
Changed in widelands: | |
status: | Triaged → Won't Fix |
status: | Won't Fix → In Progress |
cmake/codecheck /CodeCheck. py works. Any particular reason you are using run_tests.py instead?