Skip to content
Snippets Groups Projects
Commit eff7c0e3 authored by Grigoris Pavlakis's avatar Grigoris Pavlakis Committed by kongr45gpen
Browse files

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
parent 94c919da
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
#!/bin/env python3
#!/bin/env python3.6
from sys import argv
from collections import Counter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment