From b579d9bd3c0ec5e60427360844b9f21d6f5ec73f Mon Sep 17 00:00:00 2001 From: Maxime Gimeno Date: Mon, 9 Aug 2021 14:16:50 +0200 Subject: [PATCH 1/3] Remove the platforms before starting the filter testsuite --- Scripts/developer_scripts/run_testsuite_from_branch_name.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Scripts/developer_scripts/run_testsuite_from_branch_name.sh b/Scripts/developer_scripts/run_testsuite_from_branch_name.sh index b5ce2554e680..be40a4b3deae 100644 --- a/Scripts/developer_scripts/run_testsuite_from_branch_name.sh +++ b/Scripts/developer_scripts/run_testsuite_from_branch_name.sh @@ -63,6 +63,9 @@ cd ${CGAL_ROOT} if [ -L CGAL-I ]; then rm CGAL-I; fi ln -s $PWD/CGAL-TEST/$DEST CGAL-I +if [ -d CGAL-I/cmake/platforms ]; then + rm -rf CGAL-I/cmake/platforms/* +fi echo "starting testsuite..." ./autotest_cgal -c From 4ceb5fbb1f9706a1a3c07f260549c9ef5fffedb6 Mon Sep 17 00:00:00 2001 From: Maxime Gimeno Date: Mon, 9 Aug 2021 15:19:12 +0200 Subject: [PATCH 2/3] filter diff --- Scripts/developer_scripts/run_testsuite_from_branch_name.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/developer_scripts/run_testsuite_from_branch_name.sh b/Scripts/developer_scripts/run_testsuite_from_branch_name.sh index be40a4b3deae..ca19d91d43f0 100644 --- a/Scripts/developer_scripts/run_testsuite_from_branch_name.sh +++ b/Scripts/developer_scripts/run_testsuite_from_branch_name.sh @@ -33,7 +33,7 @@ git fetch $USER_REPO git checkout $BRANCH_NAME git reset --hard $USER_REPO/$BRANCH_NAME #setup the list_test_packages -TMP_LIST=$(git diff --name-only cgal/$BASE_NAME...HEAD |cut -s -d/ -f1 |sort -u | xargs -I {} ls -d {}/package_info 2>/dev/null |cut -d/ -f1 |egrep -v Installation||true) +TMP_LIST=$(git diff --name-only cgal/$BASE_NAME...HEAD |egrep -v /doc |egrep "*\.h"\|"*\.cpp" |cut -s -d/ -f1 |sort -u | xargs -I {} ls -d {}/package_info 2>/dev/null |cut -d/ -f1 |egrep -v Installation||true) LIST_OF_PKGS="" for PKG in $(ls) ; do From 5c608f0c83f158b223502585fdb1a239bc851834 Mon Sep 17 00:00:00 2001 From: Maxime Gimeno Date: Mon, 9 Aug 2021 15:40:13 +0200 Subject: [PATCH 3/3] FIx repetition operator for mac. --- Scripts/developer_scripts/run_testsuite_from_branch_name.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/developer_scripts/run_testsuite_from_branch_name.sh b/Scripts/developer_scripts/run_testsuite_from_branch_name.sh index ca19d91d43f0..33801202328a 100644 --- a/Scripts/developer_scripts/run_testsuite_from_branch_name.sh +++ b/Scripts/developer_scripts/run_testsuite_from_branch_name.sh @@ -33,7 +33,7 @@ git fetch $USER_REPO git checkout $BRANCH_NAME git reset --hard $USER_REPO/$BRANCH_NAME #setup the list_test_packages -TMP_LIST=$(git diff --name-only cgal/$BASE_NAME...HEAD |egrep -v /doc |egrep "*\.h"\|"*\.cpp" |cut -s -d/ -f1 |sort -u | xargs -I {} ls -d {}/package_info 2>/dev/null |cut -d/ -f1 |egrep -v Installation||true) +TMP_LIST=$(git diff --name-only cgal/$BASE_NAME...HEAD |egrep -v /doc |egrep "\.h"\|"\.cpp" |cut -s -d/ -f1 |sort -u | xargs -I {} ls -d {}/package_info 2>/dev/null |cut -d/ -f1 |egrep -v Installation||true) LIST_OF_PKGS="" for PKG in $(ls) ; do