From 08330f1c567a7b4fa5bc1d995da153bea0460b1d Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Mon, 4 May 2020 20:35:05 +0000 Subject: [PATCH] Fixup the performance testing script. --- tests/test-zprof.zsh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/tests/test-zprof.zsh b/tests/test-zprof.zsh index 5c4445c..2538f7d 100755 --- a/tests/test-zprof.zsh +++ b/tests/test-zprof.zsh @@ -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