fix(uti): Fixing broken code part II
[csit.git] / resources / libraries / bash / function / per_patch.sh
index 4af3302..d48295d 100644 (file)
@@ -37,7 +37,9 @@ function archive_test_results () {
     cd "${VPP_DIR}" || die "Change directory command failed."
     TARGET="$(readlink -f "$1")"
     mkdir -p "${TARGET}" || die "Directory creation failed."
-    for filename in "output.xml" "log.html" "report.html"; do
+    file_list=("output.xml" "log.html" "report.html")
+    file_list+=("tests" "tests_output_raw.tar.gz")
+    for filename in "${file_list[@]}"; do
         mv "${ARCHIVE_DIR}/${filename}" "${TARGET}/${filename}" || {
             die "Attempt to move '${filename}' failed."
         }