odp_scheduling_run always exits with code 0 so "make check" will never
report failures.

Signed-off-by: Stuart Haslam <stuart.has...@linaro.org>
---
 test/performance/odp_scheduling_run | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/test/performance/odp_scheduling_run 
b/test/performance/odp_scheduling_run
index 28b0ce5..738963e 100755
--- a/test/performance/odp_scheduling_run
+++ b/test/performance/odp_scheduling_run
@@ -3,13 +3,17 @@
 # Script that passes command line arguments to odp_scheduling test when
 # launched by 'make check'
 
+ret=0
+
 run()
 {
        echo odp_scheduling_run starts with $1 worker threads
        echo ===============================================
 
-       ./odp_scheduling -c $1
+       ./odp_schedling -c $1 || ret=1
 }
 
 run 1
 run 8
+
+exit $ret
-- 
2.1.1


_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to