summaryrefslogtreecommitdiff
path: root/travis
diff options
context:
space:
mode:
authorMichael Stapelberg <stapelberg@users.noreply.github.com>2019-01-23 08:56:40 +0100
committerGitHub <noreply@github.com>2019-01-23 08:56:40 +0100
commita57cdc84e2f38ea99fd464d8b5b6446c769cc545 (patch)
tree48ba736e56b8212d2c3e47cce83864d798e2fa46 /travis
parent7efbeeaf6ce9232f7479f76c1c79ff73c0db49e4 (diff)
Switch to autotools (#316)
Diffstat (limited to 'travis')
-rwxr-xr-xtravis/run-tests.pl.in (renamed from travis/run-tests.pl)4
1 files changed, 2 insertions, 2 deletions
diff --git a/travis/run-tests.pl b/travis/run-tests.pl.in
index c335ff3..88727d9 100755
--- a/travis/run-tests.pl
+++ b/travis/run-tests.pl.in
@@ -15,7 +15,7 @@ sub TestCase {
}
my $conf = "$dir/i3status.conf";
- my $testres = `./i3status --run-once -c $conf`;
+ my $testres = `cd @abs_top_srcdir@ && LC_ALL=C @abs_top_builddir@/i3status --run-once -c $conf`;
my $exitcode = $?;
my $refres = "";
@@ -45,7 +45,7 @@ sub TestCase {
}
}
-my $testcases = 'testcases';
+my $testcases = '@abs_top_srcdir@/testcases';
my $testresults = 0;
opendir(my $dir, $testcases) or die "Could not open directory $testcases: $!";