Add scm-branch content to reports.

This commit is contained in:
Maxime Gimeno
2019-04-25 10:30:18 +02:00
parent a171be76a4
commit 00c0e4e85a
2 changed files with 10 additions and 2 deletions
@@ -324,8 +324,14 @@ run_test_on_platform()
cat "${CGAL_BINARY_DIR}/package_installation.log" >> "Installation/${TEST_REPORT}"
#call the python script to complete the results report.
#if git branch, create empty scm file for python script
if [ -n "${SCRIPTS_DIR}" ]; then
touch ../../../../../.scm-branch
fi
python3 ${CGAL_DIR}/${TESTSUITE_DIR}test/get_deactivated_packages_info.py Installation/${TEST_REPORT} ${TEST_REPORT} results_${CGAL_TESTER}_${PLATFORM}.txt
if [ -n "${SCRIPTS_DIR}" ]; then
rm ../../../../../.scm-branch
fi
rm -f $OUTPUT_FILE $OUTPUT_FILE.gz
tar cf $OUTPUT_FILE results_${CGAL_TESTER}_${PLATFORM}.txt */"$TEST_REPORT"
echo