summaryrefslogtreecommitdiff
path: root/test/py/conftest.py
diff options
context:
space:
mode:
authorPadmarao Begari <padmarao.begari@amd.com>2024-09-30 10:08:14 +0530
committerMichal Simek <michal.simek@amd.com>2024-10-25 14:10:31 +0200
commit342ccba5586a1e91d4506fe46f0ee7b551d2fd54 (patch)
treeec82c32bdb62b70c9171fbe5d0e258aa8188f805 /test/py/conftest.py
parent0ac27a62f9857837739585caa86fdd039556a31d (diff)
arm64: zynqmp: Fix tcminit mode value based on argv
The RPU pytest introduced by commit e894c10c040b ("test/py: zynqmp_rpu: Add test for loading RPU apps") expects 3rd parameter as string not a number that's why extend command to actually handle both. The issue with existing code is that when any non number string is passed hextoul returns 0. For backward compatibility zynqmp tcminit 0/1 can be still used but it is recommended to use strings instead. Signed-off-by: Padmarao Begari <padmarao.begari@amd.com> Link: https://lore.kernel.org/r/20240930043814.530181-3-padmarao.begari@amd.com Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'test/py/conftest.py')
0 files changed, 0 insertions, 0 deletions