Skip the constructByInfo() test if no serial ports are found on *nix


In unix-like systems it is possible to use socat to creation of the
virtual serial ports. But these devices are symlinks on the /dev/pts
devices, that is not a serial ports. Thus QSPI can not find it and will
construct a null object. In this case this is not an error and we need
just to skip test.

Change-Id: I59bbb3c4653555be39ea6fff903c386065c10d0a
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
commit81a07b069a126244944962932928236c0c585658
parentff03e5aa0ccdd2060aa2a8f1a5b55234c09bb3d0
authorDenis Shienkov <denis.shienkov@gmail.com>
committerDenis Shienkov <denis.shienkov@gmail.com>
commit timeFri, 16 Jan 2015 09:33:12 +0100