mirror of
https://github.com/MaskRay/ccls.git
synced 2025-01-31 18:00:26 +00:00
Actually skip the test
This commit is contained in:
parent
43b44bb5e5
commit
ea323a3b4b
@ -5,8 +5,6 @@
|
|||||||
#include "serializer.h"
|
#include "serializer.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
#include <loguru.hpp>
|
|
||||||
|
|
||||||
void Write(const std::vector<std::string>& strs) {
|
void Write(const std::vector<std::string>& strs) {
|
||||||
for (const std::string& str : strs)
|
for (const std::string& str : strs)
|
||||||
std::cout << str << std::endl;
|
std::cout << str << std::endl;
|
||||||
@ -119,9 +117,9 @@ void RunIndexTests(const std::string& filter_path) {
|
|||||||
for (std::string path : GetFilesInFolder("tests", true /*recursive*/,
|
for (std::string path : GetFilesInFolder("tests", true /*recursive*/,
|
||||||
true /*add_folder_to_path*/)) {
|
true /*add_folder_to_path*/)) {
|
||||||
if (!RunObjectiveCIndexTests() && EndsWithAny(path, {".m", ".mm"})) {
|
if (!RunObjectiveCIndexTests() && EndsWithAny(path, {".m", ".mm"})) {
|
||||||
LOG_S(INFO) << "Skipping \"" << path
|
std::cout << "Skipping \"" << path << "\" since this platform does not "
|
||||||
<< "\" since this platform does not support running "
|
<< "support running Objective-C tests.";
|
||||||
"Objective-C tests.";
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
float memory_before = GetProcessMemoryUsedInMb();
|
float memory_before = GetProcessMemoryUsedInMb();
|
||||||
|
Loading…
Reference in New Issue
Block a user