diff mbox

[6/7] run-test.sh: Add pressure argument to test execution

Message ID 1375133480-5597-7-git-send-email-john.stultz@linaro.org
State Accepted
Headers show

Commit Message

John Stultz July 29, 2013, 9:31 p.m. UTC
Use the new pressure argument

Signed-off-by: John Stultz <john.stultz@linaro.org>
---
 run-tests.sh | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)
diff mbox

Patch

diff --git a/run-tests.sh b/run-tests.sh
index 4aeedbd..d290c12 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -5,17 +5,18 @@ 
 echo "Current cgroup"
 cat /proc/self/cgroup | grep memory
 
+PRESSURE=3
+
 #Just add your test here, we will figure out how to check the
 #results later on.
-./volatile-test
-./volatile-test
-./volatile-test
-./volatile-test
-./volatile-test
-./volatile-test
+./volatile-test -p $PRESSURE
+./volatile-test -p $PRESSURE
+./volatile-test -p $PRESSURE
+./volatile-test -p $PRESSURE
+./volatile-test -p $PRESSURE
 
-./volatile-test-signal
-./volatile-test-signal
-./volatile-test-signal
-./volatile-test-signal
-./volatile-test-signal
+./volatile-test-signal -p $PRESSURE
+./volatile-test-signal -p $PRESSURE
+./volatile-test-signal -p $PRESSURE
+./volatile-test-signal -p $PRESSURE
+./volatile-test-signal -p $PRESSURE