Open GoogleCodeExporter opened 8 years ago
ComponentTestProgram() also doesn't support inferring the prog_name from the
input
file(s).
For example, this works:
env.ComponentProgram('test_bar.cc')
but this doesn't:
env.ComponentTestProgram('test_bar.cc')
Instead, one must use this:
env.ComponentTestProgram(prog_name='test_bar', source='test_bar.cc')
Note that the same is true when using source array. For example, the following
works:
env.ComponentProgram(['foo_test.cc', 'test_utils.cc'])
Original comment by ddor...@google.com
on 3 Feb 2010 at 1:22
Original issue reported on code.google.com by
ddor...@google.com
on 2 Feb 2010 at 9:43