Commit Graph
29 Commits
Author SHA1 Message Date
Aleksander Morgado 905c8a48e9 libqcdm,libwmc: use C99 sized types from stdint.h 2016-11-23 19:27:09 +01:00
Lubomir Rintel 2a5909af17 wmc: fix a typo in the test
GCC 6 notices an unused constant and errors out.
2016-03-21 15:02:41 +01:00
Michael Biebl c533e56e1e tests: white space / indentation fixes
Fixes problems with GCC 6

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811583
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=94149
2016-02-15 14:16:25 +01:00
Jakub Sitnicki 7552030ef9 build: add code coverage support
Build all targets, except for CLI tools (mmcli, uml290), with special
flags needed for collecting code coverage information when the build has
been configured with --enable-code-coverage.

Three new targets are available in the top build directory:

 - `check-code-coverage' runs the test suite and generates a code
   coverage report,

 - `code-coverage-capture' generates a code coverage report from already
   collected data, which can come in handy when one wants to see code
   paths touched by a particular test,

 - `code-coverage-clean' removes the collected coverage data and the
   generated reports.
2015-01-11 19:32:43 +01:00
Aleksander Morgado a691eec6ca build: avoid using 'INCLUDES' in Makefile.am
Avoids warnings during build; e.g.:
    warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
2014-06-22 18:24:21 +02:00
Aleksander Morgado 2a922f836d build: remove unneeded GLIB_CHECK_VERSION checks, 2.32 already required 2013-06-18 16:55:29 +02:00
Aleksander Morgado 2ad39277d2 build: setup gtester based tests 2013-06-18 16:50:47 +02:00
Dan Williams 96166e4b75 wmc: namespace stuff properly 2012-05-30 11:48:42 -05:00
Dan Williams 4fd6264848 build: more libwmc and libqcdm standalone fixes
Make it pass distcheck.
2012-01-27 15:14:30 -06:00
Dan Williams 79cb265379 wmc: allow building libwmc standalone 2012-01-24 11:28:46 -06:00
Dan Williams dd1ed06c14 wmc: harmonize buffer dumper with decode.py
Makes it easier to compare the output.
2012-01-23 18:54:28 -06:00
Dan Williams c386efee9c wmc: decode more of DEVICE_INFO
CDMA MIN, home SID, PRL & ERI version
2012-01-23 18:54:28 -06:00
Dan Williams 72e3f0457b wmc: add LTE only global mode define 2012-01-23 11:11:03 -06:00
Dan Williams 66b7ef018e wmc: fix segfault in testcase 2012-01-23 10:48:28 -06:00
Aleksander Morgado a86a5c39ac wmc: fix compilation error in tests
g_print() expects format + arguments; or compilation will fail when
-Werror=format-security being used.
2012-01-23 15:29:36 +01:00
Dan Williams 110897c65d wmc: add some more global mode defines 2012-01-20 16:56:20 -06:00
Dan Williams a75157859c wmc: prettier printing of serial stream and WMC packets 2012-01-20 14:54:16 -06:00
Dan Williams 85a7575717 wmc: global mode command is 3 bytes not 2 2012-01-20 14:54:02 -06:00
Dan Williams 1ae2381e5a wmc: add some more commands and fix up network info
Add operator commands, and fix up the network info response
handling for GSM/WCDMA capable devices like the UML190 when
it's in GSM/WCDMA mode.
2012-01-19 19:09:52 -06:00
Dan Williams 285cd37f11 wmc: STATUS is appears to be NETWORK_INFO
So rename it in various places.
2012-01-19 10:08:09 -06:00
Dan Williams 1e1c8a5ae4 wmc: remove usage of glib
People have asked for leaner builds and	glib isn't strictly
required for the core library.
2012-01-03 00:12:36 -06:00
Dan Williams 262f0f5e81 wmc: fix build after fixup of WMC field names 2011-11-14 17:38:02 -06:00
Dan Williams 1aa6d01d53 wmc: protocol and testcase update 2011-11-11 23:39:20 -06:00
Dan Williams ae3f1cd578 libwmc: add testcases that talk to the device 2011-11-11 12:21:41 -06:00
Dan Williams 368b808869 libwmc: simpler logging and error handling 2011-09-27 15:33:53 -05:00
Dan Williams 18fc92ef73 libwmc: add more test code and start of com tests 2011-09-27 13:13:40 -05:00
Dan Williams 8250dee131 libwmc: add more tests including for UML290 quirks 2011-09-19 13:42:00 -05:00
Dan Williams 46a5c77616 libwmc: rename some test functions 2011-09-19 11:24:43 -05:00
Dan Williams 3dd4cdaf2b libwmc: beginning of bits for WMC-based devices like UML290 2011-09-17 13:27:54 -05:00