diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-10-01 20:29:03 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-10-01 20:29:03 -0400 |
commit | c23811f3635208afd4c9b343f67dfa43da0c28e1 (patch) | |
tree | 7cdcbe4ffb6a89b5293c4fa688e7c0ba0db2ab3c /pts/test-resources/byte | |
parent | d342e4d6dbb701ecf45662e11556d8f8ef4b2a8c (diff) | |
download | phoronix-test-suite-upstream-c23811f3635208afd4c9b343f67dfa43da0c28e1.tar.gz phoronix-test-suite-upstream-c23811f3635208afd4c9b343f67dfa43da0c28e1.tar.xz phoronix-test-suite-upstream-c23811f3635208afd4c9b343f67dfa43da0c28e1.zip |
pts: Move the byte test profile to using the new $LOG_FILE capability
for an example and for testing
Diffstat (limited to 'pts/test-resources/byte')
-rwxr-xr-x | pts/test-resources/byte/install.sh | 10 | ||||
-rw-r--r-- | pts/test-resources/byte/parse-results.php | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/pts/test-resources/byte/install.sh b/pts/test-resources/byte/install.sh index c3031bb..8ffc68c 100755 --- a/pts/test-resources/byte/install.sh +++ b/pts/test-resources/byte/install.sh @@ -12,18 +12,18 @@ cd bm/ case \"\$1\" in \"TEST_DHRY2\") - ./Run dhry2 > ../result + ./Run dhry2 > \$LOG_FILE ;; \"TEST_REGISTER\") - ./Run register > ../result + ./Run register > \$LOG_FILE ;; \"TEST_INT\") - ./Run int > ../result + ./Run int > \$LOG_FILE ;; \"TEST_FLOAT\") - ./Run float > ../result + ./Run float > \$LOG_FILE ;; esac -cat ../result | grep lps" > byte +cat \$LOG_FILE | grep lps" > byte chmod +x byte diff --git a/pts/test-resources/byte/parse-results.php b/pts/test-resources/byte/parse-results.php index 9fa68c9..767e8f9 100644 --- a/pts/test-resources/byte/parse-results.php +++ b/pts/test-resources/byte/parse-results.php @@ -1,6 +1,6 @@ <?php -$file = @file_get_contents("result"); +$file = @file_get_contents(getenv("LOG_FILE")); $results = trim(substr($file, 0, strrpos($file, "INDEX VALUES"))); $results = trim(substr($results, 0, strrpos($results, "("))); |