Files
openide/tests.cmd
Dmitriy.Panov 3272dbd9a6 build scripts: an option to override preconfigured compilation options in tests.cmd
IJI-2080

GitOrigin-RevId: fd546a2e27453d3d9387ca77fc437ce3c3356593
2025-01-24 21:42:12 +00:00

17 lines
762 B
Batchfile
Executable File

:<<"::CMDLITERAL"
@ECHO OFF
GOTO :CMDSCRIPT
::CMDLITERAL
# tests.cmd builds and runs IDEA Community tests in way suitable for calling from CI/CD like TeamCity
# THIS SCRIPTS WORKS FOR ALL SYSTEMS Linux/Windows/macOS
# See README.md for usage scenarios
set -eux
root="$(cd "$(dirname "$0")"; pwd)"
exec "$root/platform/jps-bootstrap/jps-bootstrap.sh" -Dintellij.build.incremental.compilation=true -Dintellij.build.use.compiled.classes=false "$@" "$root" intellij.idea.community.build CommunityRunTestsBuildTarget
:CMDSCRIPT
call "%~dp0\platform\jps-bootstrap\jps-bootstrap.cmd" -Dintellij.build.incremental.compilation=true -Dintellij.build.use.compiled.classes=false %* "%~dp0." intellij.idea.community.build CommunityRunTestsBuildTarget
EXIT /B %ERRORLEVEL%