Thomas Petazzoni
bbe0b70840
Properly detect availability of flags in cmake/compilerFlags.cmake ( #1252 )
...
Instead of relying on fragile and complex logic to decide if a
compiler flag is available or not, use the check_c_compiler_flag()
macro provided by the CMake standard library.
This for example avoids using -fcf-protection on architectures that
don't support this option.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit dd2d181755a6e642c0a8e3225ef5407fff49eb3a)
When resolving the conflict from applying the patch, I also took the liberty
of re-indenting the snippet correcly and fixing mismatching
HAS_FCF_PROTECTION and HAS_FSTACK_PROTECTOR_STRONG variables
(the conditionals used GCC_ prefix but the variables were definded without it).
Signed-off-by: Jan Tojnar <jtojnar@gmail.com>
5 years ago
LeoHsiao
65a0ab1827
Ignore .vscode
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
Robin Mills
ab6c91dd64
Merge pull request #1267 from Exiv2/fix_1266_GPSProcessingMethod
...
fix_1266_GPSProcessingMethod
5 years ago
Robin Mills
f5c069bede
Merge pull request #1268 from Exiv2/fix_1268_GPSProcessingMethod
...
fix_1268_GPSProcessingMethod
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
Robin Mills
da1b02d644
fix_1268_GPSProcessingMethod
5 years ago
Robin Mills
963c91fe8a
fix_1266_GPSProcessingMethod
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
f909fac802
Rename bash_tests.utils as BT
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
LeoHsiao
454308e6b2
Rewrite testcase 'icc-test'
5 years ago
LeoHsiao
7753fb909d
Add functions: mv, md5sum
5 years ago
LeoHsiao
351af319f2
Rewrite testcase 'exifdata-test'
5 years ago
LeoHsiao
1d1e8dc51a
Clear the log buffer after test
5 years ago
LeoHsiao
c990de7dae
Rewrite testcase 'crw-test'
5 years ago
LeoHsiao
b11de2ce3d
Rewrite testcase 'conversions'
5 years ago
LeoHsiao
37170f4d25
Add some functions to replace shell commands: cp, rm, cat, grep, save, diff
5 years ago
LeoHsiao
736c84c0de
Add methods setUp() and tearDown()
5 years ago
LeoHsiao
2667137082
Rewrite testcase 'addmoddel'
5 years ago
LeoHsiao
d19842b198
Define a class 'Log' to merge logs into Python exception message
5 years ago
LeoHsiao
2d0039b3f5
Add default parameter value to the function 'runTest'
5 years ago
LeoHsiao
83efc5df18
Rename the variable `output` to `out`
5 years ago
LeoHsiao
ff44e68d4c
Rename tests/README.md
5 years ago
LeoHsiao
fca6e2e30a
Wrap shell commands in single quotes
5 years ago
LeoHsiao
6773c6c74b
Rename bash_test to bash_tests
5 years ago
tbeu
f61fa2ed9d
Fix write ability flags of PSD files ( #1260 )
5 years ago
LeoHsiao
ce2cb73654
Let bash_test read the configuration parameters from suite.conf
5 years ago
LeoHsiao
d231bae4f7
Update the documentation for the test cases
5 years ago
LeoHsiao
15c0366087
Rename unit_test and import it in system_tests.py
5 years ago
LeoHsiao
000b8efb34
Correct ioTest's execution directory
5 years ago
LeoHsiao
e02586db61
Converted two bash test scripts into Python scripts as an example
5 years ago
Robin Mills
be7d5c4ee1
Merge pull request #1253 from Exiv2/fix_1250_libiconv_msvc_0.27
...
Disable libiconv support when building with Visual Studio.
5 years ago