Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
treefrogframework committed Nov 22, 2024
1 parent 7ef044b commit a07bc38
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions tools/test/releasetest/releasetest.bat
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,20 @@ if "%MAKE%" == "" (
echo;
echo nmake.exe not found.
call :CleanUp
pause
exit /B 1
)

if "%QMAKE%" == "" (
echo;
echo qmake.exe command not found.
call :CleanUp
pause
exit /B 1
)

if "%CMAKE%" == "" (
echo;
echo cmake.exe command not found.
call :CleanUp
exit /B 1
)

Expand All @@ -60,7 +65,6 @@ if "%SQLITE%" == "" (
echo;
echo sqlite.exe command not found.
call :CleanUp
pause
exit /B 1
)
"%SQLITE%" %DBFILE% < create_blog_table.sql
Expand All @@ -69,10 +73,10 @@ cd %APPDIR%
echo n | tspawn s blog
tspawn w foo

@REM :: Set ExecutionPolicy
:: Set ExecutionPolicy
@REM for %%I in (tadpoled.exe) do if exist %%~$path:I set TADPOLED=%%~$path:I
@REM for %%I in (tadpole.exe) do if exist %%~$path:I set TADPOLE=%%~$path:I
@REM powershell -Command "Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser -Force"
powershell -Command "Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser -Force"
@REM powershell -command "New-NetFirewallRule -DisplayName MyAppAccess1 -Direction Inbound -Action Allow -Profile Public,Private -Program '%TADPOLED%' -Protocol TCP -LocalPort %PORT% -RemoteAddress 127.0.0.1" >nul 2>&1
@REM powershell -command "New-NetFirewallRule -DisplayName MyAppAccess2 -Direction Inbound -Action Allow -Profile Public,Private -Program '%TADPOLE%' -Protocol TCP -LocalPort %PORT% -RemoteAddress 127.0.0.1" >nul 2>&1

Expand Down Expand Up @@ -206,6 +210,7 @@ if not "%RESCODE%"=="200" (
exit /B 1
)
echo HTTP request success "%URL%"

exit /B 0

::
Expand Down

0 comments on commit a07bc38

Please sign in to comment.