summaryrefslogtreecommitdiff
path: root/util/cbmem/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/cbmem/Makefile')
-rw-r--r--util/cbmem/Makefile19
1 files changed, 1 insertions, 18 deletions
diff --git a/util/cbmem/Makefile b/util/cbmem/Makefile
index 91bb0456fb..41079b01bb 100644
--- a/util/cbmem/Makefile
+++ b/util/cbmem/Makefile
@@ -31,7 +31,7 @@ all: $(PROGRAM)
$(PROGRAM): $(OBJS)
clean:
- rm -f $(PROGRAM) *.o *~
+ rm -f $(PROGRAM) *.o *~ junit.xml
distclean: clean
rm -f .dependencies
@@ -43,20 +43,3 @@ distclean: clean
-include .dependencies
-junit.xml:
- echo '<?xml version="1.0" encoding="utf-8"?><testsuite>' > $@.tmp
- $(MAKE) clean; \
- echo "<testcase classname='cbmem' name='cbmem'>" >> $@.tmp; \
- $(MAKE) >> $@.tmp.2 2>&1 && type="system-out" || type="failure"; \
- if [ $$type = "failure" ]; then \
- echo "<failure type='buildFailed'>" >> $@.tmp; \
- else \
- echo "<$$type>" >> $@.tmp; \
- fi; \
- echo '<![CDATA[' >> $@.tmp; \
- cat $@.tmp.2 >> $@.tmp; \
- echo "]]></$$type>" >>$@.tmp; \
- rm -f $@.tmp.2; \
- echo "</testcase>" >> $@.tmp; \
- echo "</testsuite>" >> $@.tmp
- mv $@.tmp $@