attempt to make regression-wally.py more path-independent such that git bisect can invoke it directly

This commit is contained in:
bbracker 2021-12-07 11:16:43 -08:00
parent 2229e66d6c
commit 010339fa05

View File

@ -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)