testgarbage: is now capable of checking checkother functions.

This commit is contained in:
Martin Ettl 2014-09-29 22:09:58 +02:00
parent a7c870bdc8
commit 4c3e721bf3
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@
#include "testsuite.h"
#include "tokenize.h"
#include "token.h"
#include "checkother.h"
#include "settings.h"
extern std::ostringstream errout;
@ -75,6 +76,8 @@ private:
tokenizer.simplifyTokenList2();
// TODO: Run checks
CheckOther checkOther(&tokenizer, &settings, this);
checkOther.runChecks(&tokenizer, &settings, this);
return tokenizer.tokens()->stringifyList(false, false, false, true, false, 0, 0);
}