Skip to contentSkip to conversation

dev-mornfall-lvmcache - tests: collect all test results in files

PATCH Petr Rockai 1 participant 1 message Jun 5, 2013

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=65a0650135bef9bae9ce3a168e9ab2a8d9b70673
Commit:        65a0650135bef9bae9ce3a168e9ab2a8d9b70673
Parent:        7c89cbf03a15fe30de520d50c214cd3878518e45
Author:        Petr Rockai <[email protected]>
AuthorDate:    Mon May 27 04:26:33 2013 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Sun Jun 2 00:50:09 2013 +0200

tests: collect all test results in files

Use files for later processing with suffix .txt
to avoid mime type confusion.

---
 test/Makefile.in   |    1 +
 test/lib/harness.c |   53 ++++++++++++++++++++++++++++++++++++++-------------
 2 files changed, 40 insertions(+), 14 deletions(-)
test/Makefile.in +1 -0
index 938dc1d..1bd1dbd 100644
@@ -122,6 +122,7 @@ CMDS = lvm $(shell cat $(top_builddir)/tools/.commands)
 			ln -sf $(abs_top_srcdir)/test/$$f $$f; \
 		done; \
 	fi
+	mkdir -p results
 	touch $@
 
 .lib-dir-stamp:
test/lib/harness.c +39 -14

114 lines not on this page · raw message