[Scons-users] MSVS tests fail on *Linux* armv7a, scons-4.0.1

Mats Wichmann mats at wichmann.us
Sun Nov 29 08:54:41 EST 2020


On 11/29/20 1:29 AM, Michał Górny wrote:
> Hello,
> 
> I've received a bug report from one of the Gentoo users that scons-4.0.1
> tests fail on his armv7a system.  The failing tests are:
> 
>    test/MSVS/vs-7.0-scc-files.py
>    test/MSVS/vs-7.0-scc-legacy-files.py
>    test/MSVS/vs-7.1-scc-files.py
>    test/MSVS/vs-7.1-scc-legacy-files.py
>    test/MSVS/vs-scc-files.py
>    test/MSVS/vs-scc-legacy-files.py
> 
> In all cases, the failure is the same, e.g.:
> 
> ---
> 606/1183 (51.23%) /usr/bin/python3.7 test/MSVS/vs-7.0-scc-files.py
> /var/tmp/portage/dev-util/scons-4.0.1/work/scons-4.0.1/scripts/scons.py returned 2
> STDOUT =========================================================================
> scons: Reading SConscript files ...
> 
> STDERR =========================================================================
> MSVCUnsupportedHostArch: Unrecognized host architecture 'armv7l':

Yeah, I know this scenario, it's a bit dodgy.  The tests are run even on 
non-Windows platforms because they don't actually use the MSVC tools 
(cl.exe, etc.) themselves, just fiddle text. But then they run into the 
WIndows-specific test for architecture strings that are correct for 
Windows, which then no longer make sense.


More information about the Scons-users mailing list