From 05f422268a611949e1d809f335fb36acbf67ddc1 Mon Sep 17 00:00:00 2001 From: Eric Vergnaud Date: Sun, 24 Jan 2021 18:08:34 +0800 Subject: [PATCH] drop unused script --- .github/scripts/run-tests-java.sh | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100755 .github/scripts/run-tests-java.sh diff --git a/.github/scripts/run-tests-java.sh b/.github/scripts/run-tests-java.sh deleted file mode 100755 index f076fc3dc..000000000 --- a/.github/scripts/run-tests-java.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash - -set -euo pipefail - -if [ -z "${JAVA_HOME-}" ] -then - export JAVA_HOME="$(java -XshowSettings:properties -version 2>&1 | - grep 'java\.home' | awk '{ print $3 }')" - echo "export JAVA_HOME=$JAVA_HOME" -fi - -# run java tests -cd runtime-testsuite/ - -if [ $GROUP == "LEXER" ]; then - mvn -X -e -q -Dgroups="org.antlr.v4.test.runtime.category.LexerTests" -Dtest="swift.*" test -elif [ $GROUP == "PARSER" ]; then - mvn -q -Dgroups="org.antlr.v4.test.runtime.category.ParserTests" -Dtest="swift.*" test -elif [ $GROUP == "RECURSION" ]; then - mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LeftRecursionTests" -Dtest="swift.*" test -else - mvn -q -Dtest="java.*" test -fi -rc=$? -cat target/surefire-reports/*.dumpstream || true -exit $rc