diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index a7f34986f79b267efe0667dc0936495c88ddf28b..06f8f94893f8de5399cac5ede21fb842328ebe17 100644 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -2223,6 +2223,10 @@ set +x if [[ "$line" == "" ]]; then continue fi + matchstr=$(echo $line|grep -oEi 'Test[ \t]+#') || true + if [[ "$matchstr" == "" ]]; then + continue + fi testcase=$(echo "$line"|grep -oEi "\w+$") if [[ "$single_card_tests" == "" ]]; then single_card_tests="^$testcase$"