Commit Graph

5 Commits

Author SHA1 Message Date
Oliver Smith 72ddb01219 Add QEMU tests
Add tests to ensure libgtpnl + kernel driver work as expected.

Right now a kernel needs to be built from source, using Pablo's tree:
https://git.kernel.org/pub/scm/linux/kernel/git/pablo/gtp.git/

Make sure to enable:
  CONFIG_GTP=y
  CONFIG_NET_NS=y
  CONFIG_VETH=y

$ cp bzImage tests/qemu/_linux
$ ./configure --enable-qemu-tests
$ make
$ make check

Once patches are upstreamed, it will be possible to use a pre-built
kernel from jenkins with: make -C tests qemu-download-kernel

Related: OS#1952
Change-Id: Ibf75514b866fffb11e90529e4705f126b23d7415
2024-02-16 15:15:24 +01:00
Oliver Smith 4374964187 Makefile.am: remove DIST_SUBDIRS
It is the same as SUBDIRS, so it doesn't need to be defined. We don't do
this is in other Osmocom projects either.

Related: https://www.gnu.org/software/automake/manual/html_node/SUBDIRS-vs-DIST_005fSUBDIRS.html
Change-Id: I35345ba1c6ab6ecc827177dfd6f14a5be6606432
2024-02-14 16:18:52 +01:00
Pau Espin 16fa45f155 configure.ac: Depend on osmo-release.mk
The osmo-release.mk script can be found in libosmocore and it is used in
most osmocom related projects to help create new releases.

LIBVERSION is moved to src/Makefile.am since osmo-release.mk greps for
Makefile.am to find LIBVERSIOn changes. In any case, we don't need in
the global include makefile.

Change-Id: I5d163535c34369c74ece26574c8b1601bc1697b7
2018-05-02 16:36:24 +02:00
Harald Welte 51c10b73fb Use release helper from libosmocore
Change-Id: I3b22a026ee61e88ed6d785182990cfcba0487bfe
Related: OS#1861
2017-11-12 23:25:00 +09:00
Pablo Neira Ayuso 14506665d9 add libgtpnl
This patch adds the libgtpnl library. Harald mentioned that he wanted
that the specific code that is added is well encapsulated, so let's
start a small library to interact with the GTP kernel module via netlink
interface.

This was done a bit while in the rush, so the interfaces are not nice
at all and the tools need to be ported on top of this library.

This library will be used to integrate openggsn with the GTP kernel
module.
2014-02-20 19:41:29 +01:00