aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-07-11 21:17:10 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-07-11 23:14:52 +0200
commit8619f8934a2762fa35d80b792ad349cd1128c1e9 (patch)
tree0078ea6f8f14c25a8ddbcf573d4e67dfa3dc3d32 /src
parentsqlite: make some identifiers more readable (diff)
downloadcimple-8619f8934a2762fa35d80b792ad349cd1128c1e9.tar.gz
cimple-8619f8934a2762fa35d80b792ad349cd1128c1e9.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/.clang-format14
-rw-r--r--src/CMakeLists.txt2
2 files changed, 0 insertions, 16 deletions
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 $<$<NOT:$<CONFIG:Debug>>:-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!