From d94185c5b250815be7adc2dd08c10e28f39772c3 Mon Sep 17 00:00:00 2001 From: hongkzha-amd Date: Wed, 21 Jan 2026 10:39:50 +0800 Subject: [PATCH] rocrtst: set HSA_ENABLE_INTERRUPT after TestExample creation (#2687) Signed-off-by: Horatio Zhang Co-authored-by: cfreeamd <166262151+cfreeamd@users.noreply.github.com> --- projects/rocr-runtime/rocrtst/suites/test_common/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rocr-runtime/rocrtst/suites/test_common/main.cc b/projects/rocr-runtime/rocrtst/suites/test_common/main.cc index bb00d7526a..e0020be00c 100644 --- a/projects/rocr-runtime/rocrtst/suites/test_common/main.cc +++ b/projects/rocr-runtime/rocrtst/suites/test_common/main.cc @@ -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); }