lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 3999601b 2/5: Specify .exe extension with pat


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 3999601b 2/5: Specify .exe extension with paths passed to Wine
Date: Mon, 13 Jun 2022 09:57:21 -0400 (EDT)

branch: master
commit 3999601b722960976f61b3b60f23765e7f7189b8
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Specify .exe extension with paths passed to Wine
    
    Since Wine 7, full paths to the executables without any extension don't
    work any longer and result in a cryptic error message of the form
    
            wine: failed to open "/full/path/to/program": c0000135
    
    So use the extension when running the unit tests: this is harmless for
    all Wine versions (and was already done for e.g. test_coding_rules
    before), and is required with Wine 7.
---
 .github/workflows/ci.yml | 2 +-
 workhorse.make           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c8093379..f87c4bd4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -386,4 +386,4 @@ jobs:
         if: matrix.mingw
         run: |
             . ./set_toolchain.sh
-            $PERFORM /opt/lmi/bin/wx_test --ash_nazg --data_path=/opt/lmi/data
+            $PERFORM /opt/lmi/bin/wx_test.exe --ash_nazg 
--data_path=/opt/lmi/data
diff --git a/workhorse.make b/workhorse.make
index da979e72..469f8968 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -1384,7 +1384,7 @@ run_unit_tests: unit_tests_not_built $(addsuffix 
-run,$(unit_test_binaries))
 .PHONY: %$(EXEEXT)-run
 %$(EXEEXT)-run:
        @printf '\n%s\n' "Running $*:"
-       @-$(PERFORM) ./$* --accept
+       @-$(PERFORM) ./$*$(EXEEXT) --accept
 
 
################################################################################
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]