See script directory for method. The script to run in the top level MaxScale directory is called maxscale-uncrustify.sh, which uses another script, list-src, from the same directory (so you need to set your PATH). The uncrustify version was 0.66.
A part of the 2.2 test was disabled even though the functionality can be tested with 2.2.
The configuration checking functionality doesn't detect bad router options in 2.0.
Added tests from develop. The test results need to be modified for 2.0.