test(embedded-mpv): preserve packaged GL mode

This commit is contained in:
4gray committed 2026-07-17 22:42:37 +02:00
1 parent 22079a5986
commit f8794dd0a0
2 files changed
+9 -2

No files matched your search

@@ -279,6 +279,15 @@ describe('native-view playback proof', () => {
});
describe('dedicated packaged smoke target', () => {
it('inherits the GL mode from the workflow environment', () => {
const source = readFileSync(
join(projectRoot, 'src', 'embedded-mpv-frame-copy-packaged.e2e.ts'),
'utf8'
);
assert.doesNotMatch(source, /LIBGL_ALWAYS_SOFTWARE\s*:/);
});
it('does not build the backend or start portal mock servers', () => {
const project = JSON.parse(
readFileSync(join(projectRoot, 'project.json'), 'utf8')
@@ -96,7 +96,6 @@ test.describe('Packaged Linux embedded MPV frame-copy runtime', () => {
{
env: {
[FRAME_COPY_OPT_IN_ENV]: '1',
LIBGL_ALWAYS_SOFTWARE: '1',
},
}
);
@@ -228,7 +227,6 @@ test.describe('Packaged Linux embedded MPV frame-copy runtime', () => {
{
env: {
[FRAME_COPY_OPT_IN_ENV]: '1',
LIBGL_ALWAYS_SOFTWARE: '1',
},
}
);