Haiku

Add a TEST function to 10 Haikuports recipes

Haikuporter is our tool to fetch, patch and build source code and create Haiku packages that can then be put into a repository to be installed by the user via HaikuDepot.

The Makefile of many projects include a special target, often called "check" or "test", which allows to launch some tests written by the upstream author. The --test option of haikuporter allows to launch such tests, provided a TEST function is defined in the recipe with the appropriate call, e.g. a "make check"

For this task, you have to identify 10 recipes for which the source tarball comes with a Makefile that provides a test target (or equivalent) but which is unknown to haikuporter due to the lack of a TEST function in the recipe. Then, for these recipes that are either missing the TEST function or have one which is incorrect, you will add it (or fix it), and test that it is working correctly.

Reminder: To use the "--test" option of haikuporter you first need to build that recipe.

Please test all your changes before you submit your work. Adding a test block to a recipe is not hard. What consumes time is to test that everything is working. Also, please do not assume that every test target is called "check".

When done, submit your work as a github pull request to Haikuports and share the link to the pull request here so we can review it.

Important: please read the generic instructions for "recipe" tasks, as we have a lot of these: https://dev.haiku-os.org/wiki/GoogleCodeInTaskRecipe

Task tags

  • haikuports
  • porting
  • recipe
  • bash
  • c++

Students who completed this task

Leorize

Task type

  • code Code
  • done_all Quality Assurance
close

2017