mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-30 13:19:44 +02:00
fix(ci): audit stripped iOS archives and configure FFmpeg tests
This commit is contained in:
1 parent
146b2acd4d
commit
1e3414b3d0
5 files changed
+144
-6
No files matched your search
@@ -105,7 +105,10 @@ class NativeFlacConversionTest {
|
||||
@Test
|
||||
fun hostFlacInMp4RemuxAndFallbackPreserveDecodedPcmAndArtwork() {
|
||||
val ffmpeg = System.getenv("SPOTIFLAC_TEST_FFMPEG").orEmpty()
|
||||
assumeTrue("Set SPOTIFLAC_TEST_FFMPEG for host media fixtures", File(ffmpeg).canExecute())
|
||||
assumeTrue(
|
||||
"Set SPOTIFLAC_TEST_FFMPEG for host media fixtures",
|
||||
File(ffmpeg).isFile && File(ffmpeg).canExecute(),
|
||||
)
|
||||
fun execute(arguments: Array<String>): Pair<Boolean, String> {
|
||||
val process = ProcessBuilder(listOf(ffmpeg) + arguments).redirectErrorStream(true).start()
|
||||
val output = process.inputStream.bufferedReader().use { it.readText() }
|
||||
|
||||
Reference in new issue
Block a user