tests: pwm: Fix missing unit test
Add missing unit test. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
9ed544ba7c
commit
dba3555ffb
1 changed files with 4 additions and 2 deletions
|
@ -14,13 +14,15 @@
|
|||
#include <zephyr.h>
|
||||
#include <ztest.h>
|
||||
|
||||
extern void test_pwm_usec(void);
|
||||
extern void test_pwm_cycle(void);
|
||||
void test_pwm_usec(void);
|
||||
void test_pwm_cycle(void);
|
||||
void test_pwm_nsec(void);
|
||||
|
||||
void test_main(void)
|
||||
{
|
||||
ztest_test_suite(pwm_basic_test,
|
||||
ztest_unit_test(test_pwm_usec),
|
||||
ztest_unit_test(test_pwm_nsec),
|
||||
ztest_unit_test(test_pwm_cycle));
|
||||
ztest_run_test_suite(pwm_basic_test);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue