Fix an indent error in build.py (#15497)

### Description
Fix an indent error in build.py

### Motivation and Context
The problem was introduced in #15395 when I was deleting unused code.
This commit is contained in:
Changming Sun 2023-04-14 06:32:46 -07:00 committed by GitHub
parent 0fdd356abf
commit f297bbb89b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View file

@ -915,7 +915,13 @@ TEST(PoolTest, AveragePool_DefaultStrides) {
test.Run(OpTester::ExpectResult::kExpectSuccess, "", {kTensorrtExecutionProvider});
}
#ifdef USE_QNN
// TODO: Unskip when fixed AB#14594
// Error message: ComposeGraph Failed to compose Qnn graph.
TEST(PoolTest, DISABLED_AveragePool_10_ceil1_2d) {
#else
TEST(PoolTest, AveragePool_10_ceil1_2d) {
#endif
// TODO: Unskip when fixed #41968513
if (DefaultDmlExecutionProvider().get() != nullptr) {
GTEST_SKIP() << "Skipping because of the following error: MLOperatorAuthorImpl.cpp(2100): The parameter is incorrect.";

View file

@ -1741,8 +1741,8 @@ def run_onnxruntime_tests(args, source_dir, ctest_path, build_dir, configs):
executables.append("onnxruntime_global_thread_pools_test")
executables.append("onnxruntime_api_tests_without_env")
executables.append("onnxruntime_customopregistration_test")
for exe in executables:
run_subprocess([os.path.join(cwd, exe)], cwd=cwd, dll_path=dll_path)
for exe in executables:
run_subprocess([os.path.join(cwd, exe)], cwd=cwd, dll_path=dll_path)
else:
ctest_cmd = [ctest_path, "--build-config", config, "--verbose", "--timeout", args.test_all_timeout]