Kevin Backhouse
4a6d786256
Fix test failures on 32-bit platforms.
2 years ago
Christoph Hasse
b318b9de65
feat(testing): add a new extensive regression test that runs exiv2 over every test file we have
3 years ago
Christoph Hasse
d0131ebb75
move test reference files into their own subdirectory
3 years ago
Robin Mills
13a2cf336d
fix_1416_iptc_DateCreated ( #1547 )
...
* fix_1416_iptc_DateCreated
* Fix unit tests
* DateValue:read 2nd iteration on pre-condition
* test with ISO_8601 date format
* Use std::regex for ISO 8601 basic & extended date formats
* Use std::regex for ISO 8601 basic & extended time formats
* Add more tests & notes for DateValue & TimeValue
* Comment tests using local calendar times
* DateValue::write also adds padding to year field
Co-authored-by: Luis Díaz Más <piponazo@gmail.com>
4 years ago
Robin Mills
5c13660f1e
Add optional parameter forgive=False to reportTest() for use by nls_test to avoid false fails.
4 years ago
Robin Mills
bbec658185
Fix LD_LIBRARY_PATH. Add option arg raw=False to runTest() Use raw=True in unit_test.py.
4 years ago
Robin Mills
354a8f6971
Fix comments.
4 years ago
Robin Mills
19aab434a5
Move system_tests.runTest() and system_tests.verbose_version() to system_tests.BT
4 years ago
clanmills
985617cdfc
Adding support for VALGRIND and EXIV2_BINDIR
5 years ago
clanmills
43698f414b
Adding support for environment strings EXIV2_HTTP and EXIV2_PORT
5 years ago
clanmills
d6b029ad6e
Don't set --verbose in makefile. Don't treat exiv2_echo == VERBOSE.
5 years ago
LeoHsiao
da919e3d68
Set the default value for the variable VALGRIN to empty
5 years ago
LeoHsiao
0c7d231752
let `make python_tests` runs in verbose mode
5 years ago
LeoHsiao
e0486ec063
Set the variable EXIV2_ECHO when executing `make python_tests VERBOSE=1`
5 years ago
LeoHsiao
3aedb60513
Support variables: DYLD_LIBRARY_PATH, LD_LIBRARY_PATH
5 years ago
LeoHsiao
ded2b3c9a3
Support to display the command to execute
5 years ago
LeoHsiao
5e11376609
Supports setting EXIV2_HTTP or EXIV2_PORT to '' to ignore HTTP test
5 years ago
LeoHsiao
076cdf6f1e
Fix nls_test(): Check only part of the output
5 years ago
LeoHsiao
64e64b4a9b
Enhance function find(), cp(), rm(), mv()
5 years ago
Robin Mills
02b6990f00
Merge pull request #1301 from LeoHsiao1/0.27-maintenance
...
Continue to rewrite the bash test scripts into Python scripts
5 years ago
LeoHsiao
184af474d0
Refactor write-test.sh to write_test()
5 years ago
LeoHsiao
7c45ce4dec
Optimize diff()
5 years ago
LeoHsiao
2d72d9aac5
Add description for the module lxml
5 years ago
LeoHsiao
ae1d95d4fa
Refactor tiff-test.sh to tiff_test()
5 years ago
LeoHsiao
65927f5ce1
Refactor stdin-test.sh to stdin_test()
5 years ago
clanmills
14e8c708ed
Fix #1300
5 years ago
LeoHsiao
478f0e9635
Add find()
5 years ago
LeoHsiao
cec472132d
Refactor function execute() to class Executer
5 years ago
LeoHsiao
63b074d690
Deprecated Config.exiv2_ext
5 years ago
LeoHsiao
e976d3795a
Ignore conversions_test() output differences on Windows
5 years ago
LeoHsiao
daa2a6fda5
Ignore printTest() output differences on Windows
5 years ago
LeoHsiao
caa1acf197
Adjust the format of the command on Windows
5 years ago
LeoHsiao
c7bf5dd12a
Adjust line breaks, binary extension on Windows
5 years ago
LeoHsiao
7fc960c520
Add environment variables: EXIV2_HTTP, EXIV2_PORT
5 years ago
LeoHsiao
788f78987c
Modify printTest(): Ignore the difference of data_dir
5 years ago
LeoHsiao
23b759bffa
Refactor iptctest.sh to iptc_test()
5 years ago
LeoHsiao
ae6976e3e2
Add functions: diff_byte(), diffCheck()
5 years ago
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
5 years ago
LeoHsiao
b6bf32bd5f
Rename test cases from 'test*()' format to '*test()' format
5 years ago
LeoHsiao
ca06206f50
Rename class 'Conf' to 'Config'
5 years ago
LeoHsiao
cfaf4e6fa2
Refactor imagetest.sh to test_image()
5 years ago
LeoHsiao
b900cea6cf
Rewrite diff() to simulate the output of GNU diff
5 years ago
LeoHsiao
bdf350a2a9
Refactor exiv2-test.sh to test_exiv2()
5 years ago
LeoHsiao
4dc38ab6a2
Add class 'Output' to simulate the stdout buffer
5 years ago
LeoHsiao
d1cb43f360
Remove copyTestFiles()
5 years ago
LeoHsiao
2778125b79
Completed test_io()
5 years ago
LeoHsiao
6f6699c043
Optimize Conf.init() in bash_tests.utils
5 years ago
LeoHsiao
a312e7ed92
Optimize cat(), save() and excute() to handle bytes type content
5 years ago
LeoHsiao
6e1c8bc427
Add excute() to replace runTest()
5 years ago
LeoHsiao
d916a60341
Optimize class 'Log' and add class 'Conf'
5 years ago