From 886c7b680928276d7f925d30fc206ca27d9a97d1 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Fri, 9 Dec 2022 15:24:55 +0100 Subject: Add tests and readme --- tests/test_cases/cflags/TARGETS | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/test_cases/cflags/TARGETS (limited to 'tests/test_cases/cflags/TARGETS') diff --git a/tests/test_cases/cflags/TARGETS b/tests/test_cases/cflags/TARGETS new file mode 100644 index 0000000..44c99f1 --- /dev/null +++ b/tests/test_cases/cflags/TARGETS @@ -0,0 +1,19 @@ +{ "public": + { "type": ["test_rules", "test_case"] + , "name": ["cflags_public"] + , "targets": + [ "+main_use_half3" + , "+test_use_half3" + , "+main_use_half3f" + , "+test_use_half3f" + ] + , "asserts": + [ "./main_use_half3/main_use_half3 | grep 1.5" + , "[ \"$(cat ./test_use_half3/result)\" = \"PASS\" ]" + , "./main_use_half3f/main_use_half3f | grep 1.5" + , "[ \"$(cat ./test_use_half3f/result)\" = \"PASS\" ]" + ] + , "data": [["TREE", null, "public"]] + } +, "ALL": {"type": "install", "deps": ["public"], "tainted": ["test"]} +} -- cgit v1.2.3