Commit Graph

61 Commits

Author SHA1 Message Date
Luis Díaz Más
941017d281
Fix issues on ARM builds (#2205)
* Specify base class initialization in Copy Constructor

* Fix printing of uint64_t variable in ARM 32bits

Use cinttypes

* Fix alignment issues on ARM 32 bits

* tests: add assertion with custom message
2022-04-13 15:22:22 +02:00
Robin Mills
5c13660f1e Add optional parameter forgive=False to reportTest() for use by nls_test to avoid false fails. 2021-03-18 16:50:53 +00:00
LeoHsiao
7abb8dbe0f Cancel adding a newline when testing 2020-10-22 22:52:14 +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
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
068a80c1e2 Correct the output of exiv2-test 2020-10-17 19:34:46 +08:00
Robin Mills
55bdaafebf
Merge pull request #1341 from Exiv2/fix_1278_nls_test_0.27
Fix 1278 nls test 0.27
2020-10-14 14:01:07 +01:00
LeoHsiao
ae1fbab645 Fix variable LANG in nls_test() 2020-10-14 19:52:32 +08:00
Robin Mills
256a65753c https://github.com/Exiv2/exiv2/pull/1356#issuecomment-707828789 2020-10-13 16:53:37 +01:00
LeoHsiao
fc91004830 add nls_test() 2020-10-12 23:08:59 +08:00
LeoHsiao
64e64b4a9b Enhance function find(), cp(), rm(), mv() 2020-10-12 23:06:59 +08:00
clanmills
9fa6d3965a C++ changes requested by @piponazo. Fix python png_test() recommended by @LeoHsiao1. Update reference output. 2020-10-09 18:50:27 +01:00
clanmills
834dca39d0 Code changes 2020-10-09 06:40:28 +01:00
clanmills
0d6f9fcc04 temporarily disable stdin-test and webp-test to get the CI operational again. 2020-10-01 19:58:47 +01:00
LeoHsiao
0d7425014f Fix webp_test: correct a test file name 2020-09-30 21:50:07 +08:00
LeoHsiao
c7c1fcee59 Ignore the difference in the path separator for stdin_test 2020-09-28 22:03:25 +08:00
LeoHsiao
eb4bc191fc Refactor xmpparser-test.sh to xmpparser_test() 2020-09-19 15:54:25 +08:00
LeoHsiao
88671a6da7 Refactor write2-test.sh to write2_test() 2020-09-19 14:57:18 +08: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
03ba77ddfd Refactor webp-test.sh to webp_test() 2020-09-18 21:34:37 +08:00
LeoHsiao
069cfc6c66 Refactor version_test.sh to version_test() 2020-09-18 21:32:49 +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
c121fbeb38 Refactor stringto-test.sh to stringto_test() 2020-09-14 20:04:58 +08:00
LeoHsiao
65927f5ce1 Refactor stdin-test.sh to stdin_test() 2020-09-14 20:00:40 +08:00
LeoHsiao
f99db7d61b Refactor preview-test.sh to preview_test() 2020-09-06 23:06:19 +08:00
LeoHsiao
9e8eae0639 Refactor modify-test.sh to modify_test() 2020-09-06 21:45:46 +08:00
LeoHsiao
cec472132d Refactor function execute() to class Executer 2020-09-06 21:43:31 +08:00
LeoHsiao
147ed39b3f Adjust code spacing 2020-09-06 16:01:27 +08:00
LeoHsiao
99be739a9a Refactor path-test.sh to path_test() 2020-09-06 15:42:38 +08:00
LeoHsiao
356a575b5a Refactor modify-test.sh to iso65k_test() 2020-09-06 15:14:39 +08:00
LeoHsiao
e976d3795a Ignore conversions_test() output differences on Windows 2020-09-03 23:31:09 +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
23b759bffa Refactor iptctest.sh to iptc_test() 2020-08-30 22:18:47 +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
f909fac802 Rename bash_tests.utils as BT 2020-08-22 10:00:14 +08:00
LeoHsiao
a312e7ed92 Optimize cat(), save() and excute() to handle bytes type content 2020-08-21 22:32:47 +08:00