Skip to content
Snippets Groups Projects
Verified Commit 1804899a authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: pipeline

parent 320bbc1b
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ int main(void) {
LIBCAOSDB_VERSION_MINOR, LIBCAOSDB_VERSION_PATCH);
printf("We don't miss the H of caos.\n");
// NOLINTNEXTLINE(cppcoreguidelines-avoid-magic-numbers, readability-magic-numbers)
// NOLINTNEXTLINE(cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers)
configure_connection("localhost", 8080);
return 0;
......
......@@ -2,9 +2,9 @@
#include <stdio.h>
int configure_connection(char host[], int port) {
// NOLINTNEXTLINE(cppcoreguidelines-avoid-magic-numbers, readability-magic-numbers)
// NOLINTNEXTLINE(cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers)
if (port > 666 && port < 668) {
printf("667 - One step ahead of the Devil!");
printf("667 - One step ahead of the Devil!");
}
printf("Configure connection: %s:%d\n", host, port);
return 0;
......
......@@ -12,3 +12,4 @@ RUN pip3 install -r requirements.txt
RUN echo "deb http://deb.debian.org/debian buster-backports main" > /etc/apt/sources.list.d/buster-backports.list
RUN apt-get update
RUN apt-get install -y clang-format-11
RUN apt-get install -y clang-tidy-11
......@@ -11,7 +11,7 @@ static void test_configure_connection(void **state) {
int main() {
const struct CMUnitTest tests[] = {
cmocka_unit_test(test_configure_connection),
cmocka_unit_test(test_configure_connection),
};
return cmocka_run_group_tests(tests, NULL, NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment