Open pfilipko1 opened 1 year ago
The failure is in the gprofiler_exe()
fixture which builds the exe. This needn't happen in every test, and in any case not related to the test itself.
Can you try running those failing tests with --executable /path/to/gprofiler/exe
flag? This way, the fixture is skipped and the test uses the given exe.
Also - you can do it in the same PR - the fixture uses old code to build the exe (pyinstaller + staticx). The pyi.Dockerfile
is more complex and runs other logic + checks when invoking pyinstaller and staticx. Let's remove that logic from gprofiler_exe
- that is, REQUIRE receiving the precompiled = request.config.getoption("--executable")
, instead of checking whether it's None or not, assert it's not None.
Failing tests:
Example output