Lines 116-139
Link Here
|
116 |
polkit_policy_directory = polkit_gobject_dep.get_pkgconfig_variable('policydir') |
116 |
polkit_policy_directory = polkit_gobject_dep.get_pkgconfig_variable('policydir') |
117 |
|
117 |
|
118 |
# Tests dependencies |
118 |
# Tests dependencies |
119 |
pam_wrapper_dep = dependency('pam_wrapper', required: get_option('pam')) |
119 |
#pam_wrapper_dep = dependency('pam_wrapper', required: get_option('pam')) |
120 |
|
120 |
|
121 |
xmllint = find_program('xmllint', required: false) |
121 |
xmllint = find_program('xmllint', required: false) |
122 |
python3 = find_program('python3') # No meson without it! |
122 |
python3 = find_program('python3') # No meson without it! |
123 |
python3_test_modules = { |
123 |
# python3_test_modules = { |
124 |
'cairo': true, |
124 |
# 'cairo': true, |
125 |
'dbus': true, |
125 |
# 'dbus': true, |
126 |
'dbusmock': true, |
126 |
# 'dbusmock': true, |
127 |
'gi': true, |
127 |
# 'gi': true, |
128 |
'pypamtest': get_option('pam'), |
128 |
# 'pypamtest': get_option('pam'), |
129 |
} |
129 |
# } |
130 |
python3_available_modules = [] |
130 |
# python3_available_modules = [] |
131 |
|
131 |
|
132 |
foreach module, required : python3_test_modules |
132 |
# foreach module, required : python3_test_modules |
133 |
if required and run_command(python3, '-c', 'import @0@'.format(module)).returncode() != 0 |
133 |
# if required and run_command(python3, '-c', 'import @0@'.format(module)).returncode() != 0 |
134 |
error('Python3 module \'' + module + '\' required by test suite not found') |
134 |
# error('Python3 module \'' + module + '\' required by test suite not found') |
135 |
endif |
135 |
# endif |
136 |
endforeach |
136 |
# endforeach |
137 |
|
137 |
|
138 |
cdata = configuration_data() |
138 |
cdata = configuration_data() |
139 |
cdata.set_quoted('GETTEXT_PACKAGE', meson.project_name()) |
139 |
cdata.set_quoted('GETTEXT_PACKAGE', meson.project_name()) |
Lines 156-162
Link Here
|
156 |
if get_option('gtk_doc') |
156 |
if get_option('gtk_doc') |
157 |
subdir('doc') |
157 |
subdir('doc') |
158 |
endif |
158 |
endif |
159 |
subdir('tests') |
159 |
#subdir('tests') |
160 |
subdir('po') |
160 |
subdir('po') |
161 |
|
161 |
|
162 |
output = [] |
162 |
output = [] |