mirror of https://github.com/thesofproject/sof.git
testbench: return error up the stack.
Dont exit() but return the error up the stack for proper handling. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
parent
0cec50a976
commit
9ad987e7fd
|
@ -550,10 +550,8 @@ static int test_pipeline_load(struct pipeline_thread_data *ptdata,
|
|||
|
||||
/* parse topology file and create pipeline */
|
||||
ret = parse_topology(ctx);
|
||||
if (ret < 0) {
|
||||
if (ret < 0)
|
||||
fprintf(stderr, "error: parsing topology\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue