@@ -18,7 +18,7 @@ import {
1818 HardwareContext ,
1919 type AVHWDeviceType ,
2020} from '../src/index.js' ;
21- import { decodeFirstFrame , decodePacket , decodePacketSync , encodeFrame , encodeFrameSync , getInputFile , prepareTestEnvironment , skipInCI } from './index.js' ;
21+ import { decodeFirstFrame , decodePacket , decodePacketSync , encodeFrame , encodeFrameSync , getInputFile , prepareTestEnvironment } from './index.js' ;
2222
2323prepareTestEnvironment ( ) ;
2424
@@ -32,7 +32,7 @@ describe('HardwareContext', () => {
3232 console . log ( 'Available hardware:' , available . join ( ', ' ) || 'none' ) ;
3333 } ) ;
3434
35- it ( 'should auto-detect hardware' , skipInCI , async ( ) => {
35+ it ( 'should auto-detect hardware' , async ( ) => {
3636 const hw = HardwareContext . auto ( ) ;
3737 if ( hw ) {
3838 console . log ( `Auto-detected hardware: ${ hw . deviceTypeName } ` ) ;
@@ -72,7 +72,7 @@ describe('HardwareContext', () => {
7272 } ) ;
7373
7474 describe ( 'instance methods' , ( ) => {
75- it ( 'should provide device information' , skipInCI , ( ) => {
75+ it ( 'should provide device information' , ( ) => {
7676 const hw = HardwareContext . auto ( ) ;
7777 if ( hw ) {
7878 assert . ok ( hw . deviceTypeName , 'Should have device type name' ) ;
@@ -82,7 +82,7 @@ describe('HardwareContext', () => {
8282 }
8383 } ) ;
8484
85- it ( 'should get encoder codec for base codec name' , skipInCI , async ( ) => {
85+ it ( 'should get encoder codec for base codec name' , async ( ) => {
8686 const hw = HardwareContext . auto ( ) ;
8787 if ( hw ) {
8888 // Test getting hardware encoder codec
@@ -102,7 +102,7 @@ describe('HardwareContext', () => {
102102 }
103103 } ) ;
104104
105- it ( 'should support Symbol.dispose' , skipInCI , ( ) => {
105+ it ( 'should support Symbol.dispose' , ( ) => {
106106 const hw = HardwareContext . auto ( ) ;
107107 if ( hw ) {
108108 {
@@ -114,7 +114,7 @@ describe('HardwareContext', () => {
114114 }
115115 } ) ;
116116
117- it ( 'should check if hardware is disposed' , skipInCI , ( ) => {
117+ it ( 'should check if hardware is disposed' , ( ) => {
118118 const hw = HardwareContext . auto ( ) ;
119119 if ( hw ) {
120120 assert . equal ( hw . isDisposed , false , 'Should not be disposed initially' ) ;
@@ -124,7 +124,7 @@ describe('HardwareContext', () => {
124124 } ) ;
125125 } ) ;
126126
127- describe ( 'specific hardware types' , skipInCI , ( ) => {
127+ describe ( 'specific hardware types' , ( ) => {
128128 it ( 'should handle CUDA if available' , ( ) => {
129129 const cuda = HardwareContext . create ( AV_HWDEVICE_TYPE_CUDA ) ;
130130 if ( cuda ) {
@@ -209,7 +209,7 @@ describe('HardwareContext', () => {
209209 } ) ;
210210 } ) ;
211211
212- describe ( 'hardware validation' , skipInCI , ( ) => {
212+ describe ( 'hardware validation' , ( ) => {
213213 it ( 'should validate decoder with testDecoder()' , ( ) => {
214214 const hw = HardwareContext . auto ( ) ;
215215 if ( ! hw ) {
@@ -344,7 +344,7 @@ describe('HardwareContext', () => {
344344 } ) ;
345345
346346 describe ( 'hardware disposal' , ( ) => {
347- it ( 'should safely dispose hardware multiple times' , skipInCI , ( ) => {
347+ it ( 'should safely dispose hardware multiple times' , ( ) => {
348348 const hw = HardwareContext . auto ( ) ;
349349 if ( ! hw ) {
350350 console . log ( 'No hardware available - skipping test' ) ;
@@ -364,7 +364,7 @@ describe('HardwareContext', () => {
364364 assert . ok ( hw . isDisposed , 'Should still be disposed' ) ;
365365 } ) ;
366366
367- it ( 'should dispose hardware when decoder closes' , skipInCI , async ( ) => {
367+ it ( 'should dispose hardware when decoder closes' , async ( ) => {
368368 const hw = HardwareContext . auto ( ) ;
369369 if ( ! hw ) {
370370 console . log ( 'No hardware available - skipping test' ) ;
@@ -391,7 +391,7 @@ describe('HardwareContext', () => {
391391 media . close ( ) ;
392392 } ) ;
393393
394- it ( 'should dispose hardware when encoder closes' , skipInCI , async ( ) => {
394+ it ( 'should dispose hardware when encoder closes' , async ( ) => {
395395 const hw = HardwareContext . auto ( ) ;
396396 if ( ! hw ) {
397397 console . log ( 'No hardware available - skipping test' ) ;
@@ -418,7 +418,7 @@ describe('HardwareContext', () => {
418418 }
419419 } ) ;
420420
421- it ( 'should allow sharing hardware between multiple decoders' , skipInCI , async ( ) => {
421+ it ( 'should allow sharing hardware between multiple decoders' , async ( ) => {
422422 const hw = HardwareContext . auto ( ) ;
423423 if ( ! hw ) {
424424 console . log ( 'No hardware available - skipping test' ) ;
@@ -457,7 +457,7 @@ describe('HardwareContext', () => {
457457 } ) ;
458458
459459 describe ( 'hardware integration' , ( ) => {
460- it ( 'should work with Decoder when hardware is available (async)' , skipInCI , async ( ) => {
460+ it ( 'should work with Decoder when hardware is available (async)' , async ( ) => {
461461 // Try to get hardware context
462462 const hw = HardwareContext . auto ( ) ;
463463
@@ -491,7 +491,7 @@ describe('HardwareContext', () => {
491491 }
492492 } ) ;
493493
494- it ( 'should work with Decoder when hardware is available (sync)' , skipInCI , async ( ) => {
494+ it ( 'should work with Decoder when hardware is available (sync)' , async ( ) => {
495495 // Try to get hardware context
496496 const hw = HardwareContext . auto ( ) ;
497497
@@ -525,7 +525,7 @@ describe('HardwareContext', () => {
525525 }
526526 } ) ;
527527
528- it ( 'should work with Decoder using auto hardware detection (async)' , skipInCI , async ( ) => {
528+ it ( 'should work with Decoder using auto hardware detection (async)' , async ( ) => {
529529 const media = await Demuxer . open ( inputFile ) ;
530530 const videoStream = media . video ( 0 ) ;
531531 assert . ok ( videoStream , 'Should have video stream' ) ;
@@ -544,7 +544,7 @@ describe('HardwareContext', () => {
544544 // hw is disposed by decoder.close()
545545 } ) ;
546546
547- it ( 'should work with Decoder using auto hardware detection (sync)' , skipInCI , async ( ) => {
547+ it ( 'should work with Decoder using auto hardware detection (sync)' , async ( ) => {
548548 const media = await Demuxer . open ( inputFile ) ;
549549 const videoStream = media . video ( 0 ) ;
550550 assert . ok ( videoStream , 'Should have video stream' ) ;
@@ -574,7 +574,7 @@ describe('HardwareContext', () => {
574574 // hw is disposed by decoder.close()
575575 } ) ;
576576
577- it ( 'should work with Encoder when hardware is available' , skipInCI , async ( ) => {
577+ it ( 'should work with Encoder when hardware is available' , async ( ) => {
578578 const hw = HardwareContext . auto ( ) ;
579579
580580 if ( ! hw ) {
@@ -599,7 +599,7 @@ describe('HardwareContext', () => {
599599 hw . dispose ( ) ;
600600 } ) ;
601601
602- it ( 'should work with Encoder using auto hardware detection' , skipInCI , async ( ) => {
602+ it ( 'should work with Encoder using auto hardware detection' , async ( ) => {
603603 const hw = HardwareContext . auto ( ) ;
604604 if ( ! hw ) {
605605 return ;
@@ -630,7 +630,7 @@ describe('HardwareContext', () => {
630630 } ) ;
631631
632632 describe ( 'hardware derivation' , ( ) => {
633- it ( 'should derive hardware context from another (with AVHWDeviceType)' , skipInCI , ( ) => {
633+ it ( 'should derive hardware context from another (with AVHWDeviceType)' , ( ) => {
634634 const hw = HardwareContext . auto ( ) ;
635635 if ( ! hw ) {
636636 console . log ( 'No hardware available - skipping derivation test' ) ;
@@ -661,7 +661,7 @@ describe('HardwareContext', () => {
661661 hw . dispose ( ) ;
662662 } ) ;
663663
664- it ( 'should return null for invalid derivation' , skipInCI , ( ) => {
664+ it ( 'should return null for invalid derivation' , ( ) => {
665665 const hw = HardwareContext . auto ( ) ;
666666 if ( ! hw ) {
667667 console . log ( 'No hardware available - skipping test' ) ;
@@ -679,7 +679,7 @@ describe('HardwareContext', () => {
679679 hw . dispose ( ) ;
680680 } ) ;
681681
682- it ( 'should return null when source is disposed' , skipInCI , ( ) => {
682+ it ( 'should return null when source is disposed' , ( ) => {
683683 const hw = HardwareContext . auto ( ) ;
684684 if ( ! hw ) {
685685 console . log ( 'No hardware available - skipping test' ) ;
@@ -693,7 +693,7 @@ describe('HardwareContext', () => {
693693 assert . equal ( derived , null , 'Should return null when source is disposed' ) ;
694694 } ) ;
695695
696- it ( 'should test common derivation paths' , skipInCI , ( ) => {
696+ it ( 'should test common derivation paths' , ( ) => {
697697 // Common derivation paths:
698698 // - VAAPI -> OpenCL
699699 // - CUDA -> Vulkan
@@ -730,7 +730,7 @@ describe('HardwareContext', () => {
730730 hw . dispose ( ) ;
731731 } ) ;
732732
733- it ( 'should work with derived context in decoder' , skipInCI , async ( ) => {
733+ it ( 'should work with derived context in decoder' , async ( ) => {
734734 const hw = HardwareContext . auto ( ) ;
735735 if ( ! hw ) {
736736 console . log ( 'No hardware available - skipping test' ) ;
@@ -776,7 +776,7 @@ describe('HardwareContext', () => {
776776 } ) ;
777777
778778 describe ( 'zero-copy GPU transfer' , ( ) => {
779- it ( 'should transfer frames from decoder to encoder on GPU (zero-copy) (async)' , skipInCI , async ( ) => {
779+ it ( 'should transfer frames from decoder to encoder on GPU (zero-copy) (async)' , async ( ) => {
780780 // This test demonstrates zero-copy GPU frame transfer
781781 // where frames stay on GPU between decode and encode
782782
@@ -871,7 +871,7 @@ describe('HardwareContext', () => {
871871 }
872872 } ) ;
873873
874- it ( 'should transfer frames from decoder to encoder on GPU (zero-copy) (sync)' , skipInCI , async ( ) => {
874+ it ( 'should transfer frames from decoder to encoder on GPU (zero-copy) (sync)' , async ( ) => {
875875 // This test demonstrates zero-copy GPU frame transfer with sync methods
876876 // where frames stay on GPU between decode and encode
877877
@@ -966,7 +966,7 @@ describe('HardwareContext', () => {
966966 }
967967 } ) ;
968968
969- it ( 'should demonstrate GPU memory efficiency with multiple streams' , skipInCI , async ( ) => {
969+ it ( 'should demonstrate GPU memory efficiency with multiple streams' , async ( ) => {
970970 const hw = HardwareContext . auto ( ) ;
971971 if ( ! hw ) {
972972 console . log ( 'No hardware acceleration available - skipping test' ) ;
@@ -1013,7 +1013,7 @@ describe('HardwareContext', () => {
10131013 }
10141014 } ) ;
10151015
1016- it ( 'should verify hardware codec selection' , skipInCI , async ( ) => {
1016+ it ( 'should verify hardware codec selection' , async ( ) => {
10171017 const hw = HardwareContext . auto ( ) ;
10181018 if ( ! hw ) {
10191019 console . log ( 'No hardware acceleration available - skipping test' ) ;
0 commit comments