mirror of
https://github.com/httptoolkit/frida-interception-and-unpinning.git
synced 2026-10-29 18:22:42 +01:00
Add API 36 to CI and tighten script checks in tests
This commit is contained in:
@@ -70,7 +70,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
api-level: [26, 28, 30, 33, 35]
|
||||
api-level: [26, 28, 30, 33, 35, 36]
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
|
||||
|
||||
@@ -157,6 +157,12 @@ describe('Test Android unpinning', function () {
|
||||
const failure = await waitForApp(session, () => fridaOutput);
|
||||
|
||||
if (!failure) {
|
||||
// Fail if any scripts print major warnings:
|
||||
const scriptErrors = fridaOutput.split('\n').filter((line) => line.includes('!!!'));
|
||||
if (scriptErrors.length) {
|
||||
throw new Error(`A script failed to set itself up:\n${scriptErrors.join('\n')}`);
|
||||
}
|
||||
|
||||
console.log('App loaded');
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user