summaryrefslogtreecommitdiff
path: root/lib/subunit/shell
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-10-13 19:03:26 +0200
committerJelmer Vernooij <jelmer@samba.org>2011-10-13 20:37:18 +0200
commit4602ede2eab81123837642bdd75cd8969c30cca9 (patch)
tree02126078396f718ab990318b08b5c11fc98836bd /lib/subunit/shell
parent71f5f41860e678e6151b969a05729ccf2d738e35 (diff)
downloadsamba-4602ede2eab81123837642bdd75cd8969c30cca9.tar.gz
samba-4602ede2eab81123837642bdd75cd8969c30cca9.tar.bz2
samba-4602ede2eab81123837642bdd75cd8969c30cca9.zip
Update to newer version of subunit.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Oct 13 20:37:18 CEST 2011 on sn-devel-104
Diffstat (limited to 'lib/subunit/shell')
-rw-r--r--lib/subunit/shell/share/subunit.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/subunit/shell/share/subunit.sh b/lib/subunit/shell/share/subunit.sh
index 82737276b8..a532388252 100644
--- a/lib/subunit/shell/share/subunit.sh
+++ b/lib/subunit/shell/share/subunit.sh
@@ -16,12 +16,14 @@
subunit_start_test () {
# emit the current protocol start-marker for test $1
+ echo "time: `date -u '+%Y-%m-%d %H:%M:%SZ'`"
echo "test: $1"
}
subunit_pass_test () {
# emit the current protocol test passed marker for test $1
+ echo "time: `date -u '+%Y-%m-%d %H:%M:%SZ'`"
echo "success: $1"
}
@@ -31,6 +33,7 @@ subunit_fail_test () {
# the error text.
# we use stdin because the failure message can be arbitrarily long, and this
# makes it convenient to write in scripts (using <<END syntax.
+ echo "time: `date -u '+%Y-%m-%d %H:%M:%SZ'`"
echo "failure: $1 ["
cat -
echo "]"
@@ -42,6 +45,7 @@ subunit_error_test () {
# the error text.
# we use stdin because the failure message can be arbitrarily long, and this
# makes it convenient to write in scripts (using <<END syntax.
+ echo "time: `date -u '+%Y-%m-%d %H:%M:%SZ'`"
echo "error: $1 ["
cat -
echo "]"
@@ -50,6 +54,7 @@ subunit_error_test () {
subunit_skip_test () {
# emit the current protocol test skipped marker for test $1
+ echo "time: `date -u '+%Y-%m-%d %H:%M:%SZ'`"
echo "skip: $1"
}