<s> """<STR_LIT>""" <EOL> import TestGyp <EOL> test = TestGyp . TestGyp ( formats = [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> test . run_gyp ( '<STR_LIT>' , '<STR_LIT>' , chdir = '<STR_LIT:src>' ) <EOL> if test . format == '<STR_LIT>' : <EOL> if test . uses_msbuild : <EOL> test . must_contain ( '<STR_LIT>' , <EOL> '<STR_LIT>' ) <EOL> else : <EOL> test . must_contain ( '<STR_LIT>' , <EOL> '<STR_LIT>' ) <EOL> test . relocate ( '<STR_LIT:src>' , '<STR_LIT>' ) <EOL> test . subdir ( '<STR_LIT>' ) <EOL> test . writable ( '<STR_LIT>' , False ) <EOL> test . writable ( '<STR_LIT>' , True ) <EOL> test . build ( '<STR_LIT>' , SYMROOT = None , chdir = '<STR_LIT>' ) <EOL> expect1 = """<STR_LIT>""" <EOL> expect2 = """<STR_LIT>""" <EOL> expect3 = """<STR_LIT>""" <EOL> expect4 = """<STR_LIT>""" <EOL> expect5 = """<STR_LIT>""" <EOL> def run_builddir ( prog , expect ) : <EOL> dir = '<STR_LIT>' <EOL> test . run ( program = test . workpath ( dir + prog ) , stdout = expect ) <EOL> run_builddir ( '<STR_LIT>' , expect1 ) <EOL> run_builddir ( '<STR_LIT>' , expect2 ) <EOL> run_builddir ( '<STR_LIT>' , expect3 ) <EOL> run_builddir ( '<STR_LIT>' , expect4 ) <EOL> run_builddir ( '<STR_LIT>' , expect5 ) <EOL> test . pass_test ( ) </s>
