aboutsummaryrefslogtreecommitdiff
path: root/test/validation/api/dma/dma.c
diff options
context:
space:
mode:
authorJanne Peltonen <janne.peltonen@nokia.com>2024-01-04 15:38:15 +0200
committerMatias Elo <matias.elo@nokia.com>2024-01-16 15:00:31 +0200
commitcf0fca8a1963c9ad939e8b0cce986c850a41c6ca (patch)
treee24b6e7adea27ce3293c51893c3b742ebc6b5d57 /test/validation/api/dma/dma.c
parent43d74f57b2a9e8270e1c1b3831c8a5334bd4182a (diff)
test: cunit: make odp_cunit_parse_options() update argc
Have odp_cunit_parse_options() update the option count after it has removed the options it handled. This enables the callers to have their own command line option processing after odp_cunit_parse_options() as probably originally intended. Signed-off-by: Janne Peltonen <janne.peltonen@nokia.com> Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'test/validation/api/dma/dma.c')
-rw-r--r--test/validation/api/dma/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/validation/api/dma/dma.c b/test/validation/api/dma/dma.c
index 4f454168d..efc7fa039 100644
--- a/test/validation/api/dma/dma.c
+++ b/test/validation/api/dma/dma.c
@@ -1693,7 +1693,7 @@ int main(int argc, char *argv[])
int ret;
/* parse common options: */
- if (odp_cunit_parse_options(argc, argv))
+ if (odp_cunit_parse_options(&argc, argv))
return -1;
ret = odp_cunit_register(dma_suites);