<s> """<STR_LIT>""" <EOL> import TestGyp <EOL> import os <EOL> import sys <EOL> if sys . platform == '<STR_LIT:win32>' : <EOL> print "<STR_LIT>" <EOL> sys . exit ( <NUM_LIT:0> ) <EOL> test = TestGyp . TestGyp ( formats = [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> test . run_gyp ( '<STR_LIT>' , chdir = '<STR_LIT:src>' ) <EOL> test . relocate ( '<STR_LIT:src>' , '<STR_LIT>' ) <EOL> test . build ( '<STR_LIT>' , chdir = '<STR_LIT>' ) <EOL> expect = """<STR_LIT>""" <EOL> if test . format == '<STR_LIT>' : <EOL> chdir = '<STR_LIT>' <EOL> else : <EOL> chdir = '<STR_LIT>' <EOL> test . run_built_executable ( '<STR_LIT>' , chdir = chdir , stdout = expect ) <EOL> if test . format == '<STR_LIT>' : <EOL> test . run_built_executable ( '<STR_LIT>' , chdir = chdir , <EOL> stdout = expect ) <EOL> test . must_match ( '<STR_LIT>' , <EOL> os . path . join ( '<STR_LIT:foo>' , '<STR_LIT:bar>' ) ) <EOL> test . must_match ( '<STR_LIT>' , <EOL> os . path . join ( '<STR_LIT:a>' , '<STR_LIT:b>' ) ) <EOL> if test . format != '<STR_LIT>' and test . format != '<STR_LIT>' : <EOL> test . must_match ( '<STR_LIT>' , <EOL> os . path . join ( '<STR_LIT:foo>' , '<STR_LIT:bar>' , '<STR_LIT>' ) ) <EOL> test . must_match ( '<STR_LIT>' , <EOL> os . path . join ( '<STR_LIT:a>' , '<STR_LIT:b>' , '<STR_LIT>' ) ) <EOL> test . pass_test ( ) </s>
