
import sys

sys.path.insert(0, '../..')
import test_harness

test_harness.register_render_test('render_texture', ['main.cpp'],
                                  '2ec4cc681873bc5978617e347d46f3b38230a3a0',
                                  targets=['emulator'])
test_harness.execute_tests()


import sys

sys.path.insert(0, '../..')
import test_harness

test_harness.register_render_test('render_texture', ['main.cpp'],
                                  'feb853e1a54d4ba2ce394142ea6119d5e401a60b',
                                  targets=['emulator'])
test_harness.execute_tests()

Fix failing test caused by new toolchain
Fix failing test caused by new toolchain

The challenge with floating point values in tests is that the value can
change slightly based on the order of operations, which can legally
be affected by optimizations. The results aren't visible (often just
1 ULP), but the tests validate exact bit patterns.

This test would be more robust if it did a comparison with the target image
and allowed some small amount of variability. Currently it computes a SHA
checksum of the framebuffer.

Updated the checksum for the new toolchain.

  
  import sys
  
  sys.path.insert(0, '../..')
  import test_harness
  
  test_harness.register_render_test('render_texture', ['main.cpp'],
-                                   '2ec4cc681873bc5978617e347d46f3b38230a3a0',
+                                   'feb853e1a54d4ba2ce394142ea6119d5e401a60b',
                                    targets=['emulator'])
  test_harness.execute_tests()
  
Fix failing test caused by new toolchain
## Code Before:

import sys

sys.path.insert(0, '../..')
import test_harness

test_harness.register_render_test('render_texture', ['main.cpp'],
                                  '2ec4cc681873bc5978617e347d46f3b38230a3a0',
                                  targets=['emulator'])
test_harness.execute_tests()

## Instruction:
Fix failing test caused by new toolchain
## Code After:

import sys

sys.path.insert(0, '../..')
import test_harness

test_harness.register_render_test('render_texture', ['main.cpp'],
                                  'feb853e1a54d4ba2ce394142ea6119d5e401a60b',
                                  targets=['emulator'])
test_harness.execute_tests()
