<s> """<STR_LIT>""" <EOL> import os <EOL> import TestGyp <EOL> test = TestGyp . TestGyp ( format = '<STR_LIT>' ) <EOL> os . environ [ '<STR_LIT>' ] = '<STR_LIT>' <EOL> os . environ [ '<STR_LIT>' ] = '<STR_LIT:foo>' <EOL> os . environ [ '<STR_LIT>' ] = '<STR_LIT>' <EOL> os . environ [ '<STR_LIT>' ] = '<STR_LIT>' <EOL> expect = test . read ( '<STR_LIT>' ) . replace ( '<STR_LIT:\r\n>' , '<STR_LIT:\n>' ) <EOL> test . run_gyp ( '<STR_LIT>' , <EOL> '<STR_LIT>' , '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> stdout = expect , ignore_line_numbers = True ) <EOL> contents = test . read ( '<STR_LIT>' ) . replace ( '<STR_LIT:\r>' , '<STR_LIT>' ) <EOL> expect = test . read ( '<STR_LIT>' ) . replace ( '<STR_LIT:\r>' , '<STR_LIT>' ) <EOL> if not test . match ( contents , expect ) : <EOL> print "<STR_LIT>" <EOL> test . diff ( expect , contents , '<STR_LIT>' ) <EOL> test . fail_test ( ) <EOL> test . pass_test ( ) </s>
