mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-27 20:02:15 +00:00
Fix a bug in build.py (#19652)
### Description Fix a bug in build.py that accidentally disabled C# tests for most builds when "--build_nuget" is specified. ### Motivation and Context The bug was introduced in PR #8892 .
This commit is contained in:
parent
8bd943be39
commit
18c8fab1ae
1 changed files with 1 additions and 1 deletions
|
|
@ -2592,7 +2592,7 @@ def main():
|
|||
raise BuildError("Using --get-api-doc requires a single build config")
|
||||
|
||||
# Disabling unit tests for GPU on nuget creation
|
||||
if args.use_openvino != "CPU_FP32" and args.build_nuget:
|
||||
if args.use_openvino and args.use_openvino != "CPU_FP32" and args.build_nuget:
|
||||
args.test = False
|
||||
|
||||
# GDK builds don't support testing
|
||||
|
|
|
|||
Loading…
Reference in a new issue