History log of /external/autotest/client/deps/fakemodem/src/fakemodem.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c6b0edd888d48b5fe3c0543e1a112f10efd43d42 21-Jan-2015 Yunlian Jiang <yunlian@google.com> autotest-deps-cellular: make it compatible with newer glib

In glib-2.40, the g_type_init is deprecated, so we need to remove it.

BUG=chromium:450426
TEST=it builds with new glib

Change-Id: I964f65f63e3a3cbc230528d6c9295c01ca07c355
Reviewed-on: https://chromium-review.googlesource.com/242143
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
/external/autotest/client/deps/fakemodem/src/fakemodem.c
39944fd28eaae9b5ad23016b6370e4880aa3f81b 19-Jun-2014 Gilad Arnold <garnold@chromium.org> Fix a compiler warning.

The compiler barks about pat being used without potentially being
initialized. This fixes the problem.

BUG=chromium:386393
TEST=Package builds.

Change-Id: Id789f3b3379f20b4adc0c2245f4280cefb2f89c9
Reviewed-on: https://chromium-review.googlesource.com/204690
Tested-by: Gilad Arnold <garnold@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Gilad Arnold <garnold@chromium.org>
/external/autotest/client/deps/fakemodem/src/fakemodem.c
f13c14093db9a5f07af0837740f241fac0818e60 08-Sep-2012 Ben Chan <benchan@chromium.org> autotest: Fix compilation errors when compiling with glib 2.32.

This CL makes the following changes to make the code compatible with
glib 2.30 and 2.32:
- Remove unnecessary inclusion of glib/gtypes.h in fakegudev.c as
glib/gtypes.h should not be included directly.
- Use g_io_channel_shutdown() instead of the deprecated
g_io_channel_close().

BUG=chromium-os:34104
TEST=emerge autotest and autotest-deps with glib 2.30.2 and 2.32.4

Change-Id: I2f98d1fd1c7fdaa26aedf4595176c8d613f1fa13
Reviewed-on: https://gerrit.chromium.org/gerrit/32654
Commit-Ready: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
Reviewed-by: Darin Petkov <petkov@chromium.org>
/external/autotest/client/deps/fakemodem/src/fakemodem.c
3cefed44d80c207c22b8b8fb538cfdf8021f7520 13-Dec-2011 Mike Frysinger <vapier@chromium.org> fakemodem: fix _XOPEN_SOURCE value

Newer versions of glibc are stricter about how to interpret the value of
the _XOPEN_SOURCE define. If it is just defined with no value, it gets
interpreted as 0. That causes it to not make available the posix_openpt
prototype which causes a build failure:

ERROR:root:[stderr] fakemodem.c: In function 'main':
ERROR:root:[stderr] fakemodem.c:288:3: error: implicit declaration of function 'posix_openpt' [-Werror=implicit-function-declaration]
ERROR:root:[stderr] cc1: all warnings being treated as errors
ERROR:root:[stderr] make: *** [fakemodem] Error 1

So update the define to the min value required to get the prototype.

BUG=chromium-os:24046
TEST=`emerge-x86-generic autotest-deps` now works

Change-Id: I4a096653e80b10ad9d2d25fcdcf2a3cdacaeb225
Reviewed-on: https://gerrit.chromium.org/gerrit/12819
Reviewed-by: Nathan J. Williams <njw@chromium.org>
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
/external/autotest/client/deps/fakemodem/src/fakemodem.c
f1daff0034e13c76995ca73878905066fc416ba1 23-Sep-2011 Nathan Williams <njw@chromium.org> Test messages appearing and simple multipart messages.

fakemodem: Add a leading <CR><LF> to the unsolicited message, as required.

BUG=chromium-os:19162
TEST=this
Change-Id: I835f2e21205fd734d1335facacf6beeb3635a8ea
Reviewed-on: http://gerrit.chromium.org/gerrit/8525
Commit-Ready: Nathan J. Williams <njw@chromium.org>
Reviewed-by: Nathan J. Williams <njw@chromium.org>
Tested-by: Nathan J. Williams <njw@chromium.org>
/external/autotest/client/deps/fakemodem/src/fakemodem.c
1302d34c8185a59496c1c8aae48961316d45fc72 26-Sep-2011 Ahmad Sharif <asharif@chromium.org> Clean build with gcc-4.6.0 of fakemodem.

TEST=FEATURES=test emerge-x86-generic autotest-deps
BUG=none

Change-Id: I9215da919f3e39a36fa868ed2827f0c560fecb74
Reviewed-on: http://gerrit.chromium.org/gerrit/8287
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Ready: asharif <asharif@chromium.org>
Tested-by: asharif <asharif@chromium.org>
Reviewed-by: asharif <asharif@chromium.org>
/external/autotest/client/deps/fakemodem/src/fakemodem.c
c2a8f8b5d56157355034375dae1b29df78e1d357 01-Sep-2011 Nathan Williams <njw@chromium.org> Add a test framework for ModemManager and use it to test SMS parsing.

The test framework includes a tool to set up a fake network device
(using the tun interface), a fake modem (using ptys, a regexp engine,
and tweaking of the regexp responses via DBus), and a library that
overrides the GUdev library interfaces to give us complete control
over what devices and device properties the program under test sees.

BUG=chromium-os:20096
TEST=self

Change-Id: I99af909ae381c278c66067acd9d689f24c40f4ab
Reviewed-on: http://gerrit.chromium.org/gerrit/7814
Commit-Ready: Nathan J. Williams <njw@chromium.org>
Reviewed-by: Nathan J. Williams <njw@chromium.org>
Tested-by: Nathan J. Williams <njw@chromium.org>
/external/autotest/client/deps/fakemodem/src/fakemodem.c