Commit Graph

221 Commits

Author SHA1 Message Date
Slawomir Blauciak 18c171b43d test: mixer unit tests
Signed-off-by: Slawomir Blauciak <slawomir.blauciak@linux.intel.com>
2018-07-25 09:44:05 +02:00
Bartosz Kokoszko 9524b6900d test: component: change comp_set_state test cases
Update comp_set_state test cases due to refinement the component's
state machine in commit 5198517.

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-07-20 10:49:39 +02:00
Bartosz Kokoszko 8d9f9a7267 test: component: change to use 1 assert per test
I've fixed multiple assert occurance in comp_set_state test functions.
Now single UT has only one assert. There is also a change of the name
of the test file due to name restrictions.

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-07-18 09:47:57 +02:00
Liam Girdwood 20204a9cd7
Merge pull request #110 from jajanusz/ut-makefile-fix
configure: fix flags for unit tests
2018-07-16 19:46:22 +01:00
Liam Girdwood b9b49ae555
Merge pull request #109 from bkokoszx/test_component_set_state
Test component set state
2018-07-16 15:53:52 +01:00
Janusz Jankowski 8235d3d61a configure: fix flags for unit tests
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2018-07-16 14:16:26 +02:00
Tomasz Lauda 9fbd0a4822 test: fix volume cmocka tests
Fixes volume cmocka tests.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-07-16 14:11:06 +02:00
Bartosz Kokoszko 31599ad097 Added comp_set_state function UT's
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-07-16 13:50:35 +02:00
Janusz Jankowski de100b7d28 test: fix CFLAGS and LDFLAGS warnings
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2018-07-10 15:25:33 +02:00
Liam Girdwood fa48c42abf
Merge pull request #59 from slawblauciak/test_fixes
test: missing header
2018-07-05 19:52:37 +01:00
Slawomir Blauciak b7a9f0f73c test: missing header
Signed-off-by: Slawomir Blauciak <slawomir.blauciak@linux.intel.com>
2018-07-05 15:50:20 +02:00
Slawomir Blauciak 06b8c0e51b test: missing header
Signed-off-by: Slawomir Blauciak <slawomir.blauciak@linux.intel.com>
2018-07-05 15:46:35 +02:00
Slawomir Blauciak 5a10cd8be2 test: alloc tests
Signed-off-by: Slawomir Blauciak <slawomir.blauciak@linux.intel.com>
2018-07-05 12:01:29 +02:00
Tomasz Lauda 01ebad7a1b arch: multicore xtos
Support for multiple cores executing the same code
with the new arch xtensa-smp:
- Updated xtos to the latest version (2017.8).
- Modified xtos to handle interrupts per core.
- Added interrupt structures and stacks per core.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-06-29 15:12:01 +02:00
Tomasz Lauda 2fa6b3ac62 test: volume tests
Tests for volume processing functions.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-06-23 10:46:54 +02:00
Slawomir Blauciak b84cb09f27 test: audio buffer unit tests
Signed-off-by: Slawomir Blauciak <slawomir.blauciak@linux.intel.com>
2018-06-20 15:18:10 +02:00
Slawomir Blauciak 3936516cdd test: incorrect param for one of norm_int32 tests
Signed-off-by: Slawomir Blauciak <slawomir.blauciak@linux.intel.com>
2018-06-20 15:18:10 +02:00
Tomasz Lauda 14ca1fa3d5 pm_runtime: add runtime power management initial implementation
This patch adds initial empty implementation of runtime power management.
It is based on linux kernel implementation and will be developed
in the future.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-06-20 15:18:09 +02:00
Slawomir Blauciak 5827f391f6 test: Math unit tests
Tests provided: ceil_divide, find_equal_int16, find_min_int16, find_max_abs_int32, norm_int32, sin_fixed

Signed-off-by: Slawomir Blauciak <slawomir.blauciak@linux.intel.com>
2018-06-20 15:18:09 +02:00
Tomasz Lauda cd0044e686 test: unit tests for list.h
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2018-06-11 20:12:43 +01:00
Janusz Jankowski d6d9efb90c test: enable cmocka unit tests for SOF
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2018-06-11 20:11:32 +01:00