From 8619f8934a2762fa35d80b792ad349cd1128c1e9 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 11 Jul 2023 21:17:10 +0200 Subject: test: add test for segfaulting CI script The C code leaked out of src/, so I moved .clang-format and some compile options to the root directory. Also, I'm starting to hit test execution limits; I'm going to limit the repositories used for stress testing. --- src/.clang-format | 14 -------------- src/CMakeLists.txt | 2 -- 2 files changed, 16 deletions(-) delete mode 100644 src/.clang-format (limited to 'src') diff --git a/src/.clang-format b/src/.clang-format deleted file mode 100644 index 87ad91d..0000000 --- a/src/.clang-format +++ /dev/null @@ -1,14 +0,0 @@ ---- -# The "Linux kernel" style, borrowed and modified from -# https://clang.llvm.org/docs/ClangFormatStyleOptions.html#examples -BasedOnStyle: LLVM -IndentWidth: 8 -UseTab: AlignWithSpaces -BreakBeforeBraces: Linux -AllowShortIfStatementsOnASingleLine: false -IndentCaseLabels: false - -ColumnLimit: 100 -AlignConsecutiveMacros: Consecutive -AllowShortFunctionsOnASingleLine: Empty -BreakStringLiterals: false diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c85ffdf..d994943 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,5 +1,3 @@ -add_compile_options(-std=c17 -Wpedantic -Wall -Wextra $<$>:-Werror>) - # Even w/ _POSIX_C_SOURCE=200809L, we still need accept4, pipe2, execvpe, etc., # which are all _GNU_SOURCE-only (at least for glibc). Try compiling without # any features macros defined at all, and prepare to be amazed! -- cgit v1.2.3