On 18.09.20 12:32, Ross Burton wrote:
On Fri, 18 Sep 2020 at 10:50, Christian Perkonig via
lists.openembedded.org
<[email protected]> wrote:

The nativesdk-meson creates a shell wrapper which adds cross-file option to the 
meson command. This option causes problems because it is only uses for the 
setup command. If you use meson for testing like 'meson test' the cross-file 
option is discarded.

So why is this a problem for test if the option is discarded?

The problem is the syntax of the meson command. Meson is called like
  meson [COMMAND] [COMMAND_OPTIONS]
and the default command is setup. When you call 'meson test' or any other command it will be expanded to
  meson --cross-file=.... test
In this case the default command is used (setup) and test is interpreted as the build directory. It is not possible to use meson with any command when the wrapper is used.

Christian


Ross

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#142653): 
https://lists.openembedded.org/g/openembedded-core/message/142653
Mute This Topic: https://lists.openembedded.org/mt/76927520/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to