Skip to content

Commit

Permalink
Add sed command to extract third-party library info
Browse files Browse the repository at this point in the history
  • Loading branch information
SaillantNicolas committed Aug 22, 2024
1 parent 49cb591 commit 2fad600
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Scripts/developer_scripts/run_testsuite_with_ctest
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ run_test_on_platform()
grep -e "^-- USING " "${CGAL_BINARY_DIR}/installation.log"|sort -u >> $RESULT_FILE
#Use sed to get the content of DEBUG or RELEASE CXX FLAGS so that Multiconfiguration platforms do provide their CXXXFLAGS to the testsuite page (that greps USING CXXFLAGS to get info)
sed -i -E 's/(^-- USING )(DEBUG|RELEASE) (CXXFLAGS)/\1\3/' $RESULT_FILE
sed -n '/^-- Third-party library /p' "${CGAL_BINARY_DIR}/installation.log" >> $RESULT_FILE
echo "------------" >> "$RESULT_FILE"
#if git branch, create empty scm file for python script
if [ -n "${SCRIPTS_DIR}" ]; then
Expand Down

0 comments on commit 2fad600

Please sign in to comment.