Commit Graph

17 Commits (ad98d35a48cb45948342a3e626dcefb91d9c47e4)

Author SHA1 Message Date
David Peter 44a332c1c4 Parallelize syntax regression tests
The syntax highlighting regression tests can be trivially parallelized.
On my notebook (8 core), this results in a 3.9x speedup.
3 years ago
David Peter 27f046ec03 Consolidate environment variable lists
We want to make sure that all of our test environments are clean from
possible outside modification. This consolidates the list of used
environment variables in Rust-based and Python-based integration tests.

Note that there is also a similar list in `src/bin/bat/main.rs` which
is even more exhaustive (for bug report collection). However, some
of these variables can not possibly have an effect on test environments.
3 years ago
Mohamed Abdelnour 1ced35ec76 Add 'NOTICE' to list of file names to skip 3 years ago
David Peter 94496df3b0 Fix broken resolv.conf highlighting
closes #1510

The change in `create_highlighted_versions.py` fixes a "unknown theme
"'1337'" warning. The single quotes were wrong. `bat` was always falling
back to the default theme, so let's use that for now.
4 years ago
Zachary J. Rollyson a3f037773a feat: include dotfiles (.) in create_highlighted_versions.py search 4 years ago
sharkdp 33128d75f2 Use list.extend(…) 4 years ago
sharkdp bf87f37039 Better ask forgiveness than permission 4 years ago
sharkdp 62e715ff5b Formatting 4 years ago
Logan Saso 19b55706ee Fixed file location in creation script 4 years ago
Logan Saso 6c68198d19 Updated creation script and README to match generation script 4 years ago
Logan Saso f3c760c25f #1244 Use [].copy and path.exists instead of more cumbersome solutions
#1244 Slightly optimized create_highlighted_versions.py so that it won't walk the source path when it should be skipping the file

#1244 Updated README.md in plaintext source folder

#1244 Added extra option loading from `bat_options` file in directory and significantly reduced size of plaintext source

#1244 Updated create_highlighted_versions.py to ignore README.md files and use the --show-all option for manually-defined binary files

#1244 Updated plaintext file with command

bat -A --no-config --style=plain --color=always --theme='1337' --italic-text=always src/Plaintext/plaintext.txt > highlighted/Plaintext/plaintext.txt

#1244 Added example plaintext file
4 years ago
Mithil Poojary 6df8b3fe72 Print error message if bat not found on path 4 years ago
sharkdp 7f5d6d9791 Add SASS file for syntax tests 4 years ago
sharkdp cbe68ba84c Make sure that environment is properly set up 4 years ago
sharkdp 02a89d8ee8 Add comparison script 4 years ago
sharkdp a70efae79b Add proper CLI 4 years ago
sharkdp 78a681f027 Initial version of syntax regression tests 4 years ago