🔧 Update test scripts

This commit is contained in:
Simon Schneegans
2025-02-12 16:30:31 +01:00
parent 5950d4a391
commit 72d8189179
2 changed files with 18 additions and 24 deletions
+9 -12
View File
@@ -182,6 +182,10 @@ send_keystroke "Alt+F4"
echo "Entering test mode."
set_setting "test-mode" true
capture_effect "apparition"
capture_effect "broken-glass"
capture_effect "aura-glow"
capture_effect "doom"
capture_effect "energize-a"
capture_effect "energize-b"
capture_effect "fire"
@@ -190,24 +194,17 @@ capture_effect "glide"
capture_effect "glitch"
capture_effect "hexagon"
capture_effect "incinerate"
capture_effect "matrix"
capture_effect "pixelate"
capture_effect "pixel-wheel"
capture_effect "pixel-wipe"
capture_effect "portal"
capture_effect "rgb-warp"
capture_effect "snap"
capture_effect "team-rocket"
capture_effect "trex"
capture_effect "tv"
capture_effect "tv-glitch"
capture_effect "wisps"
if [[ "${FEDORA_VERSION}" -gt 32 ]] || [[ "${FEDORA_VERSION}" == "rawhide" ]]; then
capture_effect "apparition"
capture_effect "doom"
fi
if [[ "${FEDORA_VERSION}" -gt 33 ]] || [[ "${FEDORA_VERSION}" == "rawhide" ]]; then
capture_effect "trex"
capture_effect "broken-glass"
capture_effect "matrix"
capture_effect "snap"
fi
echo "All reference images generated successfully."
+9 -12
View File
@@ -203,6 +203,10 @@ send_keystroke "Alt+F4"
echo "Entering test mode."
set_setting "test-mode" true
test_effect "apparition"
test_effect "broken-glass"
test_effect "aura-glow"
test_effect "doom"
test_effect "energize-a"
test_effect "energize-b"
test_effect "fire"
@@ -211,24 +215,17 @@ test_effect "glide"
test_effect "glitch"
test_effect "hexagon"
test_effect "incinerate"
test_effect "matrix"
test_effect "pixelate"
test_effect "pixel-wheel"
test_effect "pixel-wipe"
test_effect "portal"
test_effect "rgb-warp"
test_effect "snap"
test_effect "team-rocket"
test_effect "trex"
test_effect "tv"
test_effect "tv-glitch"
test_effect "wisps"
if [[ "${FEDORA_VERSION}" -gt 32 ]] || [[ "${FEDORA_VERSION}" == "rawhide" ]]; then
test_effect "apparition"
test_effect "doom"
fi
if [[ "${FEDORA_VERSION}" -gt 33 ]] || [[ "${FEDORA_VERSION}" == "rawhide" ]]; then
test_effect "trex"
test_effect "broken-glass"
test_effect "matrix"
test_effect "snap"
fi
echo "All tests executed successfully."