mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
Fixup the performance testing script.
This commit is contained in:
parent
780c1b3e6a
commit
08330f1c56
1 changed files with 1 additions and 9 deletions
|
|
@ -74,12 +74,4 @@ run_test() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Process each test data file in test data directory.
|
run_test
|
||||||
local data_file
|
|
||||||
TIMEFMT="%*Es"
|
|
||||||
{ time (for data_file in ${0:h:h}/highlighters/$1/test-data/cthulhu.zsh; do
|
|
||||||
run_test "$data_file"
|
|
||||||
(( $pipestatus[1] )) && exit 2
|
|
||||||
done) } 2>&1 || exit $?
|
|
||||||
|
|
||||||
exit 0
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue