testing
This commit is contained in:
parent
71677e1d97
commit
2d152ce12f
1 changed files with 5 additions and 1 deletions
|
|
@ -19,7 +19,11 @@ sh ./clearing_testing_utils/clearing-tester/clearing-tester.sh
|
||||||
if [ -n "$CLR_TEST_NAME" ] && [ -d "./bin/log" ]; then
|
if [ -n "$CLR_TEST_NAME" ] && [ -d "./bin/log" ]; then
|
||||||
echo "Copying logs to ./bin/log/${CLR_TEST_NAME}"
|
echo "Copying logs to ./bin/log/${CLR_TEST_NAME}"
|
||||||
mkdir -p "./bin/log/${CLR_TEST_NAME}"
|
mkdir -p "./bin/log/${CLR_TEST_NAME}"
|
||||||
rsync -av --exclude="${CLR_TEST_NAME}" "./bin/log/" "./bin/log/${CLR_TEST_NAME}/"
|
# Copy all contents from ./bin/log to tmp dir
|
||||||
|
mkdir -p "./bin/log_artifact"
|
||||||
|
cp -a ./bin/log/. "./bin/log_artifact/"
|
||||||
|
# Move the copied logs into the desired location
|
||||||
|
mv "./bin/log_artifact" "./bin/log/${CLR_TEST_NAME}"
|
||||||
else
|
else
|
||||||
echo "CLR_TEST_NAME is not set or ./bin/log does not exist. Skipping log copy."
|
echo "CLR_TEST_NAME is not set or ./bin/log does not exist. Skipping log copy."
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue