summaryrefslogtreecommitdiffstats
path: root/pts/test-resources/encode-flac
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-09-11 21:34:53 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-09-11 21:34:53 -0400
commit887f737b3d333f5b20241af444bf5b3405dc44f2 (patch)
tree5d725c507ef2966eee70ce99e607381c5ff37b6a /pts/test-resources/encode-flac
parent45107e0c01c14ca328332763c53585fa55e72dab (diff)
downloadphoronix-test-suite-upstream-887f737b3d333f5b20241af444bf5b3405dc44f2.tar.gz
phoronix-test-suite-upstream-887f737b3d333f5b20241af444bf5b3405dc44f2.tar.xz
phoronix-test-suite-upstream-887f737b3d333f5b20241af444bf5b3405dc44f2.zip
pts: Switch all audio encoding tests to extend a timed-audio-encode base
test instead of all tests having some of the same code copied throughout
Diffstat (limited to 'pts/test-resources/encode-flac')
-rw-r--r--pts/test-resources/encode-flac/downloads.xml5
-rwxr-xr-xpts/test-resources/encode-flac/install.sh7
2 files changed, 1 insertions, 11 deletions
diff --git a/pts/test-resources/encode-flac/downloads.xml b/pts/test-resources/encode-flac/downloads.xml
index fddc8c0..dfc0662 100644
--- a/pts/test-resources/encode-flac/downloads.xml
+++ b/pts/test-resources/encode-flac/downloads.xml
@@ -4,10 +4,5 @@
<URL>http://internap.dl.sourceforge.net/sourceforge/flac/flac-1.2.1.tar.gz, http://superb-east.dl.sourceforge.net/sourceforge/flac/flac-1.2.1.tar.gz, http://superb-west.dl.sourceforge.net/sourceforge/flac/flac-1.2.1.tar.gz</URL>
<MD5>153c8b15a54da428d1f0fadc756c22c7</MD5>
</Package>
- <Package>
- <URL>http://www.phoronix-test-suite.com/benchmark-files/pts-trondheim-wav-3.tar.gz, http://www.phoronix.net/downloads/phoronix-test-suite/benchmark-files/pts-trondheim-wav-3.tar.gz</URL>
- <MD5>49b8f2f98ed71af16866e2df580e14c3</MD5>
- <DownloadTo>SHARED</DownloadTo>
- </Package>
</Downloads>
</PhoronixTestSuite>
diff --git a/pts/test-resources/encode-flac/install.sh b/pts/test-resources/encode-flac/install.sh
index f5bb41e..3c04634 100755
--- a/pts/test-resources/encode-flac/install.sh
+++ b/pts/test-resources/encode-flac/install.sh
@@ -1,10 +1,5 @@
#!/bin/sh
-if [ ! -f ../pts-shared/pts-trondheim-3.wav ]
- then
- tar -xvf ../pts-shared/pts-trondheim-wav-3.tar.gz -C ../pts-shared/
-fi
-
THIS_DIR=$(pwd)
mkdir $THIS_DIR/flac_
@@ -17,5 +12,5 @@ cd ..
rm -rf flac-1.2.1/
echo "#!/bin/sh
-/usr/bin/time -f \"WAV To FLAC Encode Time: %e Seconds\" ./flac_/bin/flac -s --best --totally-silent ../pts-shared/pts-trondheim-3.wav -f -o /dev/null 2>&1" > flac
+/usr/bin/time -f \"WAV To FLAC Encode Time: %e Seconds\" ./flac_/bin/flac -s --best --totally-silent \$TEST_EXTENDS/pts-trondheim.wav -f -o /dev/null 2>&1" > flac
chmod +x flac