Commit Graph

146 Commits

Author SHA1 Message Date
Ed
e83bbf51cf Review feedback 2024-04-24 12:01:52 +01:00
Ed
8a90660f7c Take build of pytest and do in Jenkins 2024-04-19 17:24:29 +01:00
Ed
cd497a0c78 Add debug on fail and lengthen unit tests 2024-04-19 16:59:40 +01:00
Ed
bee1d878af Add MIDI loopback test and fix app_midi_simple Tx 2024-04-19 16:35:32 +01:00
Ed
365e9bf014 Tidy debug 2024-04-19 14:18:49 +01:00
Ed
d02561da19 Add missing makefile 2024-04-19 14:15:14 +01:00
Ed
d55ade4ecf Debug midi build 2024-04-19 12:40:46 +01:00
Ed
7fbf400ded Debug fix 2024-04-19 12:03:26 +01:00
Ed
ca3a7eb1f9 More efficient midi test bin build 2024-04-19 12:01:58 +01:00
Ed
9a8dfea641 xrun -> xsim 2024-04-19 10:42:23 +01:00
Ed
25cd5ffafc Rejig runner gen 2024-04-19 10:34:56 +01:00
Ed
82f7649079 Jenkins using xcommon cmake for UT 2024-04-19 08:32:16 +01:00
Ed
7853807790 Working xcommon cmake unit test build 2024-04-19 08:14:00 +01:00
Ed
fb6cdbb57b Nearly working xcommon cmake UT 2024-04-18 16:48:52 +01:00
Ed
5822ec7037 Initial copy of lib_ic UT cmake 2024-04-18 15:31:09 +01:00
Ed
7967275001 Queue unit tests 2024-04-18 09:34:33 +01:00
Ed
c960d82233 Debug Jenkins failure 2024-04-17 16:24:07 +01:00
Ed
b15eb3a329 Make sure dir is off cwd 2024-04-17 15:21:22 +01:00
Ed
36b32a36db Initial queue unit test 2024-04-17 15:12:41 +01:00
Ed
540fb4baa5 Add tmpdirs and initial build so test works with xdist 2024-04-17 11:21:05 +01:00
Ed
398d966145 Initial MIDI Rx test using pyxsim 2024-04-16 15:21:58 +01:00
Ed
a6969a8610 Enhanced app_midi_simple to support file based commands and readiness for Rx testing 2024-04-16 13:37:29 +01:00
Ed
098c39b659 Source check 2024-04-15 17:38:58 +01:00
Ed
977408d3bf Initial passing tx test using pyxsim 2024-04-15 17:32:03 +01:00
Ed
4e4ae01a35 Add initial test tx + checkers from fwk_io 2024-04-15 12:59:55 +01:00
Ed
17206d4b8f Initial test FW app for MIDI 2024-04-15 11:49:50 +01:00
Ed
2fbeb47191 Midi parse test passing 2024-04-15 10:38:19 +01:00
Ed
255ca79718 WIP unit test for midi parse 2024-04-12 17:29:58 +01:00
Ed
3be17bf8cc c_mclk_change -> c_audio_rate_change 2024-01-22 14:32:03 +00:00
Ed
e8317eae36 Minor fixes 2024-01-22 09:57:40 +00:00
Ed
5669a5b021 Fix synch test 2024-01-22 09:27:18 +00:00
Ed
c0a844c303 Manual merge from experimental/sync_app_pll (not working yet) 2024-01-15 14:08:22 +00:00
Ross Owen
1ef5129fde Variable i2s bit width (#331)
- Add support for variable width I2S (via XUA_I2S_N_BITS)
- Add support for variable width TDM (again via XUD_I2S_N_BITS when XUA_PCM_FORMAT=XUA_PCM_FORMAT_TDM)
- Includes support for xcore as I2S/TDM master and slave
- Add testing of the the above to test_i2s_loopback
- Rationalised test config building in test_i2s_loopback
- Documentation updated
2023-06-08 15:31:12 +01:00
Ross Owen
e2c36a9a95 xpd: Cleaned up whitespace 2023-03-15 13:00:39 +00:00
Ross Owen
208491fe51 Added mixer control unit tests (#316)
* Added test_mixer_routing_output_ctrl
* Added test_mixer_routing_input_ctrl 
* Some minor mixer test and code improvements
* Update lib_xud dep version requirement
2023-03-08 10:53:33 +00:00
Ross Owen
6d8cf9913f Increase timeout cycles for test_mixer_routing_output 2023-02-06 23:42:33 +00:00
Ross Owen
73955c1a4c - Added mixer related defines to reduce use of magic numbers
- Increases debug output when DEBUG flag set
- Removed some dead code
- Increased alignment of asm mixer functions
- Removed some usages of “xc_ptr” type in favour of native pointers in XC
- Added some asserts to mixer
- Added test_mixer_routing_input
- Moved test_mixer_routing_output to use shared code
2023-02-01 11:54:48 +00:00
Ross Owen
0ce91bec90 Copyright comment 2023-01-17 12:12:46 +00:00
Ross Owen
2404eaf35f Remove extern, mark static inline 2023-01-17 11:53:44 +00:00
Ross Owen
513761ef5b Moved DoSampleTransfer to a header file so it can still be inlined (but also used in unit tests). Resolves fails in test_i2s_loopback 2023-01-17 11:33:52 +00:00
Ross Owen
da7c45500d - Added test_mixer_routing_output
- Various buffers no longer marked static to allow for easier unit testing 
- Added some comments and removed some dead code from the implementation
- Moved mixer control comms to functions for unit test convenience
2023-01-16 17:28:04 +00:00
xross
16ce73391a xpd: Cleaned up whitespace 2022-10-25 19:18:28 +01:00
xross
e1d0974912 test_i2s_loopback:
- Add tracing options
- Add TDM testing at 96khz
- Fix up defines
2022-09-28 11:09:33 +01:00
xross
b17cc0de6d Copyright and licence comments 2022-08-08 11:15:50 +01:00
xross
5690442a4b - test_sync_clk_basic and test_sync_clk_plugin now run at FS & HS
- test_sync_clk_plugin marked as known failure (now fails as expected for HS and FS)
2022-08-04 19:54:29 +01:00
xross
3a9f2fff3a * Renamed test_sync to test_sync_clk_basic
* Authored test for known issue in sync mode, test_sync_clk_plugin
* Removed some unrequired test related files
2022-08-03 17:25:32 +01:00
xross
2c01f440fd Added basic test for PLL reference generation on Sync mode 2022-08-03 16:50:28 +01:00
xross
43c561c831 Add tracing related options to conftest 2022-08-03 15:12:12 +01:00
xross
a0f5591e0b Auto-format via black 2022-07-21 13:10:47 +01:00
xross
36dedc494c Update to latest test_support api 2022-07-21 13:10:38 +01:00