<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>181847</bug_id>
          
          <creation_ts>2018-01-19 04:15:40 -0800</creation_ts>
          <short_desc>[GTK] TERM environment variable is not passed to the test driver.</short_desc>
          <delta_ts>2018-01-19 04:23:20 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>lforschler</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1390884</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2018-01-19 04:15:40 -0800</bug_when>
    <thetext>The TERM environment variable is used to tell the capabilities of the terminal to the running process.
On most of the GTK/WPE bots we set this to TERM=dumb so the tests don&apos;t generate ANSI color codes that just look bad on the txt/html files generated by buildbot and make reading the results harder.

We noticed color codes are happening on the new webdriver tests even with this variable.
It looks we are not letting the driver pick this variable, so when pytest is invoked it can&apos;t see it.

https://build.webkit.org/builders/GTK%20Linux%2064-bit%20Release%20%28Tests%29/builds/5131/steps/webdriver-test/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1390885</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2018-01-19 04:22:09 -0800</bug_when>
    <thetext>Committed r227195: &lt;https://trac.webkit.org/changeset/227195&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1390886</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-01-19 04:23:20 -0800</bug_when>
    <thetext>&lt;rdar://problem/36654987&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>