unittests: Adds a Linux HostFeatures flag

Disables two tests that don't work under Wine
This commit is contained in:
Ryan Houdek committed 2023-05-17 21:09:31 -07:00
1 parent 3a4a965347
commit 8b90caad95
5 files changed
+14 -2

No files matched your search

+2
View File
@@ -73,6 +73,7 @@ class HostFeatures(Flag) :
FEATURE_BMI1 = (1 << 6)
FEATURE_BMI2 = (1 << 7)
FEATURE_CLWB = (1 << 8)
FEATURE_LINUX = (1 << 9)
RegStringLookup = {
"NONE": Regs.REG_NONE,
@@ -145,6 +146,7 @@ HostFeaturesLookup = {
"BMI1" : HostFeatures.FEATURE_BMI1,
"BMI2" : HostFeatures.FEATURE_BMI2,
"CLWB" : HostFeatures.FEATURE_CLWB,
"LINUX" : HostFeatures.FEATURE_LINUX,
}
def parse_hexstring(s):