tests/themes/run.sh: distinguish header from tests/run.sh
This commit is contained in:
parent
730b706217
commit
062f9d6a15
|
@ -15,12 +15,12 @@ tests_dir="$(dirname -- "$0")/.."
|
||||||
|
|
||||||
config_file="$build_dir/test-themes-awesomerc.lua"
|
config_file="$build_dir/test-themes-awesomerc.lua"
|
||||||
|
|
||||||
for theme in themes/*/theme.lua; do
|
for theme_file in themes/*/theme.lua; do
|
||||||
echo "== Testing $theme =="
|
echo "==== Testing theme: $theme_file ===="
|
||||||
theme=${theme%/*}
|
theme_name=${theme_file%/*}
|
||||||
theme=${theme##*/}
|
theme_name=${theme_name##*/}
|
||||||
|
|
||||||
sed "s~default/theme~$theme/theme~g" "awesomerc.lua" > "$config_file"
|
sed "s~default/theme~$theme_name/theme~g" "awesomerc.lua" > "$config_file"
|
||||||
|
|
||||||
# Set CMAKE_BINARY_DIR for out-of-tree builds.
|
# Set CMAKE_BINARY_DIR for out-of-tree builds.
|
||||||
CMAKE_BINARY_DIR="$PWD" \
|
CMAKE_BINARY_DIR="$PWD" \
|
||||||
|
|
Loading…
Reference in New Issue