Brendan Le Foll
1d37d3b162
tests/CMakeLists.txt: Clean up cmake tests to work with python 2&3
...
Adds additional checks and PYTHON_DEFAULT_INTERP var that is used to
find the correct python binary as well as checks to see if the
_python2-mraa or _python3-mraa targets have been built by checking
mraa.py. This does assume that this is all that is needed as checking
for TARGET() is not enough as the target is always 'valid'. We prefer
python2 and will only run the java tests if we can find python2
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2017-05-30 19:31:34 +02:00
Jon Trulson
e0a0dac47b
uart: add tcsendbreak support
...
Signed-off-by: Jon Trulson <jtrulson@ics.com >
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com >
2017-05-08 21:15:33 +02:00
Lunghi@Emutex
2a1590fdf1
platform_checks.py: Disable check on non edison platforms
...
Signed-off-by: Nicola Lunghi <nicola.lunghi@emutex.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2017-04-02 19:55:21 +02:00
Alex Tereschenko
9f03afbcbc
mock: implement UART functionality
...
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-10-25 12:04:04 +01:00
Alex Tereschenko
bdbbfd03dd
mraa mock: Add SPI functionality
...
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-08-19 16:00:53 +01:00
Alex Tereschenko
346f447c4d
mock: added I2C functionality
...
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-07-27 11:28:53 +01:00
Alex Tereschenko
63b244cfc3
mock: added AIO pin and logic
...
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-07-11 10:48:43 +01:00
Alex Tereschenko
bcb6adc551
mock: added mraa mock platform infra and GPIO implementation
...
Mock platform allows one to use mraa without having any real HW.
This commit makes necessary foundational changes and implements
GPIO functionality as well as adds respective tests.
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-07-05 16:19:05 +01:00
Brendan Le Foll
a177a3f729
cmake: Fix tests with multiple python bindings being built
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-06-01 11:21:20 +01:00
Brendan Le Foll
7088527339
tests/platform_checks.py: Fix test to check for NULL platform
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-03-22 18:12:30 +00:00
Stefan Andritoiu
8b68f3040e
java: added sanity checks for sample mapping and bindings
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-01-21 15:28:03 +00:00
Stefan Andritoiu
c564dad68f
CMakelists: Made tests building rule independent of the python build
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2016-01-21 15:28:03 +00:00
Brendan Le Foll
308289497e
tests: make tests work on python3
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-09-08 14:42:04 +01:00
Brendan Le Foll
4599f3c12a
tests: add cmake ctest infrastructure so make test can run
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-04-07 23:52:39 +01:00
Costin Constantin
8cc957ac64
tests: add python test cases suite
...
Currently only galileo is supported. This commit removes the old GTEST stuff
and mraa_test.cxx which never did much
Signed-off-by: Costin Constantin <costin.c.constantin@intel.com >
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2015-04-07 23:42:58 +01:00
Thomas Ingleby
6853997a92
mraa: rename from maa to mraa
...
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com >
2014-06-24 17:24:54 +01:00
Brendan Le Foll
94941f5100
gtest: fix version test and change test cmake var name
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com >
2014-05-20 15:40:28 +01:00
Brendan Le Foll
8b715745fc
tests: add initial unit test env
2014-04-10 11:07:05 +01:00