Skip to content

Commit

Permalink
Merge pull request #154 from SaillantNicolas/add-os-info-to-test-resu…
Browse files Browse the repository at this point in the history
…lts-GF

Add operating system info to test results file
  • Loading branch information
lrineau authored May 7, 2024
2 parents bcbeebf + 23893e1 commit 9850a9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions run-testsuite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ echo "TESTER ${CGAL_TESTER}" >> "$RESULT_FILE"
echo "TESTER_NAME ${CGAL_TESTER_NAME}" >> "$RESULT_FILE"
echo "TESTER_ADDRESS ${CGAL_TESTER_ADDRESS}" >> "$RESULT_FILE"
echo "CGAL_TEST_PLATFORM ${PLATFORM}" >> "$RESULT_FILE"
grep -e "^-- Operating system: " "${CGAL_TESTRESULTS}installation-${CGAL_TEST_PLATFORM}.log"|sort -u >> $RESULT_FILE
grep -e "^-- USING " "${CGAL_TESTRESULTS}installation-${CGAL_TEST_PLATFORM}.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
Expand Down

0 comments on commit 9850a9c

Please sign in to comment.