Skip to content

Commit

Permalink
GNUmakefile: Fix test target in current Wine.
Browse files Browse the repository at this point in the history
  • Loading branch information
Esme Povirk committed Oct 14, 2023
1 parent 8aaa432 commit 424d99a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@
/System.Speech/src/ExceptionStringTable.resources
/System.Speech/src/System.Speech.dll
/System.Speech/src/embeddedresources.flags
/test-output.txt
4 changes: 3 additions & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,9 @@ clean: clean-tests
test: tests image
WINEPREFIX=$(BUILDDIR_ABS)/.wine-test-prefix $(WINE) reg add 'HKCU\Software\Wine\WineDbg' /v ShowCrashDialog /t REG_DWORD /d 0 /f
WINEPREFIX=$(BUILDDIR_ABS)/.wine-test-prefix $(MAKE) dev-setup
WINEPREFIX=$(BUILDDIR_ABS)/.wine-test-prefix $(WINE) explorer /desktop=wine-mono-test '$(shell $(WINE) winepath -w $(TESTS_OUTDIR)/run-tests.exe)'
$(RM_F) test-output.txt
WINEPREFIX=$(BUILDDIR_ABS)/.wine-test-prefix $(WINE) explorer /desktop=wine-mono-test cmd /c '$(shell $(WINE) winepath -w $(TESTS_OUTDIR)/run-tests.exe) >test-output.txt 2>&1'
! grep -q 'The following tests failed but were not in fail-list:' test-output.txt

clean-build-test-prefix:
-WINEPREFIX=$(BUILDDIR_ABS)/.wine-test-prefix wineserver -k
Expand Down

0 comments on commit 424d99a

Please sign in to comment.