WIP: bug/2719 libkcal tests #17
Closed
deloptes
wants to merge 1 commits from bug/2719/libkcaltests
into master
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'bug/2719/libkcaltests'
Deleting a branch is permanent. It CANNOT be undone. Continue?
I basically move bug#2719 here to discuss and follow up.
I used tde_add_check_executable and tests are build and run only if make check is used. However tde_add_check_executable seems does not support DEPENDS and I could not find out how I can add the custom commands to the check target. I used custom target, which I unfortunately had to add to ALL. If you have better way, let me know.
@SlavekB tests are still failing as you noticed in bugzilla. This needs closer look.
I have also additional problem, because the tests use DCOP and I run the build in non-GUI env. I am not sure what is the proper way to run the tests.
It looks like the tests need closer investigation.
Subsequently tests can be run with "make test" as pointed out by Fat-Zer here: http://trinity-devel.pearsoncomputing.net/?0::15130
And this is an example
Will be working on this Emanoil. Should have something ready in the next few days...
Will be working on this Emanoil. Should have something ready in the next few days...
Thanks! I am under water at the moment and can not spend any time, but let me know if you have something to add.
Especially the test.sh script emerged from the previous scripts inherited by the past - it is not nice, but a rewrite seemed to be time consuming.
I have prepared a new patch that does not require the test.sh script nor the libkcaltests target. It also takes care of the zoneinfo thing properly. I will create separate PR for that soon.
Closed and replaced by #18.