Commit 4142fa3f authored by Kenneth Graunke's avatar Kenneth Graunke Committed by Dylan Baker
Browse files

gen_equal_tests: Move to generated_tests directory.

Rename to to better match the name of
the tests it generates.  This patch doesn't modify the contents.

v2: - print name of test for CMake tracking (Dylan)
Signed-off-by: Kenneth Graunke's avatarKenneth Graunke <>
Signed-off-by: Dylan Baker's avatarDylan Baker <>
Reviewed-by: Dylan Baker's avatarDylan Baker <>
parent bb3e527c
from __future__ import print_function
import re
......@@ -83,6 +84,9 @@ test_id = 2
for x in test_vectors:
name = "glsl-const-builtin-%s-%02d.shader_test" % ("equal", test_id)
test_id = test_id + 1
f = open(name, "w")
emit_test(f, "equal", x[0], x[1], x[2])
......@@ -100,6 +104,8 @@ for x in test_vectors:
expected = re.sub("false", "TRUE", expected)
expected = expected.lower()
f = open(name, "w")
emit_test(f, "notEqual", x[0], x[1], expected)
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