Closed victorwang-tw closed 2 years ago
Finally, there's no setup.py file in sdbusplus/build/tools so I can't go further.
This repository supplies two different install flows for two different components.
Ninja/Meson will handle flow 1 and Python Setuptools can handle flow 2. The setuptools file exists already under tools. These two flows aren’t tied together in any way because usually you are using one or the other, and not both, on a particular compile target.
Then I run ninja test, it seems that it skips all tests.
Based on the “romulus” and “arm” in the paths of your log, it looks like you’ve sourced an SDK build script (which is fine). This means that Meson/Ninja are cross-compiling for ARM. When you run “ninja test”, it is aware that all the binaries are cross-compiled and not native and so it knows it can’t run the test executables and just “skips” them. You can’t run ARM test cases on an x86 build system.
If you want to run the test cases you need to either:
Hi, I'm new to OpenBMC. I'm trying to build sdbusplus with the commands that readme file instructs.
When I execute
ninja
command, some notes show like this. This is just one of the notes and I think this is not a problem(maybe?).Then I run
ninja test
, it seems that it skips all tests.I'm not sure if this is a problem so I continue to execute
ninja install
and I got this.Finally, there's no
setup.py
file insdbusplus/build/tools
so I can't go further.Thanks, Victor.