From b4ff21d48d55186d398f41c6a5e639dbccf0869f Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Tue, 30 Jul 2024 21:17:21 +0100 Subject: [PATCH] tests: add a trivial test of universal rules Signed-off-by: Yuxuan Shui --- tests/configs/issue239_universal.conf | 8 ++++++++ tests/run_tests.sh | 1 + 2 files changed, 9 insertions(+) create mode 100644 tests/configs/issue239_universal.conf diff --git a/tests/configs/issue239_universal.conf b/tests/configs/issue239_universal.conf new file mode 100644 index 0000000000..4c1001a3cf --- /dev/null +++ b/tests/configs/issue239_universal.conf @@ -0,0 +1,8 @@ +fading = true; +fade-in-step = 1; +fade-out-step = 0.01; +shadow = true; +rules = ({ +match = "name = 'NoShadow'"; +shadow = false; +}) diff --git a/tests/run_tests.sh b/tests/run_tests.sh index e74fcdd4cd..95c455c87f 100755 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -8,6 +8,7 @@ eval `dbus-launch --sh-syntax` ./run_one_test.sh $exe configs/empty.conf testcases/basic.py ./run_one_test.sh $exe configs/issue357.conf testcases/issue357.py ./run_one_test.sh $exe configs/issue239.conf testcases/issue239.py +./run_one_test.sh $exe configs/issue239_universal.conf testcases/issue239.py ./run_one_test.sh $exe configs/issue239_2.conf testcases/issue239_2.py ./run_one_test.sh $exe configs/issue239_3.conf testcases/issue239_3.py ./run_one_test.sh $exe configs/issue239_3.conf testcases/issue239_3_norefresh.py