Also include a function to form the input path.
--HG-- extra : convert_revision : d2141e3b8c56296fbbe2c4c1ceb80616f269884a
This commit is contained in:
parent
8ccd99e341
commit
264f9ce374
1 changed files with 7 additions and 0 deletions
|
@ -42,6 +42,13 @@ def binpath(app, file=None):
|
|||
file = app
|
||||
return os.path.join(test_progs, app, 'bin', isa, opsys, file)
|
||||
|
||||
# generate path to input file
|
||||
def inputpath(app, file=None):
|
||||
# input file has same name as app unless specified otherwise
|
||||
if not file:
|
||||
file = app
|
||||
return os.path.join(test_progs, app, 'input', file)
|
||||
|
||||
# build configuration
|
||||
execfile(os.path.join(tests_root, 'configs', config + '.py'))
|
||||
|
||||
|
|
Loading…
Reference in a new issue