build: Fixed docker builds

* fixed Boost c++ standard
* build with docker on mac
* added mail script
* fixed cxx index sample test on mac
* disabled gradle source group test for linux docker builds
This commit is contained in:
Eberhard Graether
2018-11-03 03:18:06 +01:00
parent bff7b0d70a
commit 466f094800
7 changed files with 69 additions and 10 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ private:
std::shared_ptr<TextAccess> parseCode(const FilePath& sourceFilePath, const FilePath& projectDataSrcRoot)
{
const std::set<FilePath> indexedPaths = { projectDataSrcRoot };
const std::set<FilePath> indexedPaths = { projectDataSrcRoot.getCanonical() };
const std::set<FilePathFilter> excludedFilters = {};
const std::set<FilePathFilter> includedFilters = {};
const FilePath workingDirectory(L".");
+2
View File
@@ -297,6 +297,7 @@ public:
void test_sourcegroup_java_gradle_generates_expected_output()
{
#ifndef __linux__
const std::wstring projectName = L"java_gradle";
ProjectSettings projectSettings;
@@ -323,6 +324,7 @@ public:
applicationSettings->setJreSystemLibraryPaths(storedJreSystemLibraryPaths);
AppPath::setAppPath(storedAppPath);
#endif
}
void test_sourcegroup_java_maven_generates_expected_output()
+2 -1
View File
@@ -5,6 +5,7 @@
#include "AccessKind.h"
#include "Edge.h"
#include "FilePath.h"
#include "IntermediateStorage.h"
#include "LocationType.h"
#include "NameHierarchy.h"
@@ -20,7 +21,7 @@ public:
std::map<Id, FilePath> filePathMap;
for (const StorageFile& file : getStorageFiles())
{
filePathMap.emplace(file.id, file.filePath);
filePathMap.emplace(file.id, FilePath(file.filePath));
files.emplace(file.filePath);
addLine(L"FILE: " + FilePath(file.filePath).fileName() + (file.indexed ? L"" : L" non-indexed"));