Set the executable program or script to be tested.
(self, program, inpath)
| 350 | self._preserve[cond] = 1 |
| 351 | |
| 352 | def program_set(self, program, inpath): |
| 353 | """Set the executable program or script to be tested.""" |
| 354 | if not inpath and program and not os.path.isabs(program[0]): |
| 355 | program[0] = os.path.join(self._cwd, program[0]) |
| 356 | self.program = program |
| 357 | |
| 358 | def read(self, file, mode='rb'): |
| 359 | """ |