Compare commits

...

2 Commits

Author SHA1 Message Date
pal1000 b8593a3af5 tests/ci/Windows: Switch feature to auto now that's seamlessly disabled
when it's unusable
2022-08-27 11:26:26 +03:00
pal1000 b6ffebc3aa tests: Make sure chmod is used only when possible
Fixes: fa803c7e
2022-08-27 11:23:07 +03:00
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ jobs:
# the code assumes msvc style printf atm
export CFLAGS=-D__USE_MINGW_ANSI_STDIO=0
meson -Dtests=disabled _build
meson _build
meson compile -C _build
debian-meson:

View File

@ -19,5 +19,5 @@ tests = [
# yuck
foreach test : tests
test_file = configure_file(input: test + '.sh', output: test, copy: true)
run_command('chmod', '755', test_file, check : true)
run_command(find_program('chmod', required : false, disabler : true), '755', test_file, check : true)
endforeach