mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-11-07 09:16:08 -10:00
Scripts: Fixes guest mode check in guest test runner
This is supposed to be used for checking if FEX needs to have AVX enabled. This was never wired up.
This commit is contained in:
1 file changed
+2
-2
@@ -3,7 +3,7 @@ import os
|
||||
import sys
|
||||
# NB: This script is run with the "-S" flag, and therefore it can only use the Python standard library.
|
||||
|
||||
def DoesFEXSupportAVX(mode):
|
||||
def DoesFEXSupportAVX():
|
||||
# Check if FEX indicates support for AVX
|
||||
|
||||
# Import this here lazily to save on startup time
|
||||
@@ -95,7 +95,7 @@ fexecutable = sys.argv[7]
|
||||
StartingFEXArgsOffset = 8
|
||||
|
||||
# If the test requires AVX and FEX doesn't support it, just pass the test and move on
|
||||
if TestRequiresAVXSupport() and not DoesFEXSupportAVX(mode):
|
||||
if mode == "guest" and TestRequiresAVXSupport() and not DoesFEXSupportAVX():
|
||||
sys.exit(0)
|
||||
|
||||
# Open test expected information files and load in to dictionaries.
|
||||
|
||||
Reference in new issue
Block a user