fix(packaging): audit the renamed native Flutter plugin
Gitea CI / Check code and tests (pull_request) Failing after 10m33s
Gitea CI / Build Android APK (pull_request) Skipped
Gitea CI / Build Windows x64 app (pull_request) Skipped
Gitea CI / Audit and package Windows x64 (pull_request) Skipped
Gitea CI / Assemble and validate CI artifacts (pull_request) Skipped
Gitea CI / Gitea CI passed (pull_request) Failing after 2s
Gitea CI / Check code and tests (pull_request) Failing after 10m33s
Gitea CI / Build Android APK (pull_request) Skipped
Gitea CI / Build Windows x64 app (pull_request) Skipped
Gitea CI / Audit and package Windows x64 (pull_request) Skipped
Gitea CI / Assemble and validate CI artifacts (pull_request) Skipped
Gitea CI / Gitea CI passed (pull_request) Failing after 2s
This commit is contained in:
1 parent
70b5eeda29
commit
1eee8007e3
2 files changed
+7
-1
No files matched your search
@@ -19,7 +19,7 @@ ws2_32 ucrtbase version
|
|||||||
'''.split())
|
'''.split())
|
||||||
SYSTEM_DLLS = {name + '.dll' for name in SYSTEM_DLLS}
|
SYSTEM_DLLS = {name + '.dll' for name in SYSTEM_DLLS}
|
||||||
REQUIRED = (
|
REQUIRED = (
|
||||||
'cutdex.exe', 'flutter_windows.dll', 'cutdex_runtime_plugin.dll',
|
'cutdex.exe', 'flutter_windows.dll', 'cutdex_native_flutter_plugin.dll',
|
||||||
'deskup_plugin.dll', 'velopack_libc.dll',
|
'deskup_plugin.dll', 'velopack_libc.dll',
|
||||||
'cutdex_windows_ffi.dll', 'sqlite3.dll', 'data/app.so', 'data/icudtl.dat',
|
'cutdex_windows_ffi.dll', 'sqlite3.dll', 'data/app.so', 'data/icudtl.dat',
|
||||||
'processing/bin/cutdex-processing-worker.exe',
|
'processing/bin/cutdex-processing-worker.exe',
|
||||||
|
|||||||
@@ -37,6 +37,12 @@ class DependencyGateTest(unittest.TestCase):
|
|||||||
with self.assertRaisesRegex(ValueError, 'data/app.so'):
|
with self.assertRaisesRegex(ValueError, 'data/app.so'):
|
||||||
audit(self.root, lambda p: [])
|
audit(self.root, lambda p: [])
|
||||||
|
|
||||||
|
def test_native_flutter_plugin_is_required_after_migration(self):
|
||||||
|
(self.root / 'cutdex_native_flutter_plugin.dll').unlink()
|
||||||
|
(self.root / 'cutdex_runtime_plugin.dll').touch()
|
||||||
|
with self.assertRaisesRegex(ValueError, 'cutdex_native_flutter_plugin.dll'):
|
||||||
|
audit(self.root, lambda p: [], require_processing=False)
|
||||||
|
|
||||||
def test_jvm_is_not_assumed_to_be_a_system_dependency(self):
|
def test_jvm_is_not_assumed_to_be_a_system_dependency(self):
|
||||||
with self.assertRaisesRegex(ValueError, 'jvm.dll'):
|
with self.assertRaisesRegex(ValueError, 'jvm.dll'):
|
||||||
audit(self.root, lambda p: ['jvm.dll'] if p.name == 'cutdex.exe' else [])
|
audit(self.root, lambda p: ['jvm.dll'] if p.name == 'cutdex.exe' else [])
|
||||||
|
|||||||
Reference in new issue
Block a user