From f0d37cccf8aebe27a7f3621ea9654d626a2db979 Mon Sep 17 00:00:00 2001 From: Martin Holters Date: Mon, 8 Jul 2024 14:00:04 +0200 Subject: [PATCH] Test `peaq` without `--gst-plugin-load` --- src/runtest-1.0.sh | 4 ++-- vs/runtest-win32.ps1 | 4 ++-- vs/runtest-x64.ps1 | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/runtest-1.0.sh b/src/runtest-1.0.sh index 3ab2da5..b946e7e 100755 --- a/src/runtest-1.0.sh +++ b/src/runtest-1.0.sh @@ -49,14 +49,14 @@ if [ x$ODG != x-2.007 ]; then exit 1 fi -ODG=`LC_ALL=C ./peaq --gst-disable-segtrap --gst-debug-level=2 --gst-plugin-load=.libs/libgstpeaq.so \ +ODG=`LC_ALL=C ./peaq --gst-disable-segtrap --gst-debug-level=2 \ ${srcdir}/../test/stimulus_ref.flac ${srcdir}/../test/stimulus_test.wav \ | grep "Objective Difference Grade:" | cut -d " " -f4` echo $ODG if [ x$ODG != x-1.077 ]; then exit 1 fi -ODG=`LC_ALL=C ./peaq --gst-disable-segtrap --gst-debug-level=2 --gst-plugin-load=.libs/libgstpeaq.so \ +ODG=`LC_ALL=C ./peaq --gst-disable-segtrap --gst-debug-level=2 \ ${srcdir}/../test/stimulus_test.wav ${srcdir}/../test/stimulus_ref.flac \ | grep "Objective Difference Grade:" | cut -d " " -f4` echo $ODG diff --git a/vs/runtest-win32.ps1 b/vs/runtest-win32.ps1 index 3df92d0..75b6bcc 100644 --- a/vs/runtest-win32.ps1 +++ b/vs/runtest-win32.ps1 @@ -49,14 +49,14 @@ if ($ODG -ne -2.007) { } $ODG = [convert]::ToDouble(( ` - Invoke-Expression ("$PSScriptRoot\win32\Release\peaq.exe --gst-plugin-load=$PSScriptRoot\win32\Release\gstpeaq.dll " + ` + Invoke-Expression ("$PSScriptRoot\win32\Release\peaq.exe " + ` "$PSScriptRoot\..\test\stimulus_ref.flac $PSScriptRoot\..\test\stimulus_test.wav") ` | Select-String -Pattern 'Objective Difference Grade: (.*)').Matches.Groups[1].Value) if ($ODG -ne -1.077) { throw "$ODG -ne -1.077" } $ODG = [convert]::ToDouble(( ` - Invoke-Expression ("$PSScriptRoot\win32\Release\peaq.exe --gst-plugin-load=$PSScriptRoot\win32\Release\gstpeaq.dll " + ` + Invoke-Expression ("$PSScriptRoot\win32\Release\peaq.exe " + ` "$PSScriptRoot\..\test\stimulus_test.wav $PSScriptRoot\..\test\stimulus_ref.flac ") ` | Select-String -Pattern 'Objective Difference Grade: (.*)').Matches.Groups[1].Value) if ($ODG -ne -3.096) { diff --git a/vs/runtest-x64.ps1 b/vs/runtest-x64.ps1 index 51e52db..9cd41fe 100644 --- a/vs/runtest-x64.ps1 +++ b/vs/runtest-x64.ps1 @@ -49,14 +49,14 @@ if ($ODG -ne -2.007) { } $ODG = [convert]::ToDouble(( ` - Invoke-Expression ("$PSScriptRoot\x64\Release\peaq.exe --gst-plugin-load=$PSScriptRoot\x64\Release\gstpeaq.dll " + ` + Invoke-Expression ("$PSScriptRoot\x64\Release\peaq.exe " + ` "$PSScriptRoot\..\test\stimulus_ref.flac $PSScriptRoot\..\test\stimulus_test.wav") ` | Select-String -Pattern 'Objective Difference Grade: (.*)').Matches.Groups[1].Value) if ($ODG -ne -1.077) { throw "$ODG -ne -1.077" } $ODG = [convert]::ToDouble(( ` - Invoke-Expression ("$PSScriptRoot\x64\Release\peaq.exe --gst-plugin-load=$PSScriptRoot\x64\Release\gstpeaq.dll " + ` + Invoke-Expression ("$PSScriptRoot\x64\Release\peaq.exe " + ` "$PSScriptRoot\..\test\stimulus_test.wav $PSScriptRoot\..\test\stimulus_ref.flac ") ` | Select-String -Pattern 'Objective Difference Grade: (.*)').Matches.Groups[1].Value) if ($ODG -ne -3.096) {