New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
self-test problems #695
Comments
Meson is a cross-platform build system designed to be both as fast and as user friendly as possible. It supports many languages and compilers, including GCC, Clang and Visual Studio. Its build definitions are written in a simple non-turing complete DSL. TODO: Lots of self-test problems on NetBSD, see mesonbuild/meson#695
Meson captures all output during test run and writes it to files called You can also run any test yourself with these commands:
|
Ok, here are some details:
(similar for other pch tests)
I only have
These symbols are in libintl (also on OS X and some other systems).
The fortran tests fail with
|
No idea what this could be and Google is very unhelpful. Maybe something wonky with the compiler setup (pch is not used a lot, we have come across broken pch support on many platforms).
The test suite at this time expects to find an executable
Does it work if you change the
The missing dep tests should start working once you install the required deps. Though for wxwidgets we also have #639. |
Sorry for the late reply, holidays. pre-compiled headers with gcc-5.3 on NetBSD are known to be problematic (or perhaps even broken). I've added a symlink of python3.5 to python3. I don't think the tests should assume this, but test for it and just call the test scripts with the right interpreter. Changing gettext's meson.build as suggested does indeed fix the test. Now I'm down to:
Judging from your feedback I'll assume this to be basically working. Please think about handling the non-existence of python3 better. Thank you! |
This has been submitted to master.
There are a ton of Python scripts in the wild that have |
When packaging software, we override the interpreter in the shebang lines. |
We automatically convert that to use sys.executable now which is always available on all platforms (because we're running with it). On some platforms like NetBSD, `python` doesn't exist, and you must use a specific python version. On most other distros, `python` is Python 2, and we don't want to depend on that. Closes #695 All these scripts were being used as `find_program()`, so we do not lose any test coverage by doing this.
I've built meson-0.33.0 on NetBSD-7.99.35/amd64 with python-3.5.2.
When running run_tests.py, I see:
Please advice how to get more details.
I guess at least some of these are just missing dependencies.
The text was updated successfully, but these errors were encountered: