zephyr/tests/drivers/gpio/gpio_basic_api
Qiu Peiyang 0c87784c84 tests/gpio: fix test GPIO_INT_EDGE bug
When test GPIO_INT_EDGE, there is no code to skip GPIO_INT_LEVEL
and jump to the end of the function. So GPIO_INT_LEVEL will
always be checked (Besides, it't always true), even if it's
testing GPIO_INT_EDGE, which will cause GPIO_INT_EDGE cases fail.

Add a goto statement for GPIO_INT_EDGE to skip GPIO_INT_LEVEL.

Jira: ZEP-1685

Change-Id: I10ce21c04c49f34aafdc2cd2f60f3e5377d6f1f5
Signed-off-by: Qiu Peiyang <peiyangx.qiu@intel.com>
2017-02-12 01:04:09 +00:00
..
src tests/gpio: fix test GPIO_INT_EDGE bug 2017-02-12 01:04:09 +00:00
Makefile
prj.conf tests/gpio: don't call risk function 2017-01-25 14:25:03 +00:00
testcase.ini tests/gpio: fix typo 2017-01-05 23:54:18 +00:00