From 4a281991ec91eb971288046b318de36f6dd0adc5 Mon Sep 17 00:00:00 2001 From: Deda Date: Sun, 25 Feb 2024 13:25:45 +0100 Subject: [PATCH] Fix code analysis tests --- tests/code_analysis/clang_tidy.sh | 1 + tests/code_analysis/python_code_analysis.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/code_analysis/clang_tidy.sh b/tests/code_analysis/clang_tidy.sh index f05e1d8c6..816f6e6be 100755 --- a/tests/code_analysis/clang_tidy.sh +++ b/tests/code_analysis/clang_tidy.sh @@ -17,6 +17,7 @@ while [[ "$#" -gt 0 ]]; do ;; *) echo "Error: Unknown flag '$1'" + shift 2 ;; esac done diff --git a/tests/code_analysis/python_code_analysis.sh b/tests/code_analysis/python_code_analysis.sh index 2a8dcc303..dcfc3aeaa 100755 --- a/tests/code_analysis/python_code_analysis.sh +++ b/tests/code_analysis/python_code_analysis.sh @@ -16,6 +16,7 @@ while [[ "$#" -gt 0 ]]; do ;; *) echo "Error: Unknown flag '$1'" + shift 2 ;; esac done