summaryrefslogtreecommitdiff
path: root/bin
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2020-07-14 12:53:15 +0200
committerSylvain Pineau <sylvain.pineau@canonical.com>2020-07-14 12:53:15 +0200
commit88862bfc95fa644f94def1dce8a0ae6df34e58b9 (patch)
tree59e0ed935b56fe287788eca7299bcbb65f9d9af5 /bin
parent4033c97e5a069bdb27044c73619db3fef668f8ab (diff)
bin:pts_run: Deleted
All PTS tests are now in https://launchpad.net/checkbox-provider-phoronix The legacy tests still present in units/benchmarks are deleted too.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pts_run38
1 files changed, 0 insertions, 38 deletions
diff --git a/bin/pts_run b/bin/pts_run
deleted file mode 100755
index 76921e8..0000000
--- a/bin/pts_run
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-# Exit on any error
-set -o errexit
-
-# Accept Terms & Conditions, disable anonymous reporting
-echo -e "Y\nn\nn" | phoronix-test-suite > /dev/null
-
-# Disable batch result saving and all test options selection
-echo -e "n\nn" | phoronix-test-suite batch-setup > /dev/null
-
-# Don't show the browser after each test.
-# The implementation is a bit hacky but works.
-phoronix-test-suite user-config-set DefaultBrowser=/bin/true
-
-# Run each test only one time
-export FORCE_TIMES_TO_RUN=1
-
-# Run only the following resolution
-export OVERRIDE_VIDEO_MODES=800x600
-
-set +o errexit
-rv=0
-output=$(phoronix-test-suite batch-benchmark $@ 2>&1)
-#The output does NOT report success. It may contain, if it fails:
-# The test did not produce a result
-# The test failed to run properly
-# Failed to Fetch
-
-if (echo "$output" | grep -q -i "Failed to fetch" ); then
- rv=1
-fi
-if ( echo "$output" | grep -q -i 'This test failed to run properly'); then
- rv=1
-fi
-echo "$output"
-exit $rv
-