summaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorGeorge Fraser <george@fivetran.com>2019-01-09 00:24:47 -0800
committerGeorge Fraser <george@fivetran.com>2019-01-09 00:24:47 -0800
commiteba3984875c8d2161b2516de210fc2f7a7cd5924 (patch)
treea97f125da5be2200c2d4da65c606f2d7ea0eddd6 /.circleci
parent2a29930c8677b75b9c99a9cd5339f0b8009e72f4 (diff)
downloadjava-language-server-eba3984875c8d2161b2516de210fc2f7a7cd5924.zip
Use script
Diffstat (limited to '.circleci')
-rwxr-xr-x.circleci/test.sh26
1 files changed, 2 insertions, 24 deletions
diff --git a/.circleci/test.sh b/.circleci/test.sh
index b1948c3..b42b5d7 100755
--- a/.circleci/test.sh
+++ b/.circleci/test.sh
@@ -1,24 +1,2 @@
-java -cp $(cat target/cp.txt):$(pwd)/target/classes:$(pwd)/target/test-classes org.junit.runner.JUnitCore \
- org.javacs.ArtifactTest \
- org.javacs.ClassesTest \
- org.javacs.CodeLensTest \
- org.javacs.CompletionsScopesTest \
- org.javacs.CompletionsTest \
- org.javacs.DocsTest \
- org.javacs.FindReferencesTest \
- org.javacs.FormattingTest \
- org.javacs.GotoTest \
- org.javacs.InferBazelConfigTest \
- org.javacs.InferConfigTest \
- org.javacs.JavaCompilerServiceTest \
- org.javacs.ParserFixImportsTest \
- org.javacs.ParserTest \
- org.javacs.PrunerTest \
- org.javacs.PtrTest \
- org.javacs.SearchTest \
- org.javacs.SignatureHelpTest \
- org.javacs.StringSearchTest \
- org.javacs.SymbolUnderCursorTest \
- org.javacs.TipFormatterTest \
- org.javacs.lsp.LanguageServerTest \
- org.javacs.lsp.LspTest \ No newline at end of file
+FILES=`find src/test/java -name '*Test.java' | sed -e 's|^src/test/java/||' -e 's|.java$||' -e 's|/|.|g'`
+java -cp $(cat target/cp.txt):$(pwd)/target/classes:$(pwd)/target/test-classes org.junit.runner.JUnitCore $FILES \ No newline at end of file