You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
455 B
9 lines
455 B
|
2 months ago
|
$env:JAVA_HOME = "C:\Program Files\Android\openjdk\jdk-21.0.8"
|
||
|
|
$env:Path = "$env:JAVA_HOME\bin;" + $env:Path
|
||
|
|
Set-Location "C:\Users\COMPUTER1\Desktop\mobi\DCT\Android"
|
||
|
|
Stop-Process -Name java -Force -ErrorAction SilentlyContinue
|
||
|
|
Start-Sleep -Seconds 1
|
||
|
|
Remove-Item -Recurse -Force "app\build\test-results" -ErrorAction SilentlyContinue
|
||
|
|
cmd.exe /c "gradlew.bat --no-daemon testDebugUnitTest > test_output.txt 2>&1"
|
||
|
|
Get-Content "test_output.txt" -Tail 50
|