geek
GNU Xnee auto coverage is almost there … but
Sunday, November 9th, 2008 | Free Software, GNU, GNU Xnee, Software, geek | No Comments
No, don’t check in CVS. Everything is not there yet. Why did I post then? … b’cuz I wanted to.
Anyhow. The gnulib is now integrated in GNU Xnee’s autotools Makefiles. Well, part of gnulib to be more precise. I wrote a small script that does everything needed (this is missing in CVS at the moment).
When having produced the coverage reports (currently here) I realise that about 80% of the test will not be possible to automate.
Since GNU Xnee itself is a tool to record and fake user actions under X11 it would be sub optimal to use a similar tool (using RECORD and XTest extensions). Instead GNU Xnee relies in swinput for testnig. Swinput is a small kernel (linux) module that opens up two devices (/dev/swmouse and /dev/swkeybd) and using these you can fake user input from kernel. When testing replaying we use a small program (GNU Xnee sources) called xgetter which can read the mouse pos and some other stuff. ….. get on with it. Ok, sorry!
It’s impossible to test GNU Xnee using swinput under Xvfb since the faked keyboard strokes and mouse actions will be ‘written’ to the console or some sort of DM (GDM, XDM, KDM,….).
Too bad …. need to think some more.
GNU Xnee and automated code coverage
Saturday, November 8th, 2008 | Free Software, GNU, GNU Xnee, Software, geek | No Comments
Have been looking in to some work done by Simon Josefsson. GNU Xnee can now do automated code coverage. Will integrate a bit better before I put it up on the new build machines I am setting up (one GNU x86 & one GNU PPC). GNU Xnee will report something like: http://www.gnu.org/software/libidn/coverage/lib/gltests/test-c-ctype.c.gcov.frameset.html
I need to make sure that the test scripts work with Xvfb. I’ve only been executing them in a ‘normal’ X server. But since the building of Xnee documentation works fine in Xvfb it should be ok. And for those interested, Xnee builds eps, ps, pdf, jpg images from dia graphics using dia who needs an X server. And yes Xnee uses some other tools as well for that.
Nice way to spend your Saturday night, isn’t it
More on function pointers
Saturday, November 8th, 2008 | Free Software, Software, geek | No Comments
Wrote a small follow up, More on function pointers, to the article on functions pointers.
Will continue to write on plugins asap.
Texinfo woes
Thursday, November 6th, 2008 | Free Software, GNU, GNU Xnee, Software, geek | No Comments
This is something you don’t want to see 10 minutes before South Park starts
(./xnee.texi (./texinfo.tex Loading texinfo [version 2005-07-05.19]: Basics, .... /usr/bin/texi2dvi: pdfetex exited with bad status, quitting. make[2]: *** [xnee.pdf] Error 1 make[2]: Leaving directory `/home/hesa/gnu/xnee/doc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/hesa/gnu/xnee' make: *** [all] Error 2 ..... another thing to ponder upon is why I bother to write about it and don't solve it.
hesa / identi.ca
- hesa: @andreasn Njaej. Kanske verkligheten? Dario Fo 'Fladdermössens by'. Annars säger jag alltid Umberto Eco.
- hesa: @fauno Ask Johan him self: http://www.sociology.gu.se/english/Contact/Staff_A-O/Soderberg_Johan/
- hesa: Very seldom I remove the cables from power cuz bad weather. Tonite I have. Wish I could measure the Lumen and Decibel. Thunder and lightning
Me elsewhere ..
Pages
Links
Categories
- Blogroll (1)
- book (8)
- Coffee (1)
- Copyright (3)
- Copyleft (2)
- datum (2)
- Education (5)
- English (2)
- event (48)
- conference (36)
- Food (1)
- Bread (1)
- Map (1)
- Music (9)
- Musik (16)
- Personal (13)
- Politics (2)
- politik (5)
- Religion (2)
- Software (145)
- Sport (6)
- Stupidities (2)
- Svenska (3)
- Translation (3)
- Uncategorized (18)
![[FSFe Fellow]](http://www.rejas.se/images/fsfe_fellow_badge_small.png)
