Actually skip the test

This commit is contained in:
Jacob Dufault 2017-12-22 09:14:11 -08:00
parent 43b44bb5e5
commit ea323a3b4b

View File

@ -5,8 +5,6 @@
#include "serializer.h"
#include "utils.h"
#include <loguru.hpp>
void Write(const std::vector<std::string>& strs) {
for (const std::string& str : strs)
std::cout << str << std::endl;
@ -119,9 +117,9 @@ void RunIndexTests(const std::string& filter_path) {
for (std::string path : GetFilesInFolder("tests", true /*recursive*/,
true /*add_folder_to_path*/)) {
if (!RunObjectiveCIndexTests() && EndsWithAny(path, {".m", ".mm"})) {
LOG_S(INFO) << "Skipping \"" << path
<< "\" since this platform does not support running "
"Objective-C tests.";
std::cout << "Skipping \"" << path << "\" since this platform does not "
<< "support running Objective-C tests.";
continue;
}
float memory_before = GetProcessMemoryUsedInMb();