diff options
Diffstat (limited to '.ci/linux-build.sh')
-rwxr-xr-x | .ci/linux-build.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh index c396ec1e8..9746a8239 100755 --- a/.ci/linux-build.sh +++ b/.ci/linux-build.sh @@ -212,6 +212,13 @@ if [ "$DEB_PACKAGE" ]; then echo $deps | xargs sudo apt -y install # install the locally built openvswitch packages sudo dpkg -i $packages + + # Check that python C extension is built correctly. + python3 -c " +from ovs import _json +import ovs.json +assert ovs.json.from_string('{\"a\": 42}') == {'a': 42}" + exit 0 fi |