mirror of
https://github.com/sharkdp/bat.git
synced 2025-08-16 02:59:17 +02:00
Add comparison script
This commit is contained in:
15
tests/syntax-tests/regression_test.sh
vendored
Normal file
15
tests/syntax-tests/regression_test.sh
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eou pipefail
|
||||
|
||||
script_directory="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
|
||||
output_directory=$(mktemp -d --suffix=.bat-syntax-regression-test)
|
||||
|
||||
"$script_directory"/create_highlighted_versions.py --output="$output_directory"
|
||||
|
||||
echo
|
||||
|
||||
"$script_directory"/compare_highlighted_versions.py \
|
||||
"$script_directory/highlighted" \
|
||||
"$output_directory"
|
Reference in New Issue
Block a user