Skip to content

Commit 91f92e4

Browse files
Export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python for s390x architecture in unitests.sh to resolve protobuf compatibility issues while running unittests using pytest.
1 parent 07bf032 commit 91f92e4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

controllers/scripts/unitests.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/bash
22
set -xe
3-
3+
if [[ "$(uname -m)" == "s390x" ]]; then
4+
export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
5+
fi
46
coveragedir=/driver/coverage/
57
[ ! -d $coveragedir ] && mkdir -p $coveragedir
68

0 commit comments

Comments
 (0)