mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-27 13:34:19 -04:00
common: set_height() workaround gcc 12.2.1 issue using temp volatiles (#269)
test_library: skip test_encode_file_unreadable() if root (#268, #269) test_args: clean up out.gif/png in test_checks/other_opts() (#268, #269)
This commit is contained in:
parent
c790f36815
commit
ac80b33c3c
3 changed files with 40 additions and 10 deletions
|
@ -837,6 +837,10 @@ static void test_encode_file_unreadable(void) {
|
|||
#ifdef _WIN32
|
||||
testSkip("Test not implemented on Windows");
|
||||
#else
|
||||
if (getuid() == 0) {
|
||||
testSkip("Test not available as root");
|
||||
return;
|
||||
}
|
||||
|
||||
symbol = ZBarcode_Create();
|
||||
assert_nonnull(symbol, "Symbol not created\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue