laforge submitted this change.

View Change


Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified
pySim-trace_test.sh: Force termcolor to suppress color generation

on some systems, the output would otherwise contain colored status
words, which in turn mean the test otuput no longer matches the expected
output.

Change-Id: Icb700f6e85a285748e00367a398975aa5e75dec5
---
M tests/pySim-trace_test.sh
1 file changed, 15 insertions(+), 0 deletions(-)

diff --git a/tests/pySim-trace_test.sh b/tests/pySim-trace_test.sh
index f7b97e8..3e200c3 100755
--- a/tests/pySim-trace_test.sh
+++ b/tests/pySim-trace_test.sh
@@ -25,6 +25,8 @@
TEMPFILE=temp.tmp

export PYSIM_INTEGRATION_TEST=1
+# to avoid termcolor.colored generating colors; https://github.com/termcolor/termcolor
+export ANSI_COLORS_DISABLED=1

echo "pySim-trace_test - a test program to test pySim-trace.py"
echo "========================================================"

To view, visit change 35438. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Icb700f6e85a285748e00367a398975aa5e75dec5
Gerrit-Change-Number: 35438
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge@osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-MessageType: merged