[libepc] test-runner.sh: Log output: Use the testname.log, instead of /bin/err.log
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libepc] test-runner.sh: Log output: Use the testname.log, instead of /bin/err.log
- Date: Wed, 28 Oct 2015 09:05:00 +0000 (UTC)
commit e22f788a04c93f6c0b9bdf5e54d4ad6ddab55434
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Oct 28 10:02:23 2015 +0100
test-runner.sh: Log output: Use the testname.log, instead of /bin/err.log
By using $2 instead of $1. Something about my current system seems to
cause bash to be the $1 (the actual program that has taken the other args)
instead of the test. I don't know what has actually changed in autotools.
Obviously this is very fragile and should be fixed properly.
tests/test-runner.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/test-runner.sh b/tests/test-runner.sh
index b79c899..ac338a9 100755
--- a/tests/test-runner.sh
+++ b/tests/test-runner.sh
@@ -27,7 +27,7 @@ default_system_bus_address=$(pkg-config dbus-1 --variable=system_bus_default_add
EPC_DEBUG="${EPC_DEBUG:-1}" G_DEBUG="${G_DEBUG:-fatal-warnings}" \
DBUS_SYSTEM_BUS_ADDRESS="${DBUS_SYSTEM_BUS_ADDRESS:-${default_system_bus_address}}" \
-"$@" 2> "$1.err" > "$1.out"
+"$@" 2> "$2.err" > "$2.out"
result=$?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]