From eff7c0e35695f48566656f85f78906373f83dd69 Mon Sep 17 00:00:00 2001 From: Grigoris Pavlakis <grigpavl@ece.auth.gr> Date: Sat, 23 Mar 2019 16:24:12 +0200 Subject: [PATCH] Use Python 3.6 everywhere from now on Change the exit() statements to return; let's see if this is going to work because last time it didn't Change shebang line to python3.6 Whoops --- ci/cppcheck-misra.sh | 2 +- ci/summarizer.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/cppcheck-misra.sh b/ci/cppcheck-misra.sh index 0500b2ee..16cc6fca 100755 --- a/ci/cppcheck-misra.sh +++ b/ci/cppcheck-misra.sh @@ -18,7 +18,7 @@ find inc/ src/ -type f \( -iname "*.cpp" -or -iname "*.hpp" \) | xargs cppcheck # run the MISRA checks against the dumps and send the results to a file echo -e "\u001b[34;1mRunning MISRA C(2012) rule compliance tests...\u001b[0m" -find inc/ src/ -type f -name "*.dump" | xargs python3 ci/misra.py >> ci/report.msr 2>&1 +find inc/ src/ -type f -name "*.dump" | xargs python3.6 ci/misra.py >> ci/report.msr 2>&1 # pre-process the generated report to remove all useless strings echo -e "\u001b[34;1mPre-processing report...\u001b[0m" diff --git a/ci/summarizer.py b/ci/summarizer.py index db0c04e6..7bcd5ea4 100755 --- a/ci/summarizer.py +++ b/ci/summarizer.py @@ -1,4 +1,4 @@ -#!/bin/env python3 +#!/bin/env python3.6 from sys import argv from collections import Counter -- GitLab