zephyr/tests/drivers
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
..
adc tests: add zephyr adc driver api test case 2017-02-12 00:33:59 +00:00
aio/aio_basic_api license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
aon_counter/aon_api tests: add zephyr counter and timer api test 2017-02-12 00:26:43 +00:00
build_all license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
dma tests: dma: update dma loop transfer app 2017-02-11 05:18:22 +00:00
enc28j60 license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
gpio/gpio_basic_api tests/gpio: fix test GPIO_INT_EDGE bug 2017-02-12 01:04:09 +00:00
i2c/i2c_api tests: add zephyr i2c driver api test 2017-02-04 19:31:31 +00:00
nsim_uart license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
pci_enum license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
pinmux pinmux: unify galileo pinmux driver 2017-01-25 20:43:18 +00:00
pwm/pwm_api tests/pwm: enable PWM case to work on D2000 board 2017-02-12 01:04:08 +00:00
quark_clock license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
rtc/rtc_basic_api license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
spi_test tests: Update spi driver test for mcux 2017-01-23 15:15:54 -06:00
uart license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
watchdog/wdt_basic_api license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00