Enable test bench test in simple scripts and test in Travis CI#2665
Conversation
There was a problem hiding this comment.
Oh, I see now that I've been generating the topologies into wrong directory. Thanks!
singalsu
left a comment
There was a problem hiding this comment.
Good work, thanks!
Have run shellcheck (apt-get install shellcheck) for the bash scripts? It may help to find quotation issues etc. if there are any.
|
@lgirdwood I haven't test the Travis scripts yet, it seem some issue with the test toplogy build here. |
Enable 3 simple test with host-testbench: volume, src and eqiir Usage: ./scripts/build-tools.sh -t ./scripts/host-build-all.sh ./scripts/host-testbench.sh Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
build test topology. builg host-testbench Test with host-testbench. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
|
@singalsu @lgirdwood updated and Travis test passed. |
|
I just checked, testbench works for me too. |
I've reran this test, cos it looked like some random issue. |
|
CI known issue. |
|
@singalsu , @xiulipan is there a plan for |
|
@marc-hb Good catch, I think I ignore some case here. Will |
| #!/bin/bash | ||
| # SPDX-License-Identifier: BSD-3-Clause | ||
| # Copyright(c) 2018 Intel Corporation. All rights reserved. | ||
|
|
| env: PLATFORM=imx8m | ||
| - stage: testbench | ||
| script: | ||
| - ./scripts/docker-run.sh ./scripts/build-tools.sh -t &> /dev/null |
There was a problem hiding this comment.
Please never ever discard all output like this, especially not in CI where the exact configuration can be difficult to reproduce locally. If the script is too verbose then its verbosity can be adjusted but discarding everything is throwing the baby with the bathwater.
Fixed in #3364
Update the host-testbench scripts to test 3 simple testbench
volume, src and eqiir.
Enable Travis CI test for the testbench with this script.