Lines Matching refs:test
13 test = TestGyp.TestGyp()
15 test.run_gyp('test.gyp', chdir='src')
16 test.build('test.gyp', 'target1', chdir='src')
18 intermediate_file1 = test.read('src/outfile.txt')
19 test.must_contain(intermediate_file1, 'target1')
21 shared_intermediate_file1 = test.read('src/shared_outfile.txt')
22 test.must_contain(shared_intermediate_file1, 'shared_target1')
24 test.run_gyp('test2.gyp', chdir='src')
26 test.sleep()
27 test.touch('src/shared_infile.txt')
28 test.build('test2.gyp', 'target2', chdir='src')
31 intermediate_file2 = test.read('src/outfile.txt')
32 test.must_contain(intermediate_file1, 'target1')
33 test.must_contain(intermediate_file2, 'target2')
35 shared_intermediate_file2 = test.read('src/shared_outfile.txt')
37 test.fail_test(shared_intermediate_file1 + ' != ' + shared_intermediate_file2)
39 test.must_contain(shared_intermediate_file1, 'shared_target2')
40 test.must_contain(shared_intermediate_file2, 'shared_target2')
42 test.pass_test()