• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mavlink / MAVSDK / 6739182515

02 Nov 2023 11:04PM UTC coverage: 36.952% (+5.7%) from 31.229%
6739182515

push

github

web-flow
Merge pull request #2060 from mavlink/pr-split-ftp

Split Ftp plugin into Ftp and FtpServer

2002 of 2573 new or added lines in 26 files covered. (77.81%)

3 existing lines in 3 files now uncovered.

9920 of 26846 relevant lines covered (36.95%)

112.43 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

71.43
/src/system_tests/system_tests_runner.cpp
1
#if defined(ENABLE_CPPTRACE)
2
#include <signal.h>
3
#include <cpptrace/cpptrace.hpp>
4
#include "log.h"
5
#include <cstring>
6
#endif
7
#include <gtest/gtest.h>
8

9
#if defined(ENABLE_CPPTRACE)
NEW
10
void handler(int sig)
×
11
{
NEW
12
    mavsdk::LogErr() << "Got signal: " << strsignal(sig) << " (" << sig << ")";
×
NEW
13
    cpptrace::print_trace();
×
NEW
14
    exit(1);
×
15
}
16
#endif
17

18
int main(int argc, char** argv)
1✔
19
{
20
#if defined(ENABLE_CPPTRACE)
21
    signal(SIGSEGV, handler);
1✔
22
    signal(SIGQUIT, handler);
1✔
23
    signal(SIGABRT, handler);
1✔
24
    signal(SIGILL, handler);
1✔
25
    signal(SIGBUS, handler);
1✔
26
    signal(SIGPIPE, handler);
1✔
27
    signal(SIGFPE, handler);
1✔
28
#endif
29

30
    ::testing::InitGoogleTest(&argc, argv);
1✔
31
    return RUN_ALL_TESTS();
1✔
32
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc