#!/bin/bash

set -e

echo
echo "========================================"
echo "Packing results"
echo "----------------------------------------"
date
cd build
find -name "*result*.xml" \
    -o -name "*sponge_log.xml" \
    -o -name "pack.log" \
    -o -name "place.log" \
    -o -name "route.log" \
    -o -name "*_qor.csv" \
    | xargs tar -cvf ../results.tar
cd ..
rm -r build
mkdir build
cd build
tar -xf ../results.tar
rm ../results.tar

#!/bin/bash

set -e

echo
echo "========================================"
echo "Packing results"
echo "----------------------------------------"
date
cd build
find -name "*result*.xml" \
    -o -name "*sponge_log.xml" \
    -o -name ".ninja_log" \
    -o -name "pack.log" \
    -o -name "place.log" \
    -o -name "route.log" \
    -o -name "*_qor.csv" \
    | xargs tar -cvf ../results.tar
cd ..
rm -r build
mkdir build
cd build
tar -xf ../results.tar
rm ../results.tar

Add ninja runtime data to collected data.
Add ninja runtime data to collected data.

Signed-off-by: Keith Rothman <1bc19627a439baf17510dc2d0b2d250c96d445a5@users.noreply.github.com>
