Commit Graph

47 Commits

Author SHA1 Message Date
clanmills
985617cdfc Adding support for VALGRIND and EXIV2_BINDIR 2020-10-23 17:30:56 +01:00
clanmills
43698f414b Adding support for environment strings EXIV2_HTTP and EXIV2_PORT 2020-10-23 16:05:51 +01:00
clanmills
d6b029ad6e Don't set --verbose in makefile. Don't treat exiv2_echo == VERBOSE. 2020-10-22 15:25:48 +01:00
LeoHsiao
da919e3d68 Set the default value for the variable VALGRIN to empty 2020-10-22 22:14:51 +08:00
LeoHsiao
0c7d231752 let make python_tests runs in verbose mode 2020-10-22 19:23:51 +08:00
LeoHsiao
e0486ec063 Set the variable EXIV2_ECHO when executing make python_tests VERBOSE=1 2020-10-21 23:04:20 +08:00
LeoHsiao
3aedb60513 Support variables: DYLD_LIBRARY_PATH, LD_LIBRARY_PATH 2020-10-21 20:58:51 +08:00
LeoHsiao
ded2b3c9a3 Support to display the command to execute 2020-10-21 20:45:13 +08:00
LeoHsiao
5e11376609 Supports setting EXIV2_HTTP or EXIV2_PORT to '' to ignore HTTP test 2020-10-18 21:07:35 +08:00
LeoHsiao
076cdf6f1e Fix nls_test(): Check only part of the output 2020-10-18 19:32:47 +08:00
LeoHsiao
64e64b4a9b Enhance function find(), cp(), rm(), mv() 2020-10-12 23:06:59 +08:00
Robin Mills
02b6990f00
Merge pull request #1301 from LeoHsiao1/0.27-maintenance
Continue to rewrite the bash test scripts into Python scripts
2020-09-30 16:57:52 +01:00
LeoHsiao
184af474d0 Refactor write-test.sh to write_test() 2020-09-19 14:54:36 +08:00
LeoHsiao
7c45ce4dec Optimize diff() 2020-09-19 14:47:19 +08:00
LeoHsiao
2d72d9aac5 Add description for the module lxml 2020-09-16 22:41:01 +08:00
LeoHsiao
ae1d95d4fa Refactor tiff-test.sh to tiff_test() 2020-09-16 22:22:08 +08:00
LeoHsiao
65927f5ce1 Refactor stdin-test.sh to stdin_test() 2020-09-14 20:00:40 +08:00
clanmills
14e8c708ed Fix #1300 2020-09-13 10:27:02 +01:00
LeoHsiao
478f0e9635 Add find() 2020-09-06 23:04:48 +08:00
LeoHsiao
cec472132d Refactor function execute() to class Executer 2020-09-06 21:43:31 +08:00
LeoHsiao
63b074d690 Deprecated Config.exiv2_ext 2020-09-06 13:11:20 +08:00
LeoHsiao
e976d3795a Ignore conversions_test() output differences on Windows 2020-09-03 23:31:09 +08:00
LeoHsiao
daa2a6fda5 Ignore printTest() output differences on Windows 2020-09-03 23:00:19 +08:00
LeoHsiao
caa1acf197 Adjust the format of the command on Windows 2020-09-03 22:29:20 +08:00
LeoHsiao
c7bf5dd12a Adjust line breaks, binary extension on Windows 2020-09-02 23:07:57 +08:00
LeoHsiao
7fc960c520 Add environment variables: EXIV2_HTTP, EXIV2_PORT 2020-09-01 23:19:11 +08:00
LeoHsiao
788f78987c Modify printTest(): Ignore the difference of data_dir 2020-08-31 01:10:10 +08:00
LeoHsiao
23b759bffa Refactor iptctest.sh to iptc_test() 2020-08-30 22:18:47 +08:00
LeoHsiao
ae6976e3e2 Add functions: diff_byte(), diffCheck() 2020-08-30 22:16:06 +08:00
LeoHsiao
4457056157 Mainly optimize utils.py:
- Correct the function name excute() to execute(), and add the stdin parameter to it
- Add logs to class 'HttpServer'
- Adjust the code order in utils.py
2020-08-30 22:15:11 +08:00
LeoHsiao
b6bf32bd5f Rename test cases from 'test*()' format to '*test()' format 2020-08-27 23:12:10 +08:00
LeoHsiao
ca06206f50 Rename class 'Conf' to 'Config' 2020-08-27 20:40:34 +08:00
LeoHsiao
cfaf4e6fa2 Refactor imagetest.sh to test_image() 2020-08-25 22:37:21 +08:00
LeoHsiao
b900cea6cf Rewrite diff() to simulate the output of GNU diff 2020-08-24 22:25:35 +08:00
LeoHsiao
bdf350a2a9 Refactor exiv2-test.sh to test_exiv2() 2020-08-24 00:13:51 +08:00
LeoHsiao
4dc38ab6a2 Add class 'Output' to simulate the stdout buffer 2020-08-23 22:16:45 +08:00
LeoHsiao
d1cb43f360 Remove copyTestFiles() 2020-08-23 17:09:29 +08:00
LeoHsiao
2778125b79 Completed test_io() 2020-08-22 19:35:01 +08:00
LeoHsiao
6f6699c043 Optimize Conf.init() in bash_tests.utils 2020-08-22 15:07:10 +08:00
LeoHsiao
a312e7ed92 Optimize cat(), save() and excute() to handle bytes type content 2020-08-21 22:32:47 +08:00
LeoHsiao
6e1c8bc427 Add excute() to replace runTest() 2020-08-21 21:47:04 +08:00
LeoHsiao
d916a60341 Optimize class 'Log' and add class 'Conf' 2020-08-21 21:38:40 +08:00
LeoHsiao
7753fb909d Add functions: mv, md5sum 2020-08-16 21:03:36 +08:00
LeoHsiao
37170f4d25 Add some functions to replace shell commands: cp, rm, cat, grep, save, diff 2020-08-16 18:31:29 +08:00
LeoHsiao
d19842b198 Define a class 'Log' to merge logs into Python exception message 2020-08-15 22:26:16 +08:00
LeoHsiao
2d0039b3f5 Add default parameter value to the function 'runTest' 2020-08-15 20:29:38 +08:00
LeoHsiao
6773c6c74b Rename bash_test to bash_tests 2020-08-12 20:24:39 +08:00