Skip to content

Commit 6ec0eb9

Browse files
committed
Fix for SDE
1 parent b4c8a03 commit 6ec0eb9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/build-linux.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
- name: Run Python Microarch Test with SDE
105105
run: |
106106
cd bindings/python
107-
for flag in nhm hsw skx clx icl spr; do
107+
for flag in nhm hsw skx clx icl; do
108108
echo "SDE emulation: $flag"
109109
export SDE_FLAG=$flag
110110
sde64 -$flag -- python -c "import svs; svs.microarch.describe()"

bindings/python/tests/test_microarch.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
class MicroarchTester(unittest.TestCase):
2222
def test_microarch(self):
23-
supported_microarchs = svs.microarch.supported
2423
# Get emulated microarch from SDE_FLAG or use the host CPU
2524
host_microarch = os.environ.get("SDE_FLAG", cpu.host().name)
2625
mapping = {
@@ -34,5 +33,5 @@ def test_microarch(self):
3433
}
3534
host_microarch = mapping.get(host_microarch, host_microarch)
3635

37-
if host_microarch in supported_microarchs:
36+
if host_microarch in svs.microarch.compiled:
3837
self.assertTrue(host_microarch == svs.microarch.current)

0 commit comments

Comments
 (0)