Skip to content

Commit 492a029

Browse files
author
mike dupont
committed
Tarring results after each unit test
lets see how this works to reduce size and organize the data
1 parent 5928f43 commit 492a029

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Makefile

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
test:
22
docker compose build mina-local-network
3-
<<<<<<< HEAD
43
docker compose up mina-local-network
5-
=======
6-
docker compose up mina-local-network
7-
>>>>>>> db5a825c8 (Just test)

run-all-tests.sh

+4
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ do
6666
export OUTPUT_DIR3="${OUTPUT_DIR}$testname/"
6767
results=$(run_test $testname)
6868
echo $results > "${OUTPUT_DIR3}stdout.txt"
69+
tar -czvf "${OUTPUT_DIR}${testname}.tgz" "${OUTPUT_DIR3}"
70+
# remove the intermediates for space saving.
71+
rm -rf "${OUTPUT_DIR3}/"
72+
ls -latr "${OUTPUT_DIR}"
6973
done
7074

7175
tar -czf /tmp/perf.data.tar.gz /tmp/perf/*

0 commit comments

Comments
 (0)