Commit Graph

12 Commits

Author SHA1 Message Date
Vadim Yanitskiy 2790599e56 tests: use -no-install libtool flag to avoid ./lt-* scripts
This option should be used for any executables which are used only
for testing, or for generating other files and are consequently never
installed.  By specifying this option, we are telling Libtool that
the executable it links will only ever be executed from where it is
built in the build tree.  Libtool is usually able to considerably
speed up the link process for such executables.

Change-Id: I9758aaaa56b2453f33f90400342ebd1fd412ec3a
2023-03-13 10:54:34 +00:00
Vadim Yanitskiy 7d8a674e88 tests: use 'check_PROGRAMS' instead of 'noinst_PROGRAMS'
When using 'check_PROGRAMS', autoconf/automake generates smarter
Makefiles, so that the test programs are not being compiled during
the normal 'make all', but only during 'make check'.

Change-Id: Icca22778831b043358acf0482948dbff32a11256
2022-04-13 19:55:33 +03:00
Vadim Yanitskiy 7cc8c03088 tests/sccp/Makefile.am: use sccp.o from $(top_builddir)
This change suspends the warnings about option 'subdir-objects',
by using the existing object file from the build directory.

Change-Id: I4dc2abb19c58fce0a12cc9799019878194c667d1
2019-11-07 13:37:40 +00:00
Alexander Huemer 7925409b35 Makefile.am: Use AM_CPPFLAGS
Since automake 1.13 INCLUDES is depricates and causes a warning
2013-06-12 07:56:31 +02:00
Holger Hans Peter Freyther 72df7f09ec tests: Run the existing tests with GNU Autotest
SCCP: Use DST/SRC Ref instead of the pointer value to create
stable releases.
2011-11-20 12:11:57 +01:00
Holger Hans Peter Freyther 68b7e8bd60 sccp: Rename the SCCP file and delete the sccp/ directory.. 2010-08-01 05:30:55 +08:00
Holger Hans Peter Freyther aa45e92b0c sccp_test: Compile the sccp.c directly into the binary
Do not link to the static library, but include the single
source file to always have an up-to-date binary without
dependencies between Makefiles.
2010-07-31 06:05:43 +08:00
Holger Hans Peter Freyther e4cb3e039b sccp: Adjust the code to only depend on libosmocore
* Introduce a method to set the value of the debug area to
  use and default it to -1. Turn the DSCCP enum into a local
  variable to make the log messages work.
* Remove usage of openbsc and libbsc.a
2010-07-30 02:12:02 +08:00
Holger Hans Peter Freyther 5d074c7ee2 [misc] Add LIBOSMOCORE_CFLAGS to the includes 2010-02-26 20:10:58 +01:00
Harald Welte 6886ad5f66 finish openbsc / libosmocore separation
* use pkg-config from openbsc to find header and library
* move sms and timer tests to libosmocore itself
* ensure "make distcheck" works on both packages
2010-02-20 17:29:27 +01:00
Holger Hans Peter Freyther b56abb5531 liblaf0rge: Make the other targets depend on the liblaforge...
Everything is linking fine here.
2010-02-09 22:04:09 +01:00
Holger Hans Peter Freyther 8bfd8d1648 [sccp] Implement parts of ITU SCCP for use in the A-Interface
include/sccp/sccp_types.h contain Q.713 and GSM definitions
include/sccp/sccp.h is the application interface resembling
                    the esentials of the UNIX socket interface.

src/sccp.c is the actual implementation of SCCP featuring
           connection and UDT1 support.

tests/sccp/sccp.c is testing connection creation and formating
                  of the SCCP messages used by the A-interface. And
                  it contains a simple fuzzing test to test the
                  robustnes of the implementation.
2009-11-20 13:09:15 +01:00