diff --git a/test/run b/test/run index 83b54fc9..c27842c8 100755 --- a/test/run +++ b/test/run @@ -9,7 +9,7 @@ main() { number_tests=0 number_failures=0 cp --recursive . $work trap "rm --recursive $work" EXIT for dir in $(find $dirs -type d); do - cd $test/$dir; test_files=$(find * | egrep 'out|selections|state') + cd $test/$dir; test_files=$(find * -name out -o -name selections -o -name state) cd $work/$dir; { IFS=¬ indent=$(repeat ' ' $(pwd | sed "s|$test||" | tr --delete --complement / | awk '{ print length }')) name=$(basename $PWD) @@ -28,6 +28,7 @@ main() { number_tests=0 number_failures=0 exec gg } exec '$( selections echo \"\$kak_selections_desc\" > state @@ -49,6 +50,9 @@ main() { number_tests=0 number_failures=0 colorize $color normal <<< $line done echo + colorize yellow normal <<< "debug buffer:" + cat debug + echo } done }