Comments (5)
It would be nice, if i could simply turn these off by a meson switch.?
I reckon we'll eventually end up with enable-tests
and run-tests
meson options :) Because that happens with all other projects that have this requirement - on some systems building the tests isn't needed/wanted (usually on constrained systems) and on others building is wanted but running them isn't.
Do feel free to submit a PR though :)
from libxkbcommon.
Thank you for the invitation to state a PR. Right now I have the feeling of having already too many projects. Lets see if I find the time …
from libxkbcommon.
Hmm is the tests don't build when cross-compiling then that should be fixed I think? Compiling tests is no different from compiling the lib.
What are the errors compiling the tests?
they would not run on the build-host (linux) since the target-system is windows.
This is the reality in every cross-compiling scenario. The solution is to just not run the tests :) Or am I missing something?
from libxkbcommon.
;-) The point is that there is no switch to turn the test off. (Half a year ago)
Or I have not found it.
I had to change the meson.build script for that. Which is fine unless I intend to regularly pull updates and have to update the build scrip every time.
Andreas
from libxkbcommon.
Example from other libraries:
meson setup . builddir --cross-file ../../cross_file.txt -Dprefix=${PREFIX} \
-Dwin32-backend=true -Dx11-backend=false -Dwayland-backend=false
from libxkbcommon.
Related Issues (20)
- rxkb_layout_get_description does not have i18n HOT 3
- Why does xkb_state_serialize_mods and XKB_STATE_LOCKED not update when unlocked until the next keystroke? HOT 2
- Segfault in entry_is_active (entry=0x1010000000f) at ../src/state.c:127 HOT 1
- Thread safety HOT 2
- [Question] Get xkb_keycode_t from xkb_keysym_t HOT 2
- File reference not up to date? HOT 1
- RMLVO model symbols only inherited by first layout HOT 3
- crosscompile xkbcommon on linux for windows (1/2) HOT 3
- xkb_keymap_new_from_buffer does not allow terminating null bytes HOT 2
- Make a XKB_CONTEXT_YES_DEFAULT_INCLUDES flag? HOT 4
- suggestion: allow xkb_state_update_mask() to accept negative groups to unlock group wrapping functionality HOT 9
- can't add more than 4 layouts to the keymap HOT 2
- Allow multiple characters/code points from one keypress HOT 10
- libxkbcommon missing libX11 locale files on wayland-only systems HOT 3
- github pages job? HOT 4
- executables have "@rpath" linkages to libraries HOT 1
- Just variant in RMLVO does nothing HOT 4
- Ensure documentation pages have stable URLs
- Increase PointerButton button id limit HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libxkbcommon.