Commit Graph

88 Commits

Author SHA1 Message Date
Thomas Jensen
365dcea348
Improve testrunner when BOXES env var already set 2021-03-19 16:40:55 +01:00
Thomas Jensen
278246bde7
Move most generated files and binaries to 'out' dir
Better separation of sources and binaries
Fewer files in 'src' dir
2021-03-19 16:40:54 +01:00
Thomas Jensen
3f401a551a
Remove skip-test feature from testrunner.sh
It was quite cool, but we don't need it right now.
2021-03-19 16:40:54 +01:00
Thomas Jensen
d952bd6eea
Unify config file search order Linux/Unix and Windows #69
This means we have some XDG support on Windows, too,
although some global locations like /etc/xdg are unlikely to exist.
2021-03-19 16:40:53 +01:00
Thomas Jensen
68098e4480
Add test cases and test runner improvements for testing #69 2021-03-19 16:40:53 +01:00
Thomas Jensen
877336a114
Add support for XDG base directories #69
for config file discovery. Also, the config file is searched in
more places, and can have more names. Details in issue comments.
2021-03-19 16:40:53 +01:00
Thomas Jensen
b38e8f527b
Explicitly set UTF-8 charset in unicode test cases (forgot 114) #73 2021-02-19 10:34:48 +01:00
Thomas Jensen
352a7b6d5d
Add test cases for removal of colored boxes 2021-02-15 21:10:57 +01:00
Thomas Jensen
beb8696a79
Add error test case for unterminated strings in the config file 2021-02-15 21:10:56 +01:00
Thomas Jensen
ac8617b383
Clean up config file 2021-02-15 21:10:56 +01:00
Thomas Jensen
a841777007
Improve attribution of Joan Stark's work in resulting boxes 2021-02-15 21:10:56 +01:00
Thomas Jensen
eeb5e5d372
Improve test runner to handle windows line breaks in :ARGS spec 2021-02-15 21:10:55 +01:00
Thomas Jensen
fc7f881767
Explicitly set UTF-8 charset in unicode test cases
so that they don't fail on systems where UTF-8 is not properly set on the terminal #1
2021-02-15 21:10:54 +01:00
Thomas Jensen
f4f14cdc61
Update copyright statements in source files with current year 2021-02-15 21:10:54 +01:00
Thomas Jensen
363e0266e0
Add test cases for unicode and invalid manual encoding #1 2021-02-15 20:35:29 +01:00
Thomas Jensen
c370772ee0
Switch test runner output filter sed to extended regex (-E) 2021-02-15 20:35:29 +01:00
Thomas Jensen
12fa4ea57e
Add test cases for colored unicode 'headline' design #1
This design uses complex regular expressions, which must work on unicode characters.
2021-02-15 20:35:28 +01:00
Thomas Jensen
44c2c526af
Add command line option -n to set character encoding of input text #1 2021-02-15 20:35:20 +01:00
Thomas Jensen
4c656727ec
Add advance_next32() function to 'unicode' module to encapsulate the escape handling logic #1 2021-02-13 11:01:55 +01:00
Thomas Jensen
91d1971cca
Fix handling of colored whitespace #1 2021-02-13 11:01:53 +01:00
Ben Dimbeck
a253fe105a Test cases for ANSI 2020-07-17 20:58:59 +02:00
Thomas Jensen
7e3640481b
Fix test cases again 2019-05-25 14:59:03 +02:00
Thomas Jensen
2b17b60716
Move some test designs out of the official config file 2019-05-23 21:32:06 +02:00
Thomas Jensen
fbfbd29f5b
Fix test cases for changed box design info 2019-05-21 21:44:46 +02:00
Thomas Jensen
ae96f13797
Apply -q to box creation 2019-02-28 21:29:34 +01:00
Thomas Jensen
f6bae3493d Adapt 2 test cases for homebrew 64-bit #38 2017-03-14 21:47:53 +01:00
Thomas Jensen
af85c0c255 Evaluate new 'designer' keyword and show it in box design information output #22 2016-01-05 22:39:11 +01:00
unknown
45660818c8 Added 2 test cases for -l -d option 2014-10-14 20:11:32 +02:00
Thomas Jensen
b029347429 Added output filter feature to test runner for cross-platform test compatibility 2014-10-11 21:48:06 +02:00
Thomas Jensen
c7c7329659 testrunner.sh uses boxes.exe if present, else standard boxes to better support win32 2014-10-09 21:28:14 +02:00
Thomas Jensen
ef5a5a97ab Added 1 test case on tab expansion 2014-10-01 23:17:06 +02:00
Thomas Jensen
7df06c8f45 Added 10 test cases for tab handling 2014-09-30 23:22:53 +02:00
Thomas Jensen
26fd6fbce7 Added some test cases for size option 2014-09-28 22:37:16 +02:00
Thomas Jensen
b8f0f6fc2c Added some test cases for size option 2014-09-28 22:34:26 +02:00
Thomas Jensen
3a50173447 Added several test cases about alignment 2014-09-27 23:14:34 +02:00
Thomas Jensen
897952de06 Added several test cases about alignment 2014-09-27 23:08:43 +02:00
Thomas Jensen
727d38eb9c Updated Travis CI link
new test 004_missing_option_argument
2014-09-24 15:09:38 +02:00
Thomas Jensen
724890bb72 Added low-tech test mechanism 2014-09-24 09:51:28 +02:00