forked from Github_Repos/cvw
attempt to make regression-wally.py more path-independent such that git bisect can invoke it directly
This commit is contained in:
parent
2229e66d6c
commit
010339fa05
@ -10,9 +10,11 @@
|
|||||||
# output.
|
# output.
|
||||||
#
|
#
|
||||||
##################################
|
##################################
|
||||||
import sys
|
import sys,os
|
||||||
|
|
||||||
from collections import namedtuple
|
from collections import namedtuple
|
||||||
|
regressionDir = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
os.chdir(regressionDir)
|
||||||
TestCase = namedtuple("TestCase", ['name', 'cmd', 'grepstr'])
|
TestCase = namedtuple("TestCase", ['name', 'cmd', 'grepstr'])
|
||||||
# name: the name of this test configuration (used in printing human-readable
|
# name: the name of this test configuration (used in printing human-readable
|
||||||
# output and picking logfile names)
|
# output and picking logfile names)
|
||||||
|
Loading…
Reference in New Issue
Block a user