Disable color output in pytest sandbox/jsmoeller/nocolor
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 31 May 2023 09:34:52 +0000 (11:34 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 31 May 2023 09:34:52 +0000 (11:34 +0200)
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Iff38a79b72952416792c4c66d1e482736d308544

common/scripts/agl-extend-test.sh

index 51dfcb1..89bde0e 100755 (executable)
@@ -1,15 +1,18 @@
 #!/bin/bash
+export NO_COLOR=1
+export TERM=dumb
 
 pre_check=`which agl-test`
 
 if [ -n "$pre_check" ] ; then
-    agl-test
     echo "agl-extend-test is present"
 else
     echo "agl-test is not installed, abort this test"
     exit 127
 fi
 
+agl-test
+
 
 if [ -x ./artiproxy-upload.sh ] ; then
     LOG_DIR='/var/run/agl-test/logs/log-to-report'