Reference g_Config in unittest to resolve cycle.

Dag blasted cross dependent linking.
This commit is contained in:
Unknown W. Brackets
2014-01-10 21:32:08 -08:00
parent 947acb02da
commit 1dfcbd0ea1
+2
View File
@@ -35,6 +35,7 @@
#include "ext/disarm.h"
#include "math/math_util.h"
#include "util/text/parsers.h"
#include "Core/Config.h"
#define EXPECT_TRUE(a) if (!(a)) { printf("%s:%i: Test Fail\n", __FUNCTION__, __LINE__); return false; }
#define EXPECT_FALSE(a) if ((a)) { printf("%s:%i: Test Fail\n", __FUNCTION__, __LINE__); return false; }
@@ -314,6 +315,7 @@ bool TestParsers() {
int main(int argc, const char *argv[])
{
g_Config.bEnableLogging = true;
TestAsin();
//TestSinCos();
//TestArmEmitter();