We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb27d6e commit 53fc448Copy full SHA for 53fc448
azure-pipelines.yml
@@ -14,3 +14,6 @@ steps:
14
docker run opendbc bash -c "cd opendbc/can/tests/linter_python; PYTHONPATH=/ ./flake8_opendbc.sh"
15
docker run opendbc bash -c "cd opendbc/can/tests/linter_python; PYTHONPATH=/ ./pylint_opendbc.sh"
16
displayName: 'Python linter'
17
+- script: |
18
+ docker run opendbc bash -c "cd opendbc/can/tests/; PYTHONPATH=/ ./test_generator.sh"
19
+ displayName: 'Generator test'
can/tests/test_generator.sh
@@ -0,0 +1,13 @@
1
+#!/bin/bash -e
2
+
3
+cd ../../generator/
4
5
+# run generator
6
+./generator.py
7
8
+if [ -n "$(git status --untracked-files=no --porcelain)" ]; then
9
+ echo "Unexpected changes after running generator.py";
10
+ exit 1
11
+else
12
+ echo "Success";
13
+fi
0 commit comments