mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-04-17 11:35:32 +08:00
Fixup the performance testing script.
This commit is contained in:
parent
780c1b3e6a
commit
08330f1c56
@ -74,12 +74,4 @@ run_test() {
|
||||
}
|
||||
}
|
||||
|
||||
# Process each test data file in test data directory.
|
||||
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
|
||||
run_test
|
||||
|
Loading…
Reference in New Issue
Block a user