Skip to content

Commit

Permalink
Add Windows test script.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Jun 28, 2024
1 parent 986c5f0 commit d4f8dd4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,5 @@ jobs:
run: nuget restore pdfio.sln
- name: Build PDFio
run: msbuild pdfio.sln
- name: Test PDFio
run: .\runtests.bat x64\Debug
16 changes: 16 additions & 0 deletions runtests.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
:: Script to run unit test program
::
:: Usage:
::
:: .\runtests.bat x64\{Debug|Release}
::

:: Copy dependent DLLs to the named build directory
echo Copying DLLs
copy packages\zlib_native.redist.1.2.11\build\native\bin\x64\Debug\*.dll %1
copy packages\zlib_native.redist.1.2.11\build\native\bin\x64\Release\*.dll %1

:: Run unit test program
echo Running %1\testpdfio.exe
cd %1
testpdfio.exe

0 comments on commit d4f8dd4

Please sign in to comment.