[gjs: 3/10] CI: Don't run cpplint on C files
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 3/10] CI: Don't run cpplint on C files
- Date: Sun, 6 Mar 2022 00:46:42 +0000 (UTC)
commit 41a453a8da62657d4f1c39fdc9dcfc16952b7913
Author: Philip Chimento <philip chimento gmail com>
Date: Sun Feb 13 12:03:52 2022 -0800
CI: Don't run cpplint on C files
Per https://github.com/cpplint/cpplint/issues/190 cpplint is not intended
for that.
test/test-ci.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/test/test-ci.sh b/test/test-ci.sh
index 1c4c31701..2a531ad9f 100755
--- a/test/test-ci.sh
+++ b/test/test-ci.sh
@@ -156,7 +156,7 @@ elif test "$1" = "SH_CHECKS"; then
elif test "$1" = "CPPLINT"; then
do_Print_Labels 'C/C++ Linter report '
- cpplint --quiet $(find . -name \*.cpp -or -name \*.c -or -name \*.h | sort) 2>&1 >/dev/null | \
+ cpplint --quiet $(find . -name \*.cpp -or -name \*.h | sort) 2>&1 >/dev/null | \
tee "$save_dir"/analysis/head-report.txt | \
sed -E -e 's/:[0-9]+:/:LINE:/' -e 's/ +/ /g' \
> /cwd/head-report.txt
@@ -172,7 +172,7 @@ elif test "$1" = "CPPLINT"; then
exit 0
fi
git checkout ci-upstream-base
- cpplint --quiet $(find . -name \*.cpp -or -name \*.c -or -name \*.h | sort) 2>&1 >/dev/null | \
+ cpplint --quiet $(find . -name \*.cpp -or -name \*.h | sort) 2>&1 >/dev/null | \
tee "$save_dir"/analysis/base-report.txt | \
sed -E -e 's/:[0-9]+:/:LINE:/' -e 's/ +/ /g' \
> /cwd/base-report.txt
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]