summaryrefslogtreecommitdiffstats
path: root/pts/test-resources/encode-wavpack
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-10-03 15:12:06 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-10-03 15:12:06 -0400
commitfaa872d624096ca4e2ee91727a1a6d83263a80a7 (patch)
tree6201b22e8b2124dccd0a590bc7a8be25da5c85c2 /pts/test-resources/encode-wavpack
parent24d2198e40bf2f2543e4b7136d2a27cfdf77f14b (diff)
downloadphoronix-test-suite-upstream-faa872d624096ca4e2ee91727a1a6d83263a80a7.tar.gz
phoronix-test-suite-upstream-faa872d624096ca4e2ee91727a1a6d83263a80a7.tar.xz
phoronix-test-suite-upstream-faa872d624096ca4e2ee91727a1a6d83263a80a7.zip
pts: Move over all relevent tests to using the new universal micro-timer
functionality
Diffstat (limited to 'pts/test-resources/encode-wavpack')
-rwxr-xr-xpts/test-resources/encode-wavpack/install.sh8
-rw-r--r--pts/test-resources/encode-wavpack/parse-results.php5
2 files changed, 3 insertions, 10 deletions
diff --git a/pts/test-resources/encode-wavpack/install.sh b/pts/test-resources/encode-wavpack/install.sh
index c329416..b827c57 100755
--- a/pts/test-resources/encode-wavpack/install.sh
+++ b/pts/test-resources/encode-wavpack/install.sh
@@ -12,9 +12,7 @@ cd ..
rm -rf wavpack-4.41.0/
echo "#!/bin/sh
-./wavpack_/bin/wavpack -q -r -hhx2 -o - \$TEST_EXTENDS/pts-trondheim.wav >/dev/null" > wavpack_process
-chmod +x wavpack_process
-
-echo "#!/bin/sh
-/usr/bin/time -f \"WAV To WavPack Encode Time: %e Seconds\" ./wavpack_process 2>&1" > encode-wavpack
+\$TIMER_START
+./wavpack_/bin/wavpack -q -r -hhx2 -o - \$TEST_EXTENDS/pts-trondheim.wav > /dev/null 2>&1
+\$TIMER_STOP" > encode-wavpack
chmod +x encode-wavpack
diff --git a/pts/test-resources/encode-wavpack/parse-results.php b/pts/test-resources/encode-wavpack/parse-results.php
deleted file mode 100644
index 726aa00..0000000
--- a/pts/test-resources/encode-wavpack/parse-results.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-
-$BENCHMARK_RESULTS = substr($argv[1], strrpos($argv[1], "WAV To WavPack Encode Time:") + 27);
-echo trim(substr($BENCHMARK_RESULTS, 0, strpos($BENCHMARK_RESULTS, "Seconds")));
-?>