From 1aab3baa5b0abd75599e0cfeffc202c2292009f0 Mon Sep 17 00:00:00 2001 From: Michael Tautschnig Date: Fri, 7 Jul 2023 19:43:40 +0000 Subject: [PATCH] Fix cpp-linter tests to avoid .git dependency Makes sure tests also pass when working from an archive rather than a git clone. --- regression/cpp-linter/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regression/cpp-linter/Makefile b/regression/cpp-linter/Makefile index 77e96aaa68b..729743967e0 100644 --- a/regression/cpp-linter/Makefile +++ b/regression/cpp-linter/Makefile @@ -1,10 +1,10 @@ default: tests.log test: - @../test.pl -p -c ../../../scripts/cpplint.py + @../test.pl -p -c '../../../scripts/cpplint.py --repository=../../../' tests.log: ../test.pl - @../test.pl -p -c ../../../scripts/cpplint.py + @../test.pl -p -c '../../../scripts/cpplint.py --repository=../../../' clean: find . -name '*.out' -execdir $(RM) '{}' \;