mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 18:06:13 +00:00
tests/sysfs_l3_parity: fix warnings in test enumeration
Source drm_lib.sh before skipping the test to ensure that subtest enumeration is always handled correctly. Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
parent
756764a4e7
commit
c2d5519906
@ -1,13 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )"
|
||||||
|
. $SOURCE_DIR/drm_lib.sh
|
||||||
|
|
||||||
if ! find /sys/class/drm/card*/ | grep l3_parity > /dev/null ; then
|
if ! find /sys/class/drm/card*/ | grep l3_parity > /dev/null ; then
|
||||||
echo "no l3_parity interface, skipping test"
|
echo "no l3_parity interface, skipping test"
|
||||||
exit 77
|
exit 77
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SOURCE_DIR="$( dirname "${BASH_SOURCE[0]}" )"
|
|
||||||
. $SOURCE_DIR/drm_lib.sh
|
|
||||||
|
|
||||||
$SOURCE_DIR/../tools/intel_l3_parity -r 0 -b 0 -s 0 -e
|
$SOURCE_DIR/../tools/intel_l3_parity -r 0 -b 0 -s 0 -e
|
||||||
|
|
||||||
#Check that we can remap a row
|
#Check that we can remap a row
|
||||||
|
Loading…
x
Reference in New Issue
Block a user