-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
101 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ name: test | |
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
@echo off | ||
|
||
@rem HSPインストールフォルダを取得する | ||
if "%1"=="" ( | ||
for /D %%a in (C:\hsp3*) do ( | ||
set hsp_dir=%%a | ||
) | ||
) else ( | ||
if not exist "%1" ( | ||
echo %1 :フォルダが見つかりません | ||
pause | ||
exit /B 1 | ||
) | ||
set hsp_dir=%1 | ||
) | ||
|
||
@rem インストールフォルダを取得できなかったらエラー表示して終了 | ||
if not defined hsp_dir ( | ||
echo HSP3のインストールフォルダが見つかりませんでした。 | ||
echo このバッチファイルの引数にHSP3のインストールフォルダのパスを入力してください。 | ||
echo 例)> install.bat C:\hsp36 | ||
pause | ||
exit /B 1 | ||
) | ||
|
||
@rem hsptestのインストールを開始する | ||
echo %hsp_dir%にhsptestのインストールを開始します。 | ||
copy /Y hsptest.exe %hsp_dir% | ||
copy /Y common\* %hsp_dir%\common | ||
|
||
if %ERRORLEVEL% neq 0 ( | ||
echo hsptestのインストールに失敗しました。 | ||
pause | ||
exit /B 1 | ||
) | ||
|
||
echo hsptestのインストールが完了しました。 | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
@echo off | ||
|
||
@rem 注意1:このバッチファイルはテストスクリプト(test_***.hsp)が含まれているフォルダに配置してください。 | ||
|
||
@rem 注意2:このバッチファイルはC:\hsp3*フォルダにHSP3がインストールされていることを想定して書かれてあります。 | ||
@rem C:\hsp3*以外の場所にHSP3をインストールしている場合、以下の変数にインストールフォルダへのパスを代入してください。 | ||
set hsp_dir= | ||
|
||
@rem Cドライブ直下からHSPインストールフォルダを探す | ||
if not defined hsp_dir ( | ||
for /D %%a in (C:\hsp3*) do ( | ||
set hsp_dir=%%a | ||
) | ||
) | ||
|
||
@rem インストールフォルダを取得できなかったらエラー表示して終了 | ||
if not defined hsp_dir ( | ||
echo HSP3のインストールフォルダが見つかりませんでした。 | ||
echo %0をメモ帳などのエディタで開き、7行目のhsp_dir変数に、ご自分のPCのHSP3インストールフォルダへのパスを書き込んでください。 | ||
echo 例)set hsp_dir=%USERPROFILE%\hsp36 | ||
pause | ||
exit /B 1 | ||
) | ||
|
||
@rem hsptest実行 | ||
%hsp_dir%\hsptest.exe -v -l hsptest_log.txt -s | ||
|
||
pause |