From 2025164e1ae8b791a2cdf2ec4b0bcd55336f142f Mon Sep 17 00:00:00 2001 From: Michael Larabel Date: Mon, 29 Dec 2008 22:06:57 -0500 Subject: pts: Adjust more test profiles from using $argv to $LOG_FILE --- CHANGE-LOG | 1 + pts/test-profiles/compliance-acpi.xml | 2 +- pts/test-profiles/compliance-sensors.xml | 2 +- pts/test-profiles/ppracer.xml | 2 +- pts/test-resources/compliance-acpi/install.sh | 2 +- pts/test-resources/compliance-acpi/parse-results.php | 2 +- pts/test-resources/compliance-sensors/install.sh | 2 +- pts/test-resources/compliance-sensors/parse-results.php | 2 +- pts/test-resources/memory-bandwidth/install.sh | 8 ++++---- pts/test-resources/memory-bandwidth/parse-results.php | 4 +++- pts/test-resources/ppracer/install.sh | 2 +- pts/test-resources/ppracer/parse-results.php | 4 +++- 12 files changed, 19 insertions(+), 14 deletions(-) diff --git a/CHANGE-LOG b/CHANGE-LOG index 4732a24..80384a8 100644 --- a/CHANGE-LOG +++ b/CHANGE-LOG @@ -23,6 +23,7 @@ Phoronix Test Suite (Git) - pts: Add graphics-magick test profile for GraphicsMagick 1.3 image testing - pts: Add graphics-magick to multicore test suite due to its use of OpenMP - pts: Update lzma download link for compress-lzma test profile +- pts: Adjust more test profiles from using $argv to $LOG_FILE - pts_Graph: Tweak formatting of basic graph attributes - bilde_renderer: Add and implement draw_polygon and draw_ellipse to drawing API - bilde_renderer: When setting the image quality level to use with the render_image() function, base it on a 100-point scale diff --git a/pts/test-profiles/compliance-acpi.xml b/pts/test-profiles/compliance-acpi.xml index 9a782ad..bd4ce65 100644 --- a/pts/test-profiles/compliance-acpi.xml +++ b/pts/test-profiles/compliance-acpi.xml @@ -1,6 +1,6 @@ - 1.1.0 + 1.1.1 System Benchmark FREE diff --git a/pts/test-profiles/compliance-sensors.xml b/pts/test-profiles/compliance-sensors.xml index 940b9bc..a4be584 100644 --- a/pts/test-profiles/compliance-sensors.xml +++ b/pts/test-profiles/compliance-sensors.xml @@ -1,6 +1,6 @@ - 1.1.0 + 1.1.1 System Benchmark FREE diff --git a/pts/test-profiles/ppracer.xml b/pts/test-profiles/ppracer.xml index d5e4dfc..f8d6614 100644 --- a/pts/test-profiles/ppracer.xml +++ b/pts/test-profiles/ppracer.xml @@ -1,6 +1,6 @@ - 1.1.0 + 1.1.1 Graphics Utility FREE diff --git a/pts/test-resources/compliance-acpi/install.sh b/pts/test-resources/compliance-acpi/install.sh index ec17dda..d7eb14a 100755 --- a/pts/test-resources/compliance-acpi/install.sh +++ b/pts/test-resources/compliance-acpi/install.sh @@ -60,6 +60,6 @@ EOT cat > compliance-acpi << 'EOT' #!/bin/sh -php acpi-checks +php acpi-checks > $LOG_FILE EOT chmod +x compliance-acpi diff --git a/pts/test-resources/compliance-acpi/parse-results.php b/pts/test-resources/compliance-acpi/parse-results.php index 82509cf..f94a44c 100644 --- a/pts/test-resources/compliance-acpi/parse-results.php +++ b/pts/test-resources/compliance-acpi/parse-results.php @@ -1 +1 @@ - + diff --git a/pts/test-resources/compliance-sensors/install.sh b/pts/test-resources/compliance-sensors/install.sh index c88fb0c..ba1303d 100755 --- a/pts/test-resources/compliance-sensors/install.sh +++ b/pts/test-resources/compliance-sensors/install.sh @@ -75,6 +75,6 @@ EOT cat > compliance-sensors << 'EOT' #!/bin/sh -php sensors-check +php sensors-check > $LOG_FILE EOT chmod +x compliance-sensors diff --git a/pts/test-resources/compliance-sensors/parse-results.php b/pts/test-resources/compliance-sensors/parse-results.php index 82509cf..f94a44c 100644 --- a/pts/test-resources/compliance-sensors/parse-results.php +++ b/pts/test-resources/compliance-sensors/parse-results.php @@ -1 +1 @@ - + diff --git a/pts/test-resources/memory-bandwidth/install.sh b/pts/test-resources/memory-bandwidth/install.sh index 12c1a7c..d03ad58 100755 --- a/pts/test-resources/memory-bandwidth/install.sh +++ b/pts/test-resources/memory-bandwidth/install.sh @@ -10,16 +10,16 @@ echo "#!/bin/sh case \"\$1\" in \"TEST_L2READ\") - ./bandwidth -l2read | grep \"L2 cache sequential read\" + ./bandwidth -l2read | grep \"L2 cache sequential read\" > \$LOG_FILE ;; \"TEST_L2WRITE\") - ./bandwidth -l2write | grep \"L2 cache sequential write\" + ./bandwidth -l2write | grep \"L2 cache sequential write\" > \$LOG_FILE ;; \"TEST_READ\") - ./bandwidth -read | grep \"Main memory sequential read\" + ./bandwidth -read | grep \"Main memory sequential read\" > \$LOG_FILE ;; \"TEST_WRITE\") - ./bandwidth -write | grep \"Main memory sequential write\" + ./bandwidth -write | grep \"Main memory sequential write\" > \$LOG_FILE ;; esac " > memory-bandwidth diff --git a/pts/test-resources/memory-bandwidth/parse-results.php b/pts/test-resources/memory-bandwidth/parse-results.php index a12beef..39af0a5 100644 --- a/pts/test-resources/memory-bandwidth/parse-results.php +++ b/pts/test-resources/memory-bandwidth/parse-results.php @@ -1,5 +1,7 @@ pts-config.nut cd ppracer_/bin/ -./ppracer -c $THIS_DIR/pts-config.nut -a -f events/herring_run/snow_valley 2>&1" > ppracer +./ppracer -c $THIS_DIR/pts-config.nut -a -f events/herring_run/snow_valley > \$LOG_FILE 2>&1" > ppracer chmod +x ppracer diff --git a/pts/test-resources/ppracer/parse-results.php b/pts/test-resources/ppracer/parse-results.php index 00241a7..739dbeb 100644 --- a/pts/test-resources/ppracer/parse-results.php +++ b/pts/test-resources/ppracer/parse-results.php @@ -1,5 +1,7 @@ -- cgit