diff options
Diffstat (limited to 'pts/test-resources/stresscpu2/parse-results.php')
-rw-r--r-- | pts/test-resources/stresscpu2/parse-results.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pts/test-resources/stresscpu2/parse-results.php b/pts/test-resources/stresscpu2/parse-results.php index adcb460..b9e15e8 100644 --- a/pts/test-resources/stresscpu2/parse-results.php +++ b/pts/test-resources/stresscpu2/parse-results.php @@ -1,6 +1,8 @@ <?php -if ("" == $argv[1]) +$log_file = trim(file_get_contents(getenv("LOG_FILE"))); + +if($log_file == "") echo "PASS"; else echo "FAIL"; |