aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/system/.zsh/modules/Test/runtests.zsh
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-01-26 17:36:38 -0600
committerCraig Jennings <c@cjennings.net>2026-01-26 17:36:38 -0600
commitcd8d0be8d8759f31bc931a76ab737a621a14116e (patch)
treed0d145bdbc9b3f4c2ce3327e4ce5a258f651c167 /dotfiles/system/.zsh/modules/Test/runtests.zsh
parent389a68c1010cc304e8b19ff8b397414a0554675f (diff)
downloadarchsetup-cd8d0be8d8759f31bc931a76ab737a621a14116e.tar.gz
archsetup-cd8d0be8d8759f31bc931a76ab737a621a14116e.zip
refactor(dotfiles): rename system/ to common/ and remove unused configs
Rename dotfiles/system to dotfiles/common for clarity - indicates shared dotfiles used across all desktop environments (DWM, Hyprland). Removed config directories for uninstalled applications: - ghostty (using different terminal) - lf (using ranger instead) - mopidy (using mpd instead) - nitrogen (X11-only, obsolete for Wayland) - pychess (not installed) - JetBrains (not installed via archsetup) - youtube-dl (using yt-dlp with different config location) Kept audacious config for potential future use. Updated all references in archsetup, CLAUDE.md, todo.org, and validation.sh. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'dotfiles/system/.zsh/modules/Test/runtests.zsh')
-rw-r--r--dotfiles/system/.zsh/modules/Test/runtests.zsh27
1 files changed, 0 insertions, 27 deletions
diff --git a/dotfiles/system/.zsh/modules/Test/runtests.zsh b/dotfiles/system/.zsh/modules/Test/runtests.zsh
deleted file mode 100644
index 562234d..0000000
--- a/dotfiles/system/.zsh/modules/Test/runtests.zsh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/zsh -f
-
-emulate zsh
-
-# Run all specified tests, keeping count of which succeeded.
-# The reason for this extra layer above the test script is to
-# protect from catastrophic failure of an individual test.
-# We could probably do that with subshells instead.
-
-integer success failure skipped retval
-for file in "${(f)ZTST_testlist}"; do
- $ZTST_exe +Z -f $ZTST_srcdir/ztst.zsh $file
- retval=$?
- if (( $retval == 2 )); then
- (( skipped++ ))
- elif (( $retval )); then
- (( failure++ ))
- else
- (( success++ ))
- fi
-done
-print "**************************************
-$success successful test script${${success:#1}:+s}, \
-$failure failure${${failure:#1}:+s}, \
-$skipped skipped
-**************************************"
-return $(( failure ? 1 : 0 ))