Currently Online

Latest Posts

Changes in RegressionTests

Old Title


Revision Differences of Revision 1

## Running Codecheck Manually ¶


We have codecheck rules that will help you stick to our coding style guidelines. These are run automatically whenever you compile a debug build, but they can be hard to see now, because cmake creates a lot of output around them. However, you can run the checks manually: ¶

`cmake/codecheck/CodeCheck.py src/* | grep -v "src/third_party"` ¶


## Running Regression Tests Manually ¶

Some tests can be run automatically wile compiling debug builds, but not all of them. We have some automated scenarios that will check for regression bugs. You can run all of them with ¶

`./regression_test.py -b ./widelands` ¶

or you can run just specific tests, for example: ¶

`./widelands --scenario=test/maps/lua_testsuite.wmf` ¶

Have a look at the tests directory for individual tests you can run.