From 781db2625c502d4359924109e2d5026f50ec4b37 Mon Sep 17 00:00:00 2001 From: huiyang Date: Fri, 17 Nov 2023 14:45:11 -0600 Subject: [PATCH] Optimize the script --- auto-run-nondex/runNondex.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto-run-nondex/runNondex.sh b/auto-run-nondex/runNondex.sh index 62d4a6c93..3df7588de 100755 --- a/auto-run-nondex/runNondex.sh +++ b/auto-run-nondex/runNondex.sh @@ -16,7 +16,7 @@ runNondex () { input="modnames" while IFS= read -r line do - mvn edu.illinois:nondex-maven-plugin:$nondex_version:nondex -pl :$line -Dlicense.skip=true | tee ./.runNondex/LOGSSS/$line.log + mvn edu.illinois:nondex-maven-plugin:$nondex_version:nondex -pl :$line -Dlicense.skip=true -Drat.skip=true -DlicenseCheck.numUnapprovedLicenses=99999 -fae | tee ./.runNondex/LOGSSS/$line.log done < "$input" grep -rnil "There are test failures" ./.runNondex/LOGSSS/* | tee ./.runNondex/LOGresult input=".runNondex/LOGresult"