Skip to content

Commit 8ebfb33

Browse files
committed
more fixes
1 parent 91f58bc commit 8ebfb33

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

tests/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ make help
88
command | settings | notes | see
99
--- | --- | --- | ---
1010
oj-verify | [config.toml](../.verify-helper/config.toml) | <ul><li>Run from `programming_team_code/` to enable `config.toml` settings, else disabled.</li><li>[Check/Delete] [timestamps.remote.json](../.verify-helper/timestamps.remote.json) to [see which tests ran/re-run all tests].</li></ul> | <ul><li>https://online-judge-tools.github.io/verification-helper/document.html</li><li>https://online-judge-tools.github.io/verification-helper/installer.html</li><li>[Library Checker](https://judge.yosupo.jp/)</li><li>[Aizu Online Judge](https://onlinejudge.u-aizu.ac.jp/courses/list)</li></ul>
11-
g++ | [.config/.gcc_compile_flags](.config/.gcc_compile_flags) | <ul><li>`-std=c++17` since some judges still have this version</li><li>`-Wconversion`, `-Wsign-conversion` is out of scope</li><li>`-Werror` treats warnings as errors to make CI fail</li></ul> | <ul><li>https://codeforces.com/blog/entry/15547</li><li>https://codeforces.com/blog/entry/74032</li><li>https://codeforces.com/blog/entry/79024</li></ul>
11+
g++ | [.config/.gcc_compile_flags](.config/.gcc_compile_flags) | <ul><li>`-Wconversion`, `-Wsign-conversion` is out of scope</li><li>`-Werror` treats warnings as errors to make CI fail</li></ul> | <ul><li>https://codeforces.com/blog/entry/15547</li><li>https://codeforces.com/blog/entry/74032</li><li>https://codeforces.com/blog/entry/79024</li></ul>
1212
clang-format | [.config/.clang-format](.config/.clang-format) | running `make do_format` locally will format files | https://clang.llvm.org/docs/ClangFormat.html
1313
cppcheck | [.config/.cppcheck_suppression_list](.config/.cppcheck_suppression_list), also see flags in cppcheck command in [scripts/foramt_lint.sh](scripts/foramt_lint.sh) | | https://cppcheck.sourceforge.io/
1414
clang-tidy | [.config/.clang-tidy](.config/.clang-tidy) | checks variables for snake_case | https://clang.llvm.org/extra/clang-tidy/checks/list.html

tests/scripts/check_format_lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ git submodule init
3939
git submodule update
4040

4141
cppcheck --enable=all --inconclusive --suppressions-list=.config/.cppcheck_suppression_list \
42-
--force --language=c++ --error-exitcode=1 --std=c++17 --max-ctu-depth=50 \
42+
--force --language=c++ --error-exitcode=1 --std=c++20 --max-ctu-depth=50 \
4343
library_checker_aizu_tests/**/*.hpp library_checker_aizu_tests/**/*.test.cpp ../library/**/*.hpp ../library/**/*.cpp ||
4444
exit 1

tests/scripts/clangtidy.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ shopt -s globstar
55
git submodule init
66
git submodule update
77

8-
cp library_checker_aizu_tests/kactl_macros_gcc17.hpp library_checker_aizu_tests/kactl_macros_gcc20.hpp
9-
108
find library_checker_aizu_tests/ -type f -name "*.test.cpp" |
119
parallel clang-tidy --config-file=.config/.clang-tidy {} -- -std=c++20 ||
1210
exit 1

0 commit comments

Comments
 (0)