mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
dev-util/amdsmi: define phases in execution order
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
2f010b7a0f
commit
6cf83f3095
@ -84,6 +84,15 @@ src_configure() {
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# GPU access in amdsmitstReadOnly.TestSysInfoRead and amdsmitstReadOnly.TestIdInfoRead
|
||||
addwrite /dev/dri/renderD128
|
||||
|
||||
# Few tests fail on ASUS GZ302E: no metrics from kernel?
|
||||
GTEST_FILTER="-amdsmitstReadOnly.TempRead:amdsmitstReadOnly.TestFrequenciesRead" \
|
||||
"${BUILD_DIR}/tests/amd_smi_test/amdsmitst" || die "Test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
@ -99,12 +108,3 @@ src_install() {
|
||||
|
||||
rm -rf "${ED}"/usr/share/amd_smi "${ED}"/usr/libexec/amdsmi_cli || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# GPU access in amdsmitstReadOnly.TestSysInfoRead and amdsmitstReadOnly.TestIdInfoRead
|
||||
addwrite /dev/dri/renderD128
|
||||
|
||||
# Few tests fail on ASUS GZ302E: no metrics from kernel?
|
||||
GTEST_FILTER="-amdsmitstReadOnly.TempRead:amdsmitstReadOnly.TestFrequenciesRead" \
|
||||
"${BUILD_DIR}/tests/amd_smi_test/amdsmitst" || die "Test failed"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user