Add tests for controller fire attempt suppression and usecode interpreter functionality
- Enhanced isometric_controls_tests.cpp to include assertions for controller fire attempt suppression under various conditions. - Added tests for the Usecode interpreter in usecode_vm_tests.cpp, verifying script execution and stack manipulation. - Introduced a new PowerShell script, clean-old-build-artifacts.ps1, to facilitate the cleanup of old build artifacts in specified directories.
This commit is contained in:
parent
49a15602b6
commit
ffb1918f35
41 changed files with 3611 additions and 349 deletions
|
|
@ -30,12 +30,12 @@ call "%VCVARS%" || exit /b 2
|
|||
|
||||
cd /d "%REPO_ROOT%" || exit /b 2
|
||||
|
||||
set "BUILD_DIR=rebuild/remorse/out/build-nmake"
|
||||
cmake -S rebuild/remorse -B "%BUILD_DIR%" -G "NMake Makefiles" -DCMAKE_BUILD_TYPE="%CONFIG%" || exit /b 1
|
||||
cmake --build "%BUILD_DIR%" || exit /b 1
|
||||
ctest --test-dir "%BUILD_DIR%" --output-on-failure || exit /b 1
|
||||
set "BUILD_DIR=rebuild/remorse/out/build"
|
||||
cmake -S rebuild/remorse -B "%BUILD_DIR%" -DCMAKE_GENERATOR_INSTANCE="%VSINSTALL%" || exit /b 1
|
||||
cmake --build "%BUILD_DIR%" --config "%CONFIG%" || exit /b 1
|
||||
ctest --test-dir "%BUILD_DIR%" -C "%CONFIG%" --output-on-failure || exit /b 1
|
||||
|
||||
set "EXE=%BUILD_DIR%\remorse_rebuild.exe"
|
||||
set "EXE=%BUILD_DIR%\%CONFIG%\remorse_rebuild.exe"
|
||||
if not exist "%EXE%" (
|
||||
echo Built executable was not found at "%EXE%".
|
||||
exit /b 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue