Jenkins CI with GNU autotests is on

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Holger Hans Peter Freyther holger at freyther.de
Mon Nov 14 13:49:18 UTC 2011


Hi all,

as can be seen here[1] I have merged the GNU autotest setup to libosmocore and
the tests are now being executed during the normal build. I encourage everyone
to write new tests for bugfixes in libosmocore but in other projects as well.


How to write a test:
 - Create a new test executable or add a new function to one of the existing
   tests. Make repeatable output go to stdout, errors and things that can
   change to stderr.
 - Capture the stdout into the app_name.ok, add this file to the EXTRA_DIST
   of the Makefile.am
 - Append your test to the tests/testsuite.at file (copy and pasting one
   of the previous test cases)
 - test locally with make check

 - If you access local files during the test, add them to the EXTRA_DIST as
   well
 - Use make distcheck to verify everything is okay.


regard
	holger


[1]
http://jenkins.osmocom.org/jenkins/job/libosmocore/label=linux_i386_debian_squeeze/16/console
(no permalink)




More information about the OpenBSC mailing list