summaryrefslogtreecommitdiffstats
path: root/lldb/unittests/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-08-11 15:31:30 +0000
committerPavel Labath <labath@google.com>2016-08-11 15:31:30 +0000
commit8c68837df383bc7749d34317fd5df56dfc24f388 (patch)
treee43783388a3460d7f927bb2bfe43481044c9773b /lldb/unittests/ScriptInterpreter/Python
parent2e7af979b91203aa09daed54aee9083cd5e228b9 (diff)
downloadbcm5719-llvm-8c68837df383bc7749d34317fd5df56dfc24f388.tar.gz
bcm5719-llvm-8c68837df383bc7749d34317fd5df56dfc24f388.zip
Fix unit tests on windows
Python headers need to be included before PosixApi.h llvm-svn: 278345
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
-rw-r--r--lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp2
-rw-r--r--lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp b/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
index b402beed9a2..efd169e686d 100644
--- a/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
+++ b/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
@@ -8,11 +8,11 @@
//===----------------------------------------------------------------------===//
#include "gtest/gtest.h"
+#include "Plugins/ScriptInterpreter/Python/lldb-python.h"
#include "lldb/Host/File.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Host/HostInfo.h"
-#include "Plugins/ScriptInterpreter/Python/lldb-python.h"
#include "Plugins/ScriptInterpreter/Python/PythonDataObjects.h"
#include "Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h"
diff --git a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
index 5eb1c72598a..0f75bf28131 100644
--- a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
+++ b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
@@ -8,9 +8,9 @@
//===----------------------------------------------------------------------===//
#include "gtest/gtest.h"
+#include "Plugins/ScriptInterpreter/Python/lldb-python.h"
#include "lldb/Host/HostInfo.h"
-#include "Plugins/ScriptInterpreter/Python/lldb-python.h"
#include "Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h"
#include "PythonTestSuite.h"
OpenPOWER on IntegriCloud