Skip to content

Commit

Permalink
fix windows test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerboa-app committed Jan 24, 2024
1 parent 8c883f4 commit 31cc190
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-and-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
- name: linux-windows
run: |
./build.sh -t -r -d -w
cp build/*.dll build/TestScriptPack/
- name: Tests
working-directory: ${{github.workspace}}/build
Expand Down
2 changes: 1 addition & 1 deletion tests/regression/scriptPack/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ file(COPY "pack.scriptz" DESTINATION "${CMAKE_BINARY_DIR}/${OUTPUT_NAME}/")

if (TEST_SUITE)
if(WINDOWS)
add_test(NAME packedScripts COMMAND "/${CMAKE_BINARY_DIR}/${OUTPUT_NAME}/${OUTPUT_NAME}.exe")
add_test(NAME packedScripts COMMAND "wine64 /${CMAKE_BINARY_DIR}/${OUTPUT_NAME}/${OUTPUT_NAME}.exe")
else()
add_test(NAME packedScripts COMMAND "/${CMAKE_BINARY_DIR}/${OUTPUT_NAME}/${OUTPUT_NAME}")
endif()
Expand Down

0 comments on commit 31cc190

Please sign in to comment.