Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Sun, 12 Jun 2022 22:31:22 UTC Commit: ad304cf79afbf4dd8080417abbdd27e904b521a9 https://github.com/geany/geany/commit/ad304cf79afbf4dd8080417abbdd27e904b521...
Log Message: ----------- Use the formatting script when running unit tests
Modified Paths: -------------- tests/ctags/runner.sh
Modified: tests/ctags/runner.sh 5 lines changed, 4 insertions(+), 1 deletions(-) =================================================================== @@ -4,6 +4,7 @@ set -u
GEANY="$1" +PRINTER="${top_srcdir:-../..}"/scripts/print-tags.py TMPDIR=$(mktemp -d) || exit 99 CONFDIR="$TMPDIR/config/"
@@ -32,6 +33,8 @@ fi shift
tagfile="$TMPDIR/test.${source##*.}.tags" +outfile="$TMPDIR/test.${source##*.}.out"
"$GEANY" -c "$CONFDIR" -P -g "$tagfile" "$source" "$@" || exit 1 -diff -u "$result" "$tagfile" || exit 2 +cat "$tagfile" | "$PRINTER" > "$outfile" || exit 3 +diff -u "$result" "$outfile" || exit 2
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).