rocrtst: set HSA_ENABLE_INTERRUPT after TestExample creation (#2687)

Signed-off-by: Horatio Zhang <Hongkun.Zhang@amd.com>
Co-authored-by: cfreeamd <166262151+cfreeamd@users.noreply.github.com>
Este commit está contenido en:
hongkzha-amd
2026-01-21 10:39:50 +08:00
cometido por GitHub
padre 6a84a00208
commit d94185c5b2
@@ -136,8 +136,8 @@ TEST(rocrtst, Test_Example) {
}
TEST(rocrtst, Test_Example_InterruptDisabled) {
rocrtst::SetEnv("HSA_ENABLE_INTERRUPT", "0");
TestExample tst;
rocrtst::SetEnv("HSA_ENABLE_INTERRUPT", "0");
RunGenericTest(&tst);
}