#!/usr/bin/env python

"""
Verifies dependencies do the copy step.
"""

import os
import sys

import TestGyp

test = TestGyp.TestGyp()

test.run_gyp('copies.gyp', chdir='src')

test.build_target('copies.gyp', 'proj2', chdir='src')

test.run_built_executable('proj1',
                          chdir='src',
                          stdout="Hello from file1.c\n")
test.run_built_executable('proj2',
                          chdir='src',
                          stdout="Hello from file2.c\n")

test.pass_test()

#!/usr/bin/env python

"""
Verifies dependencies do the copy step.
"""

import TestGyp

test = TestGyp.TestGyp()

test.run_gyp('copies.gyp', chdir='src')

test.build_target('copies.gyp', 'proj2', chdir='src')

test.run_built_executable('proj1',
                          chdir='src',
                          stdout="Hello from file1.c\n")
test.run_built_executable('proj2',
                          chdir='src',
                          stdout="Hello from file2.c\n")

test.pass_test()

Remove unnecessary imports. Review URL: http://codereview.chromium.org/195094