Commit f6925344 by Jamie Madill Committed by Commit Bot

Trace Tests: Update expectations.

Bug: angleproject:5530 Change-Id: I48a6dc5753406e6dd6cd1845f1f28fcbfc485e34 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2647871Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com> Reviewed-by: 's avatarTim Van Patten <timvp@google.com> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent 52afb6f1
...@@ -965,8 +965,8 @@ def main(args): ...@@ -965,8 +965,8 @@ def main(args):
end_time = time.time() end_time = time.time()
# print out results # print out results
print("\n\n\n") logging.info("\n\n\n")
print("Results:") logging.info("Results:")
for test_batch_result in result_list: for test_batch_result in result_list:
debug(str(test_batch_result)) debug(str(test_batch_result))
passed_count += len(test_batch_result.passes) passed_count += len(test_batch_result.passes)
...@@ -987,9 +987,9 @@ def main(args): ...@@ -987,9 +987,9 @@ def main(args):
for skipped_test in test_batch_result.skips: for skipped_test in test_batch_result.skips:
skipped_tests.append(skipped_test) skipped_tests.append(skipped_test)
print("\n\n") logging.info("\n\n")
print("Elapsed time: %.2lf seconds" % (end_time - start_time)) logging.info("Elapsed time: %.2lf seconds" % (end_time - start_time))
print( logging.info(
"Passed: %d, Comparison Failed: %d, Crashed: %d, CompileFailed %d, Skipped: %d, Timeout: %d" "Passed: %d, Comparison Failed: %d, Crashed: %d, CompileFailed %d, Skipped: %d, Timeout: %d"
% (passed_count, failed_count, crashed_count, compile_failed_count, skipped_count, % (passed_count, failed_count, crashed_count, compile_failed_count, skipped_count,
timedout_count)) timedout_count))
...@@ -997,28 +997,28 @@ def main(args): ...@@ -997,28 +997,28 @@ def main(args):
retval = EXIT_SUCCESS retval = EXIT_SUCCESS
if len(failed_tests): if len(failed_tests):
print("Comparison Failed tests:") logging.info("Comparison Failed tests:")
for failed_test in sorted(failed_tests): for failed_test in sorted(failed_tests):
print("\t" + failed_test) logging.info(" " + failed_test)
retval = EXIT_FAILURE retval = EXIT_FAILURE
if len(crashed_tests): if len(crashed_tests):
print("Crashed tests:") logging.info("Crashed tests:")
for crashed_test in sorted(crashed_tests): for crashed_test in sorted(crashed_tests):
print("\t" + crashed_test) logging.info(" " + crashed_test)
retval = EXIT_FAILURE retval = EXIT_FAILURE
if len(compile_failed_tests): if len(compile_failed_tests):
print("Compile failed tests:") logging.info("Compile failed tests:")
for compile_failed_test in sorted(compile_failed_tests): for compile_failed_test in sorted(compile_failed_tests):
print("\t" + compile_failed_test) logging.info(" " + compile_failed_test)
retval = EXIT_FAILURE retval = EXIT_FAILURE
if len(skipped_tests): if len(skipped_tests):
print("Skipped tests:") logging.info("Skipped tests:")
for skipped_test in sorted(skipped_tests): for skipped_test in sorted(skipped_tests):
print("\t" + skipped_test) logging.info(" " + skipped_test)
if len(timed_out_tests): if len(timed_out_tests):
print("Timeout tests:") logging.info("Timeout tests:")
for timeout_test in sorted(timed_out_tests): for timeout_test in sorted(timed_out_tests):
print("\t" + timeout_test) logging.info(" " + timeout_test)
retval = EXIT_FAILURE retval = EXIT_FAILURE
# delete generated folders if --keep_temp_files flag is set to false # delete generated folders if --keep_temp_files flag is set to false
...@@ -1028,6 +1028,10 @@ def main(args): ...@@ -1028,6 +1028,10 @@ def main(args):
if os.path.isdir(args.out_dir): if os.path.isdir(args.out_dir):
SafeDeleteFolder(args.out_dir) SafeDeleteFolder(args.out_dir)
# Try hard to ensure output is finished before ending the test.
logging.shutdown()
sys.stdout.flush()
time.sleep(2.0)
return retval return retval
except KeyboardInterrupt: except KeyboardInterrupt:
......
...@@ -16,6 +16,8 @@ BindUniformLocationTest.SamplerLocation/* ...@@ -16,6 +16,8 @@ BindUniformLocationTest.SamplerLocation/*
BindUniformLocationTest.UnusedUniformUpdate/* BindUniformLocationTest.UnusedUniformUpdate/*
BindUniformLocationTest.UnusedUniformUpdateComplex/* BindUniformLocationTest.UnusedUniformUpdateComplex/*
BindUniformLocationTest.UseSamplerWhenUnusedUniforms/* BindUniformLocationTest.UseSamplerWhenUnusedUniforms/*
ClearTest.Depth16Scissored/*
ClearTest.InceptionScissorClears/*
ClientArraysTest.* ClientArraysTest.*
CopyTexImageTest.* CopyTexImageTest.*
CopyTextureTestWebGL.* CopyTextureTestWebGL.*
...@@ -25,6 +27,7 @@ EGLContextASANTest.* ...@@ -25,6 +27,7 @@ EGLContextASANTest.*
EGLContextSharingTest.TextureLifetime/* EGLContextSharingTest.TextureLifetime/*
FramebufferTest.MultiContextNoRenderingFeedbackLoops/* FramebufferTest.MultiContextNoRenderingFeedbackLoops/*
GetTexLevelParameterTest.ExtensionStringExposed/* GetTexLevelParameterTest.ExtensionStringExposed/*
GLSLTest.InactiveVaryingInVertexActiveInFragment/*
InstancingTest.LineLoop/* InstancingTest.LineLoop/*
MaxTextureSizeTest.* MaxTextureSizeTest.*
MultisampledRenderToTextureTest.FramebufferCompleteness/* MultisampledRenderToTextureTest.FramebufferCompleteness/*
...@@ -35,6 +38,7 @@ PbufferTest.TextureSizeReset/* ...@@ -35,6 +38,7 @@ PbufferTest.TextureSizeReset/*
RequestExtensionTest.ExtensionsDisabledByDefault/* RequestExtensionTest.ExtensionsDisabledByDefault/*
RequestExtensionTest.Queries/* RequestExtensionTest.Queries/*
RobustBufferAccessBehaviorTest.DynamicBuffer/* RobustBufferAccessBehaviorTest.DynamicBuffer/*
SimpleStateChangeTest.DrawAndClearTextureRepeatedly/*
SimpleStateChangeTest.RebindTranslatedAttribute/* SimpleStateChangeTest.RebindTranslatedAttribute/*
Texture2DDepthTest.DepthTextureES2Compatibility/* Texture2DDepthTest.DepthTextureES2Compatibility/*
TextureCubeTest.* TextureCubeTest.*
...@@ -44,6 +48,10 @@ WebGLDrawElementsTest.* ...@@ -44,6 +48,10 @@ WebGLDrawElementsTest.*
WebGLGLSLTest.* WebGLGLSLTest.*
WebGLReadOutsideFramebufferTest.* WebGLReadOutsideFramebufferTest.*
# Has undefined framebuffer pixels. This fails comparison checks.
SimpleOperationTest.ClearAndSwap/*
SimpleOperationTest.DrawQuadAndSwap/*
# Crashed tests # Crashed tests
BlendMinMaxTest.* BlendMinMaxTest.*
BlitFramebufferANGLETest.* BlitFramebufferANGLETest.*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment