Skip to content

Commit 5552ed2

Browse files
authored
[test] Rename AudioWorklet lock test file (#23757)
Performed as a separate step from #23729 to not lose the history. The C++ file had already been converted to C as part of the previous PR, this now updates the filename and its extension.
1 parent 4b76531 commit 5552ed2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/test_browser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5522,7 +5522,7 @@ def test_audio_worklet_params_mixing(self, args):
55225522
@requires_sound_hardware
55235523
@also_with_minimal_runtime
55245524
def test_audio_worklet_emscripten_locks(self):
5525-
self.btest_exit('webaudio/audioworklet_emscripten_futex_wake.cpp', args=['-sAUDIO_WORKLET', '-sWASM_WORKERS', '-pthread'])
5525+
self.btest_exit('webaudio/audioworklet_emscripten_locks.c', args=['-sAUDIO_WORKLET', '-sWASM_WORKERS', '-pthread'])
55265526

55275527
def test_error_reporting(self):
55285528
# Test catching/reporting Error objects

test/webaudio/audioworklet_emscripten_futex_wake.cpp renamed to test/webaudio/audioworklet_emscripten_locks.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// - emscripten_get_now()
1515

1616
// Internal, found in 'system/lib/pthread/threading_internal.h' (and requires building with -pthread)
17-
extern "C" int _emscripten_thread_supports_atomics_wait(void);
17+
int _emscripten_thread_supports_atomics_wait(void);
1818

1919
typedef enum {
2020
// No wait support in audio worklets

0 commit comments

Comments
 (0)