testsuite: use relative paths, set PATH to absolute path
This approach works better with autotools, which supports the build directory being complete outside the source tree.
This commit is contained in:
@ -25,7 +25,7 @@ sub parser_calls {
|
||||
|
||||
# TODO: use a timeout, so that we can error out if it doesn’t terminate
|
||||
# TODO: better way of passing arguments
|
||||
my $stdout = qx(../test.commands_parser '$command' 2>&1 >&-);
|
||||
my $stdout = qx(test.commands_parser '$command' 2>&1 >&-);
|
||||
|
||||
# Filter out all debugging output.
|
||||
my @lines = split("\n", $stdout);
|
||||
|
Reference in New Issue
Block a user