Nir Soffer has uploaded a new change for review.

Change subject: automation: Keep xunit report
......................................................................

automation: Keep xunit report

Will squash into the previous patch if this works.

Change-Id: Ia6eaed1a42e67059e457969d785e70b08efb5f2f
Signed-off-by: Nir Soffer <[email protected]>
---
M automation/build-artifacts.sh
M automation/check-patch.sh
2 files changed, 7 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/43/46643/1

diff --git a/automation/build-artifacts.sh b/automation/build-artifacts.sh
index 95bd421..d72c4b3 100755
--- a/automation/build-artifacts.sh
+++ b/automation/build-artifacts.sh
@@ -4,8 +4,6 @@
 
 # prepare env
 BUILDS=$PWD/rpmbuild
-EXPORTS=$PWD/exported-artifacts
-mkdir -p "$EXPORTS"
 
 # autogen may already have been executed by check-patch.sh
 if [ ! -f Makefile ]; then
@@ -18,8 +16,8 @@
 
 find "$BUILDS" \
     -iname \*.rpm \
-    -exec mv {} "$EXPORTS/" \;
+    -exec mv {} "$EXPORTED_ARTIFACTS/" \;
 find "$PWD" \
     -maxdepth 1 \
     -iname vdsm\*.tar.gz \
-    -exec mv {} "$EXPORTS/" \;
+    -exec mv {} "$EXPORTED_ARTIFACTS/" \;
diff --git a/automation/check-patch.sh b/automation/check-patch.sh
index 192a35a..689c5b8 100755
--- a/automation/check-patch.sh
+++ b/automation/check-patch.sh
@@ -2,9 +2,14 @@
 
 set -xe
 
+export EXPORTED_ARTIFACTS=$PWD/exported-artifacts
+mkdir -p "$EXPORTED_ARTIFACTS"
+
 ./autogen.sh --system --enable-hooks
 make check NOSE_WITH_XUNIT=1
 
+mv "$PWD/tests/nosetests.xml" "$EXPORTED_ARTIFACTS"
+
 ./automation/build-artifacts.sh
 
 # if specfile was changed, try to install all created packages


-- 
To view, visit https://gerrit.ovirt.org/46643
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia6eaed1a42e67059e457969d785e70b08efb5f2f
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: David Caro <[email protected]>
Gerrit-Reviewer: Nir Soffer <[email protected]>
Gerrit-Reviewer: [email protected]
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to